Euler angles of Vehicle

51 views
Skip to first unread message

Yasonandan Vadlamudi

unread,
Oct 11, 2023, 4:56:27 AM10/11/23
to ProjectChrono
I am trying to get the vehicle Rotation matrix by using the function GetVehicle().GetRot() and calculating the roll pitch and yaw angles. 

I get Yaw angles ranging  from -180 degrees to +180degrees which i feel is not realistic because yaw angles are only a few degrees in general. 

Can you help if I am doing wrong somewhere?


Regards,
Yaso

Radu Serban

unread,
Oct 11, 2023, 1:33:28 PM10/11/23
to ProjectChrono

Hi Yaso,

 

It may be helpful to tell us what you did exactly.  Anyway, keep in mind that GetRot() returns a quaternion representing the rotation with respect to the global reference frame.

Why would you only expect small yaw angles?! Depending on what maneuver your vehicle is undergoing, that can be anything.

 

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/2ffd981e-153d-48b8-a3df-9b801d23a623n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages