论文部分内容阅读
程序是机器人的“灵魂”,程序可以赋予机器人活力,程序可以让我们随心所欲地控制它。 今天我们就来学习如何用命令控制“太空穿梭机”。通过命令的学习,不仅可以增长我们的智慧,同时还可以赋予机器人以智慧。好了,现在我们就开始介绍LOGO语言的命令。 LOGO语言中有十几条基本命令,很容易掌握。等你学会了这些命令,就可以指挥太空穿梭机做事情了。 用LOGO语言编写程序(在LOGO语言中称为过程)很简单,只要按你的想法先编写流程图,再将语句和命令汇成过程传给太空穿梭机,太空穿梭机就会成为你的战士,听从你的指挥了。
The program is the “soul” of the robot, the program can give the robot energy, and the program lets us control it as often as we want. Today we learn how to command the “space shuttle” command. Learning by command not only increases our intelligence, it also gives the robot wisdom. Well, now we begin to introduce the LOGO language command. LOGO language has a dozen basic commands, it is easy to grasp. When you learn these commands, you can direct the space shuttle to do things. LOGO programming language (LOGO process is called the process) is very simple, as long as you write the flow chart according to your ideas, then the statement and command into the process of space shuttle, space shuttle will be your warrior Listen to your command.