The Robot Code Vision Interface subteam needs a method that will return the angle of the robot relative to a horizontal line going across the field (based on the Pigeon IMU sensor). The angle can be in degrees or radians, but to avoid unnecessary conversions, use the same unit as the Pigeon IMU.
The Robot Code Vision Interface subteam needs a method that will return the angle of the robot relative to a horizontal line going across the field (based on the Pigeon IMU sensor). The angle can be in degrees or radians, but to avoid unnecessary conversions, use the same unit as the Pigeon IMU.