AUTHOR(S): Petr Coufal, Tomas Hornik, Stepan Hubalovsky, Michal Musilek
|
TITLE |
ABSTRACT The article is dealing with programming of a KarelNXT robot made from a LEGO construction set. The idea comes from xKarel programming language, which is a traditional programming language utilizing a virtual robot only shown on a screen. The virtual xKarel programming language was extended by its implementation in LEGO Mindstorm NXT-G integrated development environment. Real robots built from LEGO construction sets use additional sensors (compass, color and ultrasonic) which we incorporated in such a way as to make possible building of a robot with equal functions to the robot in xKarel programming language. KarelNXT robot built from LEGO construction set is using the control unit in NXT version. In the article we mention the detailed description of individual robot movement instructions with a description of their meaning and functionality. Finally, we provide a sample program for comparison. |
KEYWORDS Robot, LEGO, Mindstorms NXT, KarelNXT, xKarel, Sensors, Instructions, Programming Languages |
REFERENCES
|
Cite this paper Petr Coufal, Tomas Hornik, Stepan Hubalovsky, Michal Musilek. (2017) Development and Programming of KarelNXT Robot as a Simulation of xKarel Programming Language Including a Sample Program. International Journal of Mathematical and Computational Methods, 2, 327-331 |
|