|
Re: 2004 Dashboard Protocal vs 2005 Dashboard Protocal
* What are the two Configuration bytes?
- The two configuration bytes are IFI proprietary and aren't supposed to be of use to the user, I believe.
* What about the extra bits in CTRL_A and CTRL_C?
- The seonc bits are designed this way, in future years, when the dashboard needs to communicate more data, additional bits can be added to differentiate as the amount of packets becomes larger than 2-bit binary can handle.
* What are the checksums?
-The checksums are IFI proprietary, and they make sure the packets have gone through without any major errors (i.e. incorrect amount of bytes).
* How can you tell an OI packet from an RC packet in code?
-It's impossible to detect a OI from an RC packet normally, as this is mainly a hardware difference (a switch setting), but creatively, we can get around this.
One can set a spare user byte, led byte or unused pwm to a value, lets say, 173, constantly in the robot's code, then check for that number where it should be in the RC packet. If it's there, it's an RC packet, if not, it's an OI packet.
Hope this answers your question,
Kyle
__________________
|