mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Add a getDeviceNumber method to CANJaguar
[artf3613] Change-Id: Idc01c0d27740bbb575f00de6065a7ced52f787e1
This commit is contained in:
@@ -274,6 +274,14 @@ CANJaguar::~CANJaguar()
|
||||
m_safetyHelper = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The CAN ID passed in the constructor
|
||||
*/
|
||||
uint8_t CANJaguar::getDeviceNumber() const
|
||||
{
|
||||
return m_deviceNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the output set-point value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user