Go to Post However, in the end, the renderer is only as good as the artist. - MiNT [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #1   Spotlight this post!  
Unread 03-02-2012, 14:56
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
CAN Jaguar losing power temporarily

I have read a thread somewhere that if the motor gets stalled, it could draw down the voltage such that the Jaguar may get reset or power cycled. The thread has a concern that the Jaguar may lose it's configuration (e.g. Encoder lines, mode, coast vs brake etc.) such that the Jag will no longer respond to Set() or does not behave correctly as a result. We haven't hit this but is this a real concern? Because if it is, we will revise our code to anticipate and recover from it. For example, I assume we can call GetPowerCycled() to determine if the Jag has lost power temporarily and can "reinitialize" all the Jag parameters. We can do this before every Set() call.

If this is a real concern, ideally, the CANJaguar module should recover from it automatically. It's a lot easier to do it there (may be for next year?). If we have to do it ourselves, we would define a new CANJag class that will inherit CANJaguar so we can keep track of (shadow) all the Jag parameters. And we will override Set such that we will check for power loss and reconfigure the jag before setting the motor output.
__________________
Reply With Quote
 


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 03:45.

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