Controlling irobot create remotely using Dashboard

I have sucessfully controlled my irobot create using the dashboard locally but am having troubles controlling it from another computer over the network. Please tell me what I am doing wrong:

I have the firewall opened on ports 50000 and 50001 on both machines. I have disabled MRS security on both machines.

on the machine connected to the create, I launch the dsshost and start up the irobot.Drive.manifest.xml service from the control panel.

on the remote machine I launch a local dsshost service. I then start up the simple dashboard service and the dashboard pops up. On the dashboard I enter the ip address of my machine connected to the create with port 50000. I hit connect and "irobot/drive/drive" shows up as an option. I double click it but nothing happens. The motor still says off and I cant control the bot.

on the machine connected to the create I am getting error messages in the output that say "Multiple pending commands are not allowed."

any ideas?

[1035 byte] By [vandrem] at [2008-3-1]
# 1
can you try using a hostname for the remote machine? If it does not have a host name, assign it one my editing your windows\system32\drivers\etc\HOSTS file and adding an entry for the remote machine IP address and the host name of your choice.
GeorgeChrysanthakopoulos at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 2
actaully, when I connect to the ip it automatically detects the host name and swithes the address box to the hostname.
vandrem at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 3
Strangely enough, it functions properly when I am using the simulator. Its only when using it on the actual bot that It doesnt function properly.
vandrem at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 4

Hello vandrem.

Does the create respond when you load the dashboard locally? The message you mention "Multiple pending commands are not allowed." happens when the Create is not responding. I would suggest the following.

1. Load the dashboard locally and attempt to control the Create. Does this work?

2. Stop the service, power cycle the iRobot Create, then start your remote scenario again.

3. open a browser on the machine controlling the create and navigate to http://localhost:50000/console/output. Check for errors

Let me know what you find out.


David

DaveLee at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 5

Ok... I have have tested as you have asked:

1. Using the dashboard locally to control the create functions properly and I can drive the robot around.

3. Right before "Multiple pending commands are not allowed" I get the following error (in yellow)

Invalid Response Packet 52 bytes.
Category StdOut
Level Info
Time 2007-05-30T20:50:25.34375-04:00
Subject Invalid Response Packet 52 bytes.
Source http://bmist_umpc1:50000/irobot
CodeSite Int32 AnalyzeBuffer(Byte[], Int32, Int32, System.DateTime, Microsoft.Robotics.Services.IRobot.Roomba.ExecuteIRobotCommand)() at line:0, file

Thanks for you help with this. I do not know what I am doing wrong.

vandrem at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 6
The error message above is on the local machine not the remote machine. There are no error messages displayed on the remote machine
vandrem at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 7

This is a little off topic but it relates to controlling the Roomba from Tutorial4

When I configure the Com port (running it for the first time) I get the following error:

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


XML document must have a top level element. Error processing resource 'res://ieframe.dll/http_400.htm'.

Can anyone point me in the direction to help figure this out?

popov at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...
# 8
i think i saw the issue: YOu need to use the TCP port in simple dashboard, not the HTTP port. Please try using port 50001 to connect to the remote node.
GeorgeChrysanthakopoulos at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...

Microsoft Robotics Studio

Site Classified