Merge "Add method to get Device ID to Can Jaguar (fixes artf3613)"

This commit is contained in:
Brad Miller (WPI)
2014-10-17 13:46:07 -07:00
committed by Gerrit Code Review
3 changed files with 10 additions and 0 deletions

View File

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