Hi everyone,
Currently, I am researching about the pose graph optimization (gtsam). I want to modify the loss function to add gyroscope into pose graph to limit the roll and pitch angles of vertices in pose graph. The gyroscope only has roll, pitch, yaw information. Could anyone help me check my code? (below)
After I apply the GyroFactor to pose graph, the vertex still has t
he large angle although the roll-pitch -yaw of gyro is 0-0-0 (degree).
Thank you very much. hope to get feedback from everyone

All the best,
Duy Nhat