Monday, November 11, 2013

Programming

Robot software refers to the coded commands that tell a mechanical device, such as a robot, what tasks to perform. Programming is not extremely hard once you learn how to do it because there are many softwares designed specifically to make programming easier and faster. Robot software can be extremely simple or extremely complicated. Some robots, like the ones we built, are programmed to just pick things up and move around. However, there are some robots that are programmed to act exactly like humans and speak like them. Most robots are programmed to do repetitive jobs or dangerous jobs that humans do not want to do. Most of these jobs are in factories and include building cars, candy bars, and electronics. Some robots are even programmed to explore underwater or even other planets!




















Data flow programming is used by most robot manufacturers. It is based on the concept that when the value of a variable changes, the values of other variables affected should also change. The programming language that includes data flow is called data flow language. Data flow languages include functional concepts as well as numeric processing. Data flow language is modeled as a sequence of functions unlike other programming languages that use imperative programming.

Run-time is an important concept in programming robots. Run-time is when a program is running or executing. It is also used as a short form when referring to a run-time library. A run time library is a library of code instructions used by a computer language to manage a program in that language. Run-time is also used by some people to specify when problems in a program occur. A run time error is an error that happens in the program while it is executing, or running. For example, if the arm of your robot turned left instead of right, this would be a run time error.

When using a robot, you have to know how to program it. Otherwise, the robot will be able to do nothing and it will be useless. You can program robots do anything from hardly anything at all to making cars and roaming around on different planets that we cannot set foot on.

No comments:

Post a Comment