Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   CANJaguar current mode (http://www.chiefdelphi.com/forums/showthread.php?t=91524)

Spectare 11-02-2011 17:59

CANJaguar current mode
 
I am on the IgKnighters Team at McQuaid, I am trying to program some small BaneBot DC motors, but I cannot find a way to set the maximum current draw of a CANJaguar so as to not burn out the motor. I can find voltage, but not current. I have tried changeControlMode(CANJaguar.ControlMode.kCurrent), but I am at a loss as for what to do after that. Can Anyone help with this? Thanks in advance!

drakesword 11-02-2011 23:02

Re: CANJaguar current mode
 
if you use the current control mode then what you set with the set method is the current outputted to the motor.

for example

Code:

jag.set(10);
Would set the jag to output ~10 amps.

also you can consider the getOutputCurrent() to return the current it is currently outputting

Joe Ross 12-02-2011 10:42

Re: CANJaguar current mode
 
There is no built in way in the jaguar to limit current while using one of the closed loop control methods. However, Ether wrote a white paper called CAN Jaguar Speed or Current Control with Current Limit or Thermal Cutoff which shows an algorithm for doing this on the cRIO.

Spectare 14-02-2011 16:05

Re: CANJaguar current mode
 
Quote:

Originally Posted by Joe Ross (Post 1021213)
There is no built in way in the jaguar to limit current while using one of the closed loop control methods. However, Ether wrote a white paper called CAN Jaguar Speed or Current Control with Current Limit or Thermal Cutoff which shows an algorithm for doing this on the cRIO.

Thanks, I actually found out that a CANJaguar will not supply more current(or voltage) than is supported by the motor, so :rolleyes:. But thanks anyway for the reply.


All times are GMT -5. The time now is 11:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi