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:
Tyler Veness
2016-05-23 20:42:58 -07:00
committed by Peter Johnson
parent e842ff7ad5
commit 9e99df1cf7
29 changed files with 87 additions and 273 deletions

View File

@@ -132,7 +132,7 @@ float CANTalon::Get() const {
* @param outputValue The setpoint value, as described above.
* @see SelectProfileSlot to choose between the two sets of gains.
*/
void CANTalon::Set(float value, uint8_t syncGroup) {
void CANTalon::Set(float value) {
/* feed safety helper since caller just updated our output */
m_safetyHelper->Feed();