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:
Thomas Clark
2014-07-25 09:59:20 -04:00
parent f958b65ba6
commit 6071fc7fb3

View File

@@ -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;