mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Merge "Add method to get Device ID to Can Jaguar (fixes artf3613)"
This commit is contained in:
@@ -2103,6 +2103,10 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
|
||||
public String getDescription() {
|
||||
return "CANJaguar ID "+m_deviceNumber;
|
||||
}
|
||||
|
||||
public int getDeviceID() {
|
||||
return (int)m_deviceNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* Common interface for stopping a motor.
|
||||
|
||||
Reference in New Issue
Block a user