acmerobotics / road-runner-quickstart

FTC quickstart for https://github.com/acmerobotics/road-runner
BSD 3-Clause Clear License
168 stars 855 forks source link

Auto Correction issue while running a trajectory #366

Open Aaditya-Tiwari opened 4 months ago

Aaditya-Tiwari commented 4 months ago

RR FTC Version

0.1.13

Observed Behavior

Hey Ryan, So our team is having an issue with auto correction during autonomous mode. Basically in the video below when we move the robot forcefully out of position during autonomous, the problem is that it only auto corrects (we use 3 dead wheel odo) at the end of the trajectory, while in the .5.6 version, it auto corrected during the motion of a trajectory. Do you know why this is happening in the newest version or how we can make it so it auto corrects during the trajectory motion like .5.6 ?

https://github.com/acmerobotics/road-runner-quickstart/assets/70180380/a72dbd50-1ad7-46a1-93fe-2f7855bdae92

Tuning Files

No response

Robot Logs

No response

rbrott commented 4 months ago

1.0 has the same feedback scheme as 0.5. The robot definitely corrects after the second kick/disturbance in the middle of the trajectory. Perhaps there's saturation affecting correction after the first kick. A robot log would be great to analyze here.