View Single Post
  #6   Spotlight this post!  
Unread 16-01-2007, 19:47
Noah Kleinberg Noah Kleinberg is offline
Registered User
FRC #0395 (2TrainRobotics)
Team Role: Driver
 
Join Date: Jan 2006
Rookie Year: 2006
Location: New York
Posts: 196
Noah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to beholdNoah Kleinberg is a splendid one to behold
Send a message via AIM to Noah Kleinberg
Re: Controll over Radio?

Quote:
Originally Posted by interfect View Post
Sorry. I guess I didn't make myself clear. Basically, what we want to do is transmit arbitrary bytes from the robot, through the radio link, and out the dashboard port. However, we want to do it on an interrupt basis rather than a loop basis, or as close to an interrupt basis as possible (maybe from the fast user code?). Are the packets sent to the OI constructed by the master uP? Can we hack it to send our own byte stream? If we add stuff to the txdata typedef, tx_data_record, can we trick the master uP into sending it? Or would it just balk? What feilds of that structure are "safe" to set to send arbitrary data? If we made our own structure of the same size, what bytes could we use?
I'm pretty sure that just changing txdata wouldn't do anything, and it's not a good idea to do this for competition purposes anyway. There are a few "user bytes" whose values are sent to the dashboard, which you could use to communicate with it, or you could store values in unused pwm outputs, which are also sent to the dashboard.