mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Artifact artf3945 : CANTalon : Motor Safety Object never feed
Change-Id: I6894399d0eb7c36ff698639862fa6ad045a70db8
This commit is contained in:
@@ -133,6 +133,8 @@ public class CANTalon implements MotorSafety, PIDOutput, SpeedController {
|
||||
* @param outputValue The setpoint value, as described above.
|
||||
*/
|
||||
public void set(double outputValue) {
|
||||
/* feed safety helper since caller just updated our output */
|
||||
m_safetyHelper.feed();
|
||||
if (m_controlEnabled) {
|
||||
m_setPoint = outputValue;
|
||||
switch (m_controlMode) {
|
||||
|
||||
Reference in New Issue
Block a user