Run the BasicDrive Service

Before running your BasicDrive service, you need to ensure that the Create robot is configured and connected to your development machine. You can connect the Create through a USB cable or a Bluetooth module. If you have not already done so, refer now to the instructions for configuring a Create robot in Appendix B.

Tip

Tip

If you attempt to execute the service and all you see is a command-line window briefly, but no Windows form, then you need to check the following:

  1. You are running the project from a folder within the MSRS installation folder, such as C:Microsoft Robotics Studio (1.5)SamplesBasicDrive.

  2. The manifest files referenced in the project properties are available in the locations specified.

To run the BasicDrive service from Visual Studio, you need only press Ctrl+F5 to start without debugging or F5 to start with debugging. Either way, you should see a command-line window appear and, within this window, text that indicates the service is being loaded. After the service loads successfully, the Windows form should appear, and you should hear a beep from the robot. At this point, you can move the robot by clicking one of the directional buttons. Use the middle button to stop the robot’s movement. If the robot’s bumper sensor is pressed, a Windows dialog box should appear with the message "The bumper was pressed."

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.193.108