Go to Post 1. If I had a nickel for every time I heard "But we passed at XXXX regional" I would have retired a long time ago. - Al Skierkiewicz [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 11-11-2014, 18:26
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
cRIO UDP Communications Protocol

I am working on a small cross-platform driver station because of how annoying it is to keep switching between Linux and Windows. A lot of my programming happens in Linux and OS X, I have my favorite IDEs, I am a heavy user of the POSIX libraries, and my programs are designed for embedded Linux. Porting is easy, but it takes easily 5-10 minutes, especially because I need to create a new Visual Studio project.

I have not found a really good driver station for Linux so I am working on building one right now.
I am having a couple problems. I found this wiki page on GitHub by Innoying. It is basically a cheat sheet for the protocol. However, I am not understanding some stuff. There is one 64-bit checksum for the cRIO, and 4 32-bit checksums for the FPGA. However, if I understand correctly, this part of the protocol is from the driver station to the cRIO. If that is really the case, what are those values? The computers don't have a built-in cRIO. Is this a hard-coded value in the driver station?

I would love to have this up and running soon, so I can share it with you all. It'll not be legal for competition use, however!

Have fun and Happy Veteran's Day!
  #2   Spotlight this post!  
Unread 12-11-2014, 01:50
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: cRIO UDP Communications Protocol

Quote:
Originally Posted by yash101 View Post
However, I am not understanding some stuff. There is one 64-bit checksum for the cRIO, and 4 32-bit checksums for the FPGA. However, if I understand correctly, this part of the protocol is from the driver station to the cRIO. If that is really the case, what are those values? The computers don't have a built-in cRIO. Is this a hard-coded value in the driver station?
This was a mechanism that allowed the field to ask the robot if its version matched the one sent. The value is simply relayed by the DS. It is not necessary for a DS implementation.

Keep in mind that the protocol is changing significantly for the roboRIO.
  #3   Spotlight this post!  
Unread 12-11-2014, 09:13
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: cRIO UDP Communications Protocol

Quote:
Originally Posted by jhersh View Post
This was a mechanism that allowed the field to ask the robot if its version matched the one sent. The value is simply relayed by the DS. It is not necessary for a DS implementation.

Keep in mind that the protocol is changing significantly for the roboRIO.
Thank you. I anticipated that it would change significantly, but it should at least help me a little bit until next season
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


All times are GMT -5. The time now is 02:43.

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