RobotComm exports two sets of command functions: immediate and delayed commands. With immediate command functions, the command is sent to the Robot immediately. With delayed command functions, several commands can be grouped together before being sent to the Robot.
For simple tasks, the immediate command functions will be slightly easier to use. However, if you need to send many commands consecutively, the performance of your application may be degraded since each function call will block until the command is sent or a timeout occurs. To avoid such delays, group commands together with the delayed command functions. Note that not all commands can be grouped together. However, the library will still try to send groupable commands together.
Using the Communication Library
To use, include the header file RobotComm.h in your source files. See the
reference section for information on individual functions.