Trouble using closed loop position control in Autonomous when using DifferentialDrive in Teleop

We have set up our robot with a differential drive in code, which we control in teleop using ArcadeDrive commands.

However, we are trying to use closed loop position control in autononous (REV smart motion), but we keep getting errors about not feeding the Differential Drive (which we only want to use in teleop).

“A timeout has been exceeded: DifferentialDrive… Output not updated often enough.”

How to we get the code to not need updated DifferentialDrive commands when we are using closed loop position control?

you can set safetyEnabled to false on the DifferentialDrive object.

We also found the command ArcadeDrive.FeedWatchdog()

We then laughed about feeding a watchdog a big bowl full of nothing.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.