mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fixed CANJaguar percent scaling issue [artf2637]
Percent mode used to be scaled incorrectly in Java because the max output voltage was initialized to a wrong value. Change-Id: If88bb2f1d198e13b1724afc62a522fbf91a14b5b
This commit is contained in:
@@ -1695,7 +1695,7 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
|
||||
LimitMode m_limitMode = LimitMode.SwitchInputsOnly;
|
||||
double m_forwardLimit = 0.0;
|
||||
double m_reverseLimit = 0.0;
|
||||
double m_maxOutputVoltage = 30.0;
|
||||
double m_maxOutputVoltage = kApproxBusVoltage;
|
||||
double m_voltageRampRate = 0.0;
|
||||
float m_faultTime = 0.0f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user