View Single Post
  #1   Spotlight this post!  
Unread 19-04-2004, 04:35
punarhero's Avatar
punarhero punarhero is offline
Registered User
#0696 (Clark Magnet Robotics)
Team Role: Programmer
 
Join Date: Jan 2002
Location: la crescenta
Posts: 67
punarhero is an unknown quantity at this point
Send a message via AIM to punarhero Send a message via Yahoo to punarhero
Interfacing a PC with last year's Robot Controller

Hi all,
On this project that our team is working on to build a robot for a museum, we have connected a PC onboard with the RC from last year, running PBASIC, through the program port on the RC. Sean from Team 116 wrote a program for us that runs on the computer, which looks for serial data from the RC, and plays a track according. I have the following code:

IF picturedetected THEN
SEROUT 16, N19200, [picnumber]
ENDIF

The program on the computer looks for the pic number and plays a track corressponding to the pic number.

However, it is not working!!! As soon as I start runniing the porgram on the comp, the controller gives me a BasicRunError.
Has anyone ever interfaced a PC with a Robot Controller before. If so, please help us because we are in a serious crunch.
Thanks a lot
__________________
Punar Sikka
Clark Magnet Robotics
Team 696
www.team696.org