Add a getDeviceNumber method to CANJaguar

[artf3613]

Change-Id: Idc01c0d27740bbb575f00de6065a7ced52f787e1
This commit is contained in:
Thomas Clark
2014-09-24 14:20:47 -04:00
parent 1bcdd301eb
commit a548b14b7e
3 changed files with 18 additions and 0 deletions

View File

@@ -265,6 +265,14 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
configMaxOutputVoltage(kApproxBusVoltage);
}
/**
* @return The CAN ID passed in the constructor
*/
int getDeviceNumber()
{
return m_deviceNumber;
}
/**
* Get the recently set outputValue set point.
*