View Single Post
  #1   Spotlight this post!  
Unread 11-02-2013, 21:02
arithehun arithehun is offline
Registered User
AKA: Ari Falkner
FRC #3024
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Ashland, Oregon
Posts: 27
arithehun is an unknown quantity at this point
CAN Voltage Control

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.

Code:
shootingMotor = new CANJaguar(leftMotorId, CANJaguar.ControlMode.kVoltage);
setVoltageRampRate(0.10);
shootingMotor.setX(12);
Reply With Quote