Falcon Drive Base Code Causing Lag – Reason Unkown

This is the 3rd season now that our team has been using a 4 falcon West Coast Drive base, and each season we’ve had issues with lag and responsiveness with the falcon’s. We are unsure of what causes it however, as there are no packet losses. Has any other team had this issue and if so how did you fix it? Thanks! Attached below are screenshots of the code that handles the driving:

Arcade drive command:

Arcade Drive Class in the DriveSubsystem:


The Drive Subsystem:

Setting an open loop ramp of 1 second means there will be 1 second of lag to get to full speed.

1 Like

would this also cause the lag when changing directions?

yes

Thanks! I will test it out when I get back into the lab tommorow

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