mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
Fixed spelling error (#1376)
This commit is contained in:
@@ -24,7 +24,7 @@ See the :ref:`Aiming at a Target <docs/examples/aimingatatarget:Knowledge and E
|
|||||||
Range Alignment
|
Range Alignment
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
By looking at the position of the target in the "vertical" direction in the image, and applying some trionometery, the distance between the robot and the camera can be deduced.
|
By looking at the position of the target in the "vertical" direction in the image, and applying some trigonometry, the distance between the robot and the camera can be deduced.
|
||||||
|
|
||||||
1. Read the current distance to the target from the vision coprocessor.
|
1. Read the current distance to the target from the vision coprocessor.
|
||||||
2. If too far in one direction, command the drivetrain to travel in the opposite direction to compensate.
|
2. If too far in one direction, command the drivetrain to travel in the opposite direction to compensate.
|
||||||
|
|||||||
Reference in New Issue
Block a user