Just to give you some ideas on what ROBOTC can do:
1) Take advantage of the NXT's closed-loop feedback system in order to perform algorithms such as PID in order to ensure accurate motor power. (ex. if you set 50% power on a normal "move forward" program, due to friction the motors it won't go exactly 50%, it may be lower. So PID calculates what power level it should be, and adjusts the power level to do so). Great for moving in a straight line as well as other behaviors.
2) Motor Syncing. Along with PID, you can have a "slave" motor go "exactly" the speed of the "master" motor. Great for point turns, moving straight, etc.
3) Math functions such as sin, cos, acos, asin, tan, atan, sqrt... used for trig calculations as seen in:
http://www.robotc.net/archive_curriculu ... gdemo.html
As far as the actual application:
1) Allow for more programs to be loaded onto the NXT because of the much smaller size of the ROBOTC programs.
2) Faster/better response when it comes to line tracking because of the optimized algorithms used to process the sensor port values.
3) ROBOTC Interface doesn't require nearly as much processing power.
There are many more ways that ROBOTC is unique. Since it is syntax-based, it's much easier to read code especially for the programmer who's used to seeing just code or even the learner who doesn't want 8 pages of icon-code.
_________________Vu Nguyen
Software Training Development Team |
WebmasterNeed more support? Use the
ROBOTC Ticketing systemRobotc.net|
Robomatter Store |
Robotics Academy