mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Add a getDeviceNumber method to CANJaguar
[artf3613] Change-Id: Idc01c0d27740bbb575f00de6065a7ced52f787e1
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user