Go to Post We might not be as good as 217, or the other traditional "powerhouse" teams... but we are better because of them. Jason - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-04-2012, 17:53
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 51
couvillion is an unknown quantity at this point
CAN overhead

What kind of overhead are people seeing when making CAN call?

We used CAN to control our flywheel. mostly for phyiscal wiring reasons, but I was expecting that CAN would be light wieght on the cRIO also, with the encoder work being done on the Jaguar. However simply setting speeds to the motor seemed to bump out CPU usage up by 20% to 25%. Is this just network overhead of the CAN bus, was the code going down error paths that I just didn't notice?

details:
Programming in Labview
CAN connected by RS232
2 Jaguars each with 1 encoder
Jaguars programming set to RPM mode, 1 call to set speeed, 1 call to GetStatus in telop vi
Reply With Quote
  #2   Spotlight this post!  
Unread 17-04-2012, 18:05
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: CAN overhead

Take a look at this thread.
http://chiefdelphi.com/forums/showth...=CAN+bandwidth
__________________
Reply With Quote
Reply


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:47.

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