Go to Post Glitter… lots of glitter. - Andrew Schreiber [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 22-02-2012, 14:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Modest request for next Jaguar firmware

Quote:
Originally Posted by Levansic View Post
My team is using LabView, and we haven't found an equivalent for the enable and disable command for individual CAN jaguars. Perhaps there is a terminal on one of the vi's that we missed.
It's built into the Motor enable/disable VIs.

Quote:
Originally Posted by Levansic View Post
If you look at limit switches, for example, there is no way to enable or disable them from LabView. They are explicitly enabled by default, so you do not have to send an explicit command to enable them on the Jaguar. If you use BDC-Comm, you can disable or enable the limit switches. The FIRST Labview libraries take this choice (or responsibility) away from the student programmer, and make the limit switches always functional. No code required.
If there are existing CAN messages that you think should be implemented in the LabVIEW library, you can file a bug report on first forge http://firstforge.wpi.edu/sf/tracker...b_labview_bugs

You can also implement them yourself, using the the documentation that rrossbach pointed you to.

I do think that the choice to switch out of a closed loop mode into an open loop mode when 0 is commanded is better left to the programmer, rather then being built into the jaguar, because I think both options are correct, for different circumstances.

I do think having encoder filtering is something that should be implemented inside the jaguar.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2012, 15:22
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Modest request for next Jaguar firmware

I used the limit switches as an example, because it appears that there was a conscious decision by the WPI implementors to provide a default safe mode.

On the jaguars, I see that there is inconsistent behavior already with regard to the jaguar being commanded to a 0 set point. For example, if you use voltage mode with a ramp rate, and have the brake set by jumper or CAN specification. You can ramp to 100%, and then immediately ramp down to -50% or -100%, but as soon as you command a voltage between ~-10% to 10%, the brake kicks in immediately, with no ramp. A near 0 commanded voltage ignores the ramp rate that is set. Likewise, with the brake set to coast, there is no ramp down to 0, it just free-wheels.

In speed control mode, the jaguar is attempting to control the output, even if commanded to 0. My proposal would at least synchronize the behaviors of these two modes.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-02-2012, 15:28
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Modest request for next Jaguar firmware

Quote:
Originally Posted by Joe Ross View Post
It's built into the Motor enable/disable VIs.
OK. Wasn't aware that those were polymorphic.


Thanks for the link for WPI feedback! Also, thanks to rossbach for the CAN documentation link. We will go through the CAN reference to see what we are missing.
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:48.

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