![list of robotc commands list of robotc commands](https://image.slideserve.com/505982/code-c-o-l-o-r-l.jpg)
![list of robotc commands list of robotc commands](https://i.ytimg.com/vi/aH2bp21FKtc/maxresdefault.jpg)
New License ModelĪs much as we’d like it to, all of these wonderful enhancements and features don’t come for free. The documentation has had a good thorough update and has been rewritten where necessary. I am sure the FTC teams will find these new features very useful. ROBOTC will also warn you if a file was changed on the disk while you were working on it, rather than just overwriting it.
![list of robotc commands list of robotc commands](https://www.vexforum.com/uploads/default/original/1X/dd1d9218f272d79a20a598501cdd417f7f3c96b6.png)
This is especially useful when working on a project with a number of people. You can also instantly reformat your file to make it look uniform (it’s the little magic wand button next to the comment button). In the editor you can now comment and uncomment blocks of code with a press of a button or, better yet, a keyboard shortcut (CTRL-Q). Other Miscellaneous Improvementsīesides all the above enhancements and additions, there are a number of other very cool new features. If you ever needed to move large chunks of data inside an array, you can now use memmove(), which behaves just like its C counterpart. They have added many new string functions and you can now convert your strings to integers and floats using atoi() and atof(). Just be mindful of deadlocks and resource starvation issues. ROBOTC finally has semaphores, so you can now protect your critical pieces of code to make them truly atomic. The developers also added a number of new functions and features to ROBOTC to make it even more powerful than it was before. After all, what’s the use of issuing error if nobody can understand what it means, right? New Language Features Many of the previously cryptic compiler errors have been overhauled and made more informative. It’s this type of feature that makes the time between building, programming and actually having a moving robot shorter and allows you to focus on the fun stuff: completing the programming challenge. This avoids misconfigured motors and sensors but it won’t stop you from connecting the sensors to the wrong port of course! Now the teacher can focus on teaching instead of debugging. There is also a standard robot configuration for the one you drive around in the Robot Virtual World for the NXT (and presumably also for VEX). This is a robot that is also used in the official ROBOTC curriculum. You can also make it preconfigure the motors and sensors for a standard robot, so you don’t need to fiddle with these settings yourself. The sensor and motor configuration dialog has had a total revamp to make selecting the correct sensor easier. RobotType(rembot) // We are using the REMBOT.įorward(50) // Move forward at speed 50.īackward(50) // Move backward at speed 50. Below you can see an example of such a Natural Language program.
![list of robotc commands list of robotc commands](https://i.ytimg.com/vi/6pQibLzJAmg/maxresdefault.jpg)
They have a new API called “Natural Language” which allows you to program your robot with very simple sequential commands, much like an NXT-G program. Making things easierĪs mentioned in a previous post, the folks at the Robotics Academy have been working hard on making ROBOTC more accessible to beginners. Naturally you can’t emulate everything but it’s still very useful. That’s pretty handy if you don’t have a brick handy but you want to try out your program anyway. You can now also chose to run your program on an emulated NXT. The virtual battery packs on these robots also don’t run flat, at least I would hope not. Now all the kids in the classroom can have their own robot and you’ll never lose another LEGO piece or break a sensor again. Just take a look at some of these awesome looking ones. There are many different tables to pick from and many more to come. If you don’t have a robot, never fear! You can now use Robot Virtual Worlds, a completely 3D environment where you can run your simulated robot through a number of obstacles on virtual table tops. I have played with an early Arduino version of ROBOTC several months ago and wrote about it here: and here: Support for Arduino will be added at a later date. There is still support for the Mindstorms NXT, VEX Cortex and PIC. This is a great advantage for educational institutions as there is now no need to keep several pieces of software up to date but just one. Enabling a new platform is as simple as installing and activating the appropriate license. They’ve done a major overhaul of the internal workings of the ROBOTC program and compiler, you no longer need to install multiple versions for each platform you want to program for. After what seems like a dog’s age, a new release of ROBOTC has been, well, released (as is often the case with releases).