Robotics StackExchange | Archived questions

Rotation by quaternions not the same as shown in the simulation

Hi,

I am simulating and autonomous underwater vehicle. Therefore I try to get the orientation using the quaternions from Gazebo of my model. The problem is that the simulation shows a rotation positive around the z-axis (as desired) whereas the quaternions give back a rotation negative around the z-axis. Does anyone know why this happens?

Best Nils

Asked by NRottmann on 2017-07-03 11:27:56 UTC

Comments

Maybe you could give a more detailed example? What are the quaternions you're receiving, what did you expect, how are you retrieving them, maybe add a picture...?

Asked by chapulina on 2017-07-03 11:31:05 UTC

Hi solved the problem. It was not a problem with Gazebo instead it was a problem with another software.

Asked by NRottmann on 2017-07-04 10:19:11 UTC

Answers