Add config for 2910vision: Don't merge until we tag main for bearcudb - #79
Add config for 2910vision: Don't merge until we tag main for bearcudb#79cgpadwick wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Any reason the rotation isn't the identity matrix? I'm not too familiar with this math but figured it should probably be [1,0,0]
[0,1,0]
[0,0,1]
right?
There was a problem hiding this comment.
if it was the identity matrix then the apriltag would be in camera coordinates instead of robot coords. I go through it in this doc: https://github.com/Team766/apriltags_cuda/blob/main/doc/rotations.pdf but the short answer is rotating by 0 degrees around Z, -90 around Y and 90 degrees around X converts from camera coords to robot coords for a front facing camera with no rotation. That is to say that after the rotation the Z axis of the camera is aligned with the X axis of the robot, and the Y axis of the camera is aligned with -Z on the robot.
There was a problem hiding this comment.
we do need to check the orientation on the robot, and basically figure out which way +X points. I assume that the front of the robot will be towards the intake, but we need to check. It was actually backwards from the CAD on bearcudb!
There was a problem hiding this comment.
Should probably keep the frame rate here relatively low as only one camera is going to be used. Do you think 12fps is okay?
There was a problem hiding this comment.
this will be about 10 fps as it is now. I changed it from 2 which seemed quite low to me.
No description provided.