|
Re: Victor SP toggling from neutral to forward when enabled
Concur it sounds like code. Can you replicate with a very simple new test program which is driving just that victor? Which motor is it (e.g. which PWM output is it hooked up to)? When you swapped PWM output connections did the problem move with the victor or with the PWM output? Can you give us any other details (e.g. does it happen in teleop or autonomous, as soon as you enable or only when a certain button is pressed, etc). Thanks for linking to your code, but without knowing which motor it is it's very difficult to narrow the scope of the code review to find the problem more quickly.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC
2010 FRC World Champions ( 294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
|