View Single Post
  #2   Spotlight this post!  
Unread Yesterday, 17:04
faraz5557's Avatar
faraz5557 faraz5557 is offline
BB-R8ER
AKA: Faraz Masroor
FRC #5557 (BB R8ERS)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Miami, FL.
Posts: 21
faraz5557 is an unknown quantity at this point
Re: Joystick doesn't update, motors don't drive until button press

Another team member says:

"We have been looking into changing the settings for the Talon SRX motor controllers (using the CAN bus) and using the various control modes. Now, we changed some setting and when we initially apply the joystick input, there is no output to the wheels. However, when we push the button we programmed to change the different control modes, and switch into the PercentVBus mode, the wheels turn as expected. We have tried changing the control mode for each Talon responsible for the wheelbase in our DriveSubsystem constructor, but had no effect. When outputting the control modes, using the getControlMode() method of the CANTalon object, we get that the mode is "PercentVBus," even when we set it to Speed or Position using the previously mentioned button. We are at a loss at what to do, and have already tried updating the firmware on the Talons, but we still have this issue. While in the end we are able to drive, we'd like to make sure the correct drive mode is engaged from the very beginning."
Reply With Quote