Ask Your Question

Revision history [back]

It can be very tricky to visualise and manually create these rotations. The important things to make sure you have clear are which coordinate frame you're defining the rotation in. In the case of Euler angles the frame of some rotations is altered by the angles of other rotations to make it even more complicated.

It's also good to be aware of the ROS coordinate conventions in REP 105, however some external tools use different coordinate conventions causing problems such as yours.

Looking at your image the camera pose appears to require a single 90 degree rotation around the Z axis of the world frame, to move it to the correct location, unless I'm misunderstanding the perspective.