awpollon / cs685_locobot_blocks

0 stars 0 forks source link

Use PID Controller to help align with block #1

Closed awpollon closed 1 year ago

awpollon commented 1 year ago

Instantiate a new PID controller (either directly or via Locobot Controller) to handle angle velocity when aligning with block. The desired bearing can be calculated using the block's AprilTag. If tuned right, it will allow a fast initial rotation and then slows as the target bearing is reached.

Once settled at bearing, alignment code can confirm and adjust angle if necessary.