|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Controll over Radio?
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?
|
|
#2
|
||||
|
||||
|
Re: Controll over Radio?
Quote:
|
|
#3
|
|||
|
|||
|
Re: Controll over Radio?
How legal is dissassembling the firmware and patching in our own code? That might let us send a bytestream, but is that legal/possible?
|
|
#4
|
|||||
|
|||||
|
Re: Controll over Radio?
Its possible to flash the master processor with your own data structure code however you will be disabled the entire match.
|
|
#5
|
|||
|
|||
|
Re: Controll over Radio?
Why? Is it part of the rules, or is ti just because the code you flash in dosen't enable the robot like the normal firmware does?
|
|
#6
|
|||||
|
|||||
|
Re: Controll over Radio?
You can use PWM outputs and OI LED outputs and user bytes to send stuff out of the dashboard port.
Take a look at the list of bytes that can be read from the Dashboard port, and see which ones you have control over. Jacob |
|
#7
|
|||||
|
|||||
|
Re: Controll over Radio?
Quote:
If all you want to do is get back arbitrary bytes from the robot, the existing data stream gives you six "user bytes" for exactly that purpose. You're still restricted to the predefined transmission rate of ~40 packets per second, which I believe is actually maintained by the OI software -- which you have absolutely no control over. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need 2003 radio/help with old radio | MaxM | Technical Discussion | 2 | 04-01-2004 15:31 |
| Chit-Chat Flood Controll | Joe Matt | CD Forum Support | 1 | 28-04-2003 14:53 |
| Complications/restrictions of vertically mounted controll panels | BOBBEY!!!! | General Forum | 15 | 14-01-2003 22:54 |
| Controll Board/Panel | Ragin_Kage | Technical Discussion | 15 | 01-12-2002 17:44 |
| when is over, over. | archiver | 2001 | 2 | 23-06-2002 23:05 |