Maybe you could provide a snapshot from the run-time visualization to clearly show what the issue is? If I understand it correctly, your axles appear not to be properly attached to the chassis? Do you model this vehicle using a set of concrete C++ classes (as done in the Chrono::Vehicle models library) or through a set of JSON files?
I’m afraid this would be difficult for us to figure out unless you can share your model files. --Radu From: 'JC Denton' via ProjectChrono <[email protected]> Sent: Thursday, 29 December 2022 02:51 To: ProjectChrono <[email protected]> Subject: [chrono] Can't seem to get any collisions 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/c5e3a0b3-2cdb-4bbc-9ec5-4b180a90b62cn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/c5e3a0b3-2cdb-4bbc-9ec5-4b180a90b62cn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/PH0PR06MB82376282C246F99AE8C300A6A7F09%40PH0PR06MB8237.namprd06.prod.outlook.com.
