Hi,
i got a OAK-D PPOE (luckily an old one with BMO086). When the camera is put flat on the desk, camera looking up, everything is fine.
Running code from the demo with: imu.enableIMUSensor(dai.IMUSensor.ROTATION_VECTOR, 10)
https://docs.luxonis.com/projects/api/en/latest/samples/IMU/imu_rotation_vector/#imu-rotation-vector
BUT: on my robot the camera is pitched ~100°. I tried to configure the camera pose in the URDF in ROS2, but it looks like it gets into a gimbal lock (a 1-5° motion flips the robot). So i need to either a) tell the camera its pose, or/and b) get the quarternion and rotate it accordingly. But this would be great to get done automatically (gravity down, north…)
My question is: How and where do i configure the global pose of the camera, so that
Z- = Image direction = roll,
Y+ = up (- Gravity) = yaw,
X+ = left = pitch
oh, and another question: is there a marketplace/trading forum, where i can trade my 600€ Oak-d-pro-W POE with a 6-axis IMU against a 9-axis version?
thx,
Walter