mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Removed sync group from SpeedController interface (#51)
CANJaguar is the only motor controller using sync groups, so that feature doesn't belong in an interface used by all motor controllers. If teams want to use sync groups, they should cast to the appropriate motor controller type themselves.
This commit is contained in:
committed by
Peter Johnson
parent
e842ff7ad5
commit
9e99df1cf7
@@ -64,7 +64,7 @@ class CANSpeedController : public SpeedController {
|
||||
};
|
||||
|
||||
virtual float Get() const = 0;
|
||||
virtual void Set(float value, uint8_t syncGroup = 0) = 0;
|
||||
virtual void Set(float value) = 0;
|
||||
virtual void StopMotor() = 0;
|
||||
virtual void Disable() = 0;
|
||||
virtual void SetP(double p) = 0;
|
||||
|
||||
Reference in New Issue
Block a user