richardson-area-wide-robotics / infinite-recharge-2020

Source code for 2020 FRC season - Infinite Recharge
0 stars 0 forks source link

While aiming for the loading zone slow down the drive #128

Open kushagharahi opened 4 years ago

kushagharahi commented 4 years ago

In DriveAndLoadingAimCommand class slow down the throttle as the loading zone target gets bigger/closer. Once we lose sight, or the target goes from getting bigger to smaller, make sure we keep the last slow speed. Ensure that when the command ends (e.g. button not held), the drive returns to normal speeds. This is to avoid slamming into the loading zone and partially shutting the hopper. Thus having balls not make it in

(thanks Kyle for the tip)