
There are two options in the “Robot” menu for compiling the program, or you can use the F5 and F7 keys as shortcuts.į7 simply compiles the program.
#ROBOTC GRAPHICAL SOFTWARE#
If, after working with RobotC, you wish to work again with NXT-G (the graphical programming software supplied with your Lego kit), you will need to repeat the same procedure in the NXT-G interface, which will revert to its original firmware. This opens a new window, shown below:įigure 3 : Firmware downloaded on the NXT

To do so, simply go into the “Robot” menu and click on “Download Firmware”. This only needs to be done once and is very easy. As we said earlier, to allow programs created with RobotC to run on the robot, it is best that you replace the firmware (or the robot’s operating system if you prefer) with that of RobotC. Right! Now the introductions are over, let’s get down to business. Before using RobotC to program NXT robots
#ROBOTC GRAPHICAL CODE#
The left-hand bar is used to find the standard code structures, and the error zone at the bottom lists the compiler outputs.ĭuring programming, RobotC runs IntelliSense, which auto-completes terms entered by the programmer for increased efficiency and productivity.įinally, a relatively comprehensive online support is available from the “Help” menu and, lastly, numerous examples of programs are supplied. The RobotC programming interface is conventional enough for anyone familiar with programming environments. The RobotC interface is shown in the following figure:įigure 1 : The RobotC programming interface RobotC therefore provides unlimited programming of the NXT robot.Ī 3D simulation tool compatible with RobotC is currently being developed at Carnegie Mellon University (this tool will be included in the version 3.0 of RobotC). A third-party open-source library is available and includes all the sensors and accessories found on the market. RobotC programs are the fastest when compared to programs created with other programming software.īy default, RobotC supports all the standard Lego sensors.

Moreover, as we shall see below, RobotC installs its own firmware on the robot, firmware that is more efficient than the standard firmware. RobotC can multi-task – it can run up to 10 tasks simultaneously on the robot. RobotC is a complete IDE offering a very practical, highly effective interactive real-time debugger. There is also a version of RobotC for Vex Robotics robots. RobotC is a programming environment used to program Lego Mindstorms NXT robots in C.

Anyone with an interest in robotics has heard of this university, which is the benchmark in the field across the Atlantic. The RobotC robot programming software application was created and is maintained by the prestigious Carnegie Mellon University in the United States. RobotC, the programming environment for Lego NXT robots

One of the features of NXT robots is the large number of sensors and accessories available on the market (the Génération Robots website supplies almost all these robotic sensors). The Lego Mindstorms NXT robot is used in many schools and universities all over the world. The Lego Mindstorms NXT robot is an affordable programmable robotics platform suitable for beginners and the more experienced alike in the field of mobile and programmable robotics. Introduction to programming NXT Robots in C with RobotC
