Harry – for the demo you did and led to the mp4 movie that you shared, if you have the code handy, can you please drop here or provide a link?
Thank you, Harry!
Dan
---------------------------------------------
Bernard A. and Frances M. Weideman Professor
NVIDIA CUDA Fellow
Department of Mechanical Engineering
Department of Computer Science
University of Wisconsin - Madison
4150ME, 1513 University Avenue
Madison, WI 53706-1572
---------------------------------------------
--
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 visit
https://groups.google.com/d/msgid/projectchrono/7600dd11-a7b8-4e50-9120-9b86e46829c8n%40googlegroups.com.
Chris,
I see no reason reinventing the wheel like Harry suggests given that the PathFollowerDriver already implements these PID controllers (one for lateral control, the other for longitudinal control) and you can adjust all parameters (including setting the appropriate gain to 0 to make it a PD controller).
The reason for the behavior you see is simply because the PID gains must be properly set for the vehicle and type of maneuvers you attempt to implement. I estimated the values we have in our demos a long time ago for a HMMWV-type vehicle. We simply used the same or similar values for other vehicles, with more or less success. Obviously, the dynamics of the M113 vehicle are too different from that of a HMMWV for the same set of controller gains to work similarly well. The demos we provide are for illustration only. It is implied that a user would need to make appropriate adjustments (for example in PID controller gains) when changing the vehicle and/or scenario.
You can get ballpark estimates of the gain values by considering a simple scalar 2nd order ODE mockup model of the vehicle yaw dynamics.
--Radu
From: 'Harry ZHANG' via ProjectChrono <projec...@googlegroups.com>
Sent: Sunday, 24 August 2025 18:53
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] Re: Steering Controller Question
Hi Chris,
--