Summary

  • In this chapter, you created a BasicDrive service, which is used to operate the Create by iRobot. The service allows you to drive the robot using directional command buttons. If the robot encounters an obstacle and the bumper is pressed, a Windows dialog box appears with a message stating that the bumper was pressed.

  • When you create a new DSS service using the Visual Studio template, a contract and implementation class are created for you. To build the BasicDrive service, you need to add code to these classes and add a Windows form that includes buttons used to drive the robot.

  • The BasicDrive service uses one operation named MoveHandler to handle all movement requests. This operation will be included in the PortSet, and the message handler ...

Get Programming Microsoft® Robotics Studio now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.