We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ca3be commit 84abc58Copy full SHA for 84abc58
components/vision.py
@@ -176,8 +176,8 @@ def visible_tags(self) -> list[VisibleTag]:
176
distance = turret_to_tag.norm()
177
relative_facing = tag.pose.toPose2d().rotation() - turret_to_tag.angle()
178
if (
179
- (relative_bearing - self.min_rotation).radians() >= -self.CAMERA_FOV
180
- and (self.max_rotation - relative_bearing).radians() >= -self.CAMERA_FOV
+ (relative_bearing - self.min_rotation).radians() >= 0.0
+ and (self.max_rotation - relative_bearing).radians() >= 0.0
181
and abs(relative_facing.degrees()) > 100
182
and distance < self.CAMERA_MAX_RANGE
183
):
0 commit comments