Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/src/main/java/org/team100/lib/config/Camera.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ public enum Camera {
new Translation3d(0, 0.1, 1),
new Rotation3d(0, 0, 0))),

DEV("364f07fb090a3bf7",
new Transform3d(
new Translation3d(0.174, -0.29, 0.155+.24),
new Rotation3d(0.04, 0.17, 0.36).unaryMinus())),

TEST6("test6",
new Transform3d(
new Translation3d(0.198, 0.284, 0.811),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* past (and replays up to the present).
*/
public class AprilTagRobotLocalizer extends CameraReader<Blip24> {
private static final boolean DEBUG = false;
private static final boolean DEBUG = true;

/** Maximum age of the sights we publish for diagnosis. */
private static final double HISTORY_DURATION = 1.0;
Expand Down
3 changes: 2 additions & 1 deletion raspberry_pi/app/camera/interpreter_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ def get(
| Identity.FUNNEL
| Identity.DIST_TEST
| Identity.JOELS_TEST
|Identity.DEV
):
display = RealDisplay(
int(scale * size.width),
int(scale * size.height),
"tag" + str(camera_num),
)
return TagDetector(identity, cam, camera_num, display, network)
case (Identity.DEV|Identity.DEV2|Identity.CORAL_RIGHT| Identity.CORAL_LEFT):
case (Identity.DEV2|Identity.CORAL_RIGHT| Identity.CORAL_LEFT):
display = RealDisplay(
int(scale * size.width),
int(scale * size.height),
Expand Down