Go to Post Don't test your autonomous on the comp field. There's a practice field for a reason. - DampRobot [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2009, 19:30
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
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   Spotlight this post!  
Unread 07-02-2009, 19:45
writchie writchie is offline
Engineering Mentor
AKA: Wally Ritchie
FRC #2152 (Team Daytona)
Team Role: Coach
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Daytona Beach, Florida
Posts: 148
writchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond repute
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   Spotlight this post!  
Unread 07-02-2009, 20:21
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Re: DS packets

I know. The Virtual DS is for demonstrations and debugging only. No competiton involved.
  #4   Spotlight this post!  
Unread 12-02-2009, 23:12
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi