I have made a project based closely on the HMMWV using largely the same
parameters. But when simulating, the vehicle's chassis falls through the
floor, and the wheels remain in place. I tried PAC02 tire and Rigid Mesh
tire, as well as Rigid tire without mesh, along with a Rigid Terrain but
nothing seems to collide. Setting the steering input also doesn't seem to
change the orientation of the wheels. Making gravity 0 or positive also has
no effect, chassis still falls through floor.
Inside ChPac02Tire, it indicates each tire is in contact with the surface,
m_data.in_contact = true. The chassis uses a box Primitive for collision,
and it appears to be setup and created the physics colliders for it. Using
NSC System with default settings. The positions all appear correct, with
the vehicle and its wheels originating slightly above the terrain. I
initialize my systems in the following order:
Vehicle ->
Chassis->Steering->Axles->Driveline->Powertrain->Wheels->Tires->RigidTerrain->Driver
I update using
VehicleDriver->Synchronize(Time);
Landscape->Synchronize(Time);
PhysVehicle->Synchronize(Time, DriverInputs, *Landscape->GetTerrain());
VehicleDriver->Advance(PhysicsTimeStep);
Landscape->Advance(PhysicsTimeStep);
PhysVehicle->Advance(PhysicsTimeStep);
Clearly something is very amiss, and feels like my systems are not
communicating with each other although inspecting their components doesn't
reveal anything out of the ordinary. I'm out of ideas at this point. Is
there something I might be missing? Or maybe steps I can take to dig
deeper?
Thanks for your time
--
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/c5e3a0b3-2cdb-4bbc-9ec5-4b180a90b62cn%40googlegroups.com.