Controlling Boe bot with MSRS - motors don''t move with dashboard sample

Installed Visual Studio 2005

Installed MSRS 1.5

Built the BoeBot on a Board of Education platform / Stamp2

Installed the BlueTooth adapter - got everything talking

Was able to create the solution by following the tutorial and successfully downloaded to the BoeBot

Opened the Control Panel (very cool)

Opened the Sample Dashboard - set the host and port fields, and got a response

However, the /drivedifferentialtwowheel service is not running and the eyeball control doesn't activate the motors.

Any suggestions on how to debug/fix this?

[1197 byte] By [jghielme] at [2008-1-8]
# 1

Hello!

Once you get the response,

1. Make sure the Boebot is switched on to position 2, which enables the motors.

2. In the dashboard, after you Connect, double click on the differential drive service which shows up in the middle-right list box. This should change the Differential Drive display to the left to say Motor: On.

3. Now select (press down) the [Drive] button

4. Move your joystick or use your mouse on the cross-hairs in the top-left of the dashboard. The robot should move.

If you are still having trouble, try the "iRobot Create Simulation" menu link which was installed when you ran our MSRS setup. You should be able to verify the dashboard procedure with simulation to make sure you are following the right steps in order.

DaveLee at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Hardware Configuration and Troubleshooting...
# 2

Dave,

Thanks for your help. I am new to this and will probably have lots of strange issues until I dial things in.

So, this is where I stand......

Good news:

Boebot is on position 2

Still get correct beeps and lights

Bad News:

Differential Drive Service isn't showing up in middle-right list box

My guess is that the lack of a Differential Drive Service is my problem. Thoughts?

jghielme at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Hardware Configuration and Troubleshooting...
# 3

Dave,

I found a work-around.

Within the Control Panel, I selected "Create" for both the Boe-Bot Generic Drive and the Boe-Bot Generic Motor services.

I then started the Dashboard service and filled in the machine and port fields and pressed the Connect button.

"/bsdrive/drive" showed in the service screen and everything worked.

I would still be interested in what caused the differentialdrive service to not activate automatically if you have any suggestions.

jghielme at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Hardware Configuration and Troubleshooting...
# 4

Yes, that is the solution. The BoeBot Generic Drive service is the one you need.

It looks like the It just depends on which services are started by your manifest. You can view your manifests using the manifest editor (MSRS 1.5) like this:

vpl -m "samples\Config\Parallax.BoeBot.Drive.manifest.xml"

or just start vpl -m by itself to create a new manifest.

David

DaveLee at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Hardware Configuration and Troubleshooting...

Microsoft Robotics Studio

Site Classified