![]() |
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!
|
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);also you can consider the getOutputCurrent() to return the current it is currently outputting |
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.
|
Re: CANJaguar current mode
Quote:
|
| 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