![]() |
![]() |
|
Professional
Microsoft Robotics Developer Studio
Remotely controlling a robot, usually via BlueTooth or WiFi, is one of the most common scenarios for MRDS. This chapter discusses two robots in detail: the Parallax Boe-Bot and the LEGO NXT Tribot.
The following applications are included in this Chapter:
In addition, as an example of using multiple robots, there is a Synchronized Dance service. You can see this in operation on YouTube or download the full video (7.9MB WMV file).
The Dance service can be used with any Differential Drive robot. It simply uses timers to try to drive the robot around a square. How closely the pattern resembles a square depends on the timing and the quality of the robot's motors.
The Wander behavior allows the robot to wander around without bumping into obstacles. Because it relies on sensors that are specific to particular robots, there are separate services for the Boe-Bot and the LEGO NXT. This can be generalized, but these services also play tones and flash LEDs which do not have generic contracts in the standard set of MRDS contracts. (See Chapter 17 for more on the Generic Brick contract).
The Parallax code for the Boe-Bot, and the onboard firmware, were updated during the writing of the book to add new features and fix some small bugs. These udpated services are provided with the book code.
This code is available free of charge for non-commercial use. Please see the licence agreement.
The Parallax code was modified with the permission of Parallax.