KentridgeRobotics / 2017Robot-Controls

2017 Robot Control Systems Software
2 stars 1 forks source link

Subsystem: Get the location of the gear target #30

Closed cpdupuis closed 7 years ago

cpdupuis commented 7 years ago

We need a subsystem that the autonomous system can use to find out where the gear target is.

Write a subsystem to use the camera and GripPipeline to extract the information:

  1. Distance to the target
  2. Angle that the robot needs to turn, to bring the target to the center
  3. Angle that the target is facing, compared to the robot. If the robot is lined up perfectly, such that driving towards the target will make it hit the gear lifter rod straight on, this will be 0 degrees. Otherwise, it will be whatever angle the robot would hit the gear lifter rod at.