SachemAftershock / 2019-robot-code

Sachem Aftershock's code for FRC 2019 Destination: Deep Space
3 stars 0 forks source link

Add two yellow lines to the floor tape camera’s video, rumble. #22

Open JimTripi opened 5 years ago

JimTripi commented 5 years ago

These two vertical lines show the swath of pixels that when the centroid of the floor table is within along the x axis, centered about the center horizontal pixel, plus/minus some number of pixels, the robot is considered aligned if-an-only-if the robot gyro azimuth is within a similar band of the target angle of attack. When this is detected, the xbox controller is given a pulse of rumble each second.