Log in

View Full Version : CAN Voltage Control


arithehun
11-02-2013, 21:02
So, I am trying to control a motor using the voltage model so I can set the ramp rate to about a 10 second build-up. However, the output seems to be null. Even the indication light remained a solid yellow. Everything works perfectly over VBus in this configuration.

shootingMotor = new CANJaguar(leftMotorId, CANJaguar.ControlMode.kVoltage);
setVoltageRampRate(0.10);
shootingMotor.setX(12);

arithehun
13-02-2013, 03:33
Bump

notmattlythgoe
13-02-2013, 08:29
Have you tried setting configMaxOutputVoltage(double voltage) ? I wonder if voltage control needs that set.

arithehun
13-02-2013, 09:49
Have you tried setting configMaxOutputVoltage(double voltage) ? I wonder if voltage control needs that set.

I'll try that!

Joe Ross
13-02-2013, 22:13
You need to call enableControl();

arithehun
14-02-2013, 01:14
You need to call enableControl();

Sweet! Thank you so much! I wish they had more documentation. Where would I find things like this?