|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DS packets
Does anyone know where I can find the information on the packets the DS sends to the CRIO and vise versa? I need that to code the camera for competition feedback (using C++, but I don't think it matters). I also want to write a Java DS so we don't have to use the physical one always. We have run into some times where a virtual one would be useful. I can code it if I can find the packet statistics.
|
|
#2
|
|||
|
|||
|
Re: DS packets
You can look at this thread for info on the format of DS to Dashboard Packets.
http://www.chiefdelphi.com/forums/sh...46&postcount=3 You can only receive the user data in these packets and they are forwarded from DS to the Dashboard. The DS/cRIO streams are off-limits. You can only interact by stuffing your user data at the cRIO which then will become part of the DS to Dashboard packets. If you want to stream your own camera data you will have to do it within the 984 bytes of user data which is sent every 50 hz. |
|
#3
|
|||
|
|||
|
Re: DS packets
I know. The Virtual DS is for demonstrations and debugging only. No competiton involved.
|
|
#4
|
|||
|
|||
|
Re: DS packets
I have been looking through the C++ data structure coming in in the FRCComm file so i can get an idea of how to send the data. Most of it is easy except when I get to the checksums. I have never worked with them before. I understand how the basic alogrthim works, but I am not sure what they use here. Assuming it is the same for downloading, where in the Hex code do I look. I am guessing the last four bytes sent, but I am not sure. Is this correct? Also, if any one knowns what alograthim they used for checksums, please let me know.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting Packets from the cRio | rfrank | Programming | 2 | 17-01-2009 22:35 |
| data packets | winners | Programming | 2 | 14-09-2006 01:25 |
| T packets? | Jaden | Programming | 3 | 18-02-2006 21:16 |
| Make a queue of packets-Delphi | Zarkon | Programming | 1 | 22-03-2005 08:40 |
| Judges Packets | Design006 | General Forum | 9 | 13-03-2005 15:22 |