View Single Post
  #26   Spotlight this post!  
Unread 26-10-2006, 06:52
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Help with linking OI and RC over Internet....

This is not an ideal solution, but you could get something working fairly quickly using this dashboard framework: http://www.chiefdelphi.com/media/papers/1765

That application includes a UDP packet relay that will forward the incoming data packets from the serial port to another instance of the dashboard running on a separate PC. It allows you to share the data stream over a network. You would have to write a dashboard view control for the laptop on the robot to forward the command to the RC, but since you can define the protocol you can keep it simple.

The system would involve two PCs, the OI, RC, and a wireless network:
1) Laptop1 connected to the OI running the dashboard app configured to forward packets to laptop2.

2) Laptop2 connected to the RC via the programming port running the dashboard app with your custom view to package and send commands to the RC. Laptop2 is set up as UDP listener.

3) Custom code running on the RC to listen for commands on the serial port and update the motor outputs. Robot needs a robust set of collision sensors to disable the robot when it hits something. Also requires a watchdog timer to disable motors if data is not received within a threshold time limit.

4) MSN Messenger running on both laptops with an active videoconference open.