Get steering motor rotation angle

35 views
Skip to first unread message

Thorsten Wittenator

unread,
May 20, 2024, 5:58:15 AM5/20/24
to ProjectChrono
Hi all,

I am currently working on simulating an autonomous vehicle in Project Chrono. In order to send the vehicle state back to the system, I need to access wheel speeds and current steering angle. For wheel speeds I got the speed via
m_wheeled_vehicle.GetWheel(0, RIGHT)->GetSpindle()->GetWvel_loc()[1],
, but I don't seem to get a handle on the motor that is attached to the steering subsystem in order to get its state. Is there any way to get this information?

Sincerely,
Thorsten
Reply all
Reply to author
Forward
0 new messages