Go to Post I'm thinking they subscribe to the thought that "the best offense is a good defense". They are from New England, after all. - Travis Hoffman [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 17-01-2013, 07:22
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 52
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: CAN bus async receive

Quote:
Originally Posted by apalrd View Post
It should just spam the Jaguar with a configuration packet at 20hz and setpoint/speed commands at 100hz
If the cRIO CAN driver buffers messages by node ID, what you describe is possible in user code (the WPILib C++ we have source code for). Isochronous status reporting by the Jaguar needs a firmware update, right?

What I'd like to do is register each C++ CANJaguar object with a background task that listens for hardware resets and user configuration changes, and then keeps the Jaguars in sync with the CANJaguar objects. If it works better to just spam configuration messages that would be easier, but there may be several messages per Jaguar and that will chew up a lot of bandwidth.

Tomorrow I can spend some quality time with a test bench, but I'm still hoping somebody will tell us how the CAN driver works.
 


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 21:40.

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