FRC125 / VISION16

2 stars 1 forks source link

VISION16

Nutrons Vision 2016 Library (Python)

Sources: OpenCV

diagram

Distance From Target:

Method: getDistance()

Parameters: OrderInitCorners

Returns: Distance from robot to target (feet)

    •OrderInitCorners = Corners of the target in order, starting with top left and continuing clockwiswe

Offset Angle:

Method: getOffsetAngle()

Parameters: OrderInitCorners

Returns: Offset Angle to turn to (degrees)

    •OrderInitCorners = Corners of the target in order, starting with top left and continuing clockwiswe