I assume we can get the current wheel orientation using
ChWheel::GetState().rot,
which seems to work for the left side of my vehicle, but the right side has
the same orientation as the left side.
I setup the wheels according to their corresponding sides:
m_axles[0]->m_wheels[0] =
chrono_types::make_shared<RangeRoverSport_Wheel>("Wheel_FL", true);
m_axles[0]->m_wheels[1] =
chrono_types::make_shared<RangeRoverSport_Wheel>("Wheel_FR", false);
m_axles[1]->m_wheels[0] =
chrono_types::make_shared<RangeRoverSport_Wheel>("Wheel_RL", true);
m_axles[1]->m_wheels[1] =
chrono_types::make_shared<RangeRoverSport_Wheel>("Wheel_RR", false);
and when I query GetState() the positions and rotations are correct except
for the Rotations on the Right side. Where can I setup the initial
rotation? I figured setting the VehicleSide::RIGHT should do the trick?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/56d16b90-f22c-4ecf-b9f4-4b01f8b98ac9n%40googlegroups.com.