-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help Needed: Enabling Realistic Movement for Truck Model in Complex Terrain with ODE Physics #3375
Comments
The solution was switch the default complex physics:
for this basic one, based on Prius Repository
However I am still facing an issue, which is the joints of my truck does not let it static, even if I publish a cmd_vel = 0 to emulate a handbrake. It starts falling down on reverse as the video below shows: I am trying to implement a fake anchor, kind of handbrake, to attach the truck to the ground, but not sure if it is going to work. Otherwise I will need to switch the simple ackermman gazeboplugin for a more complex dynamic truck model, which assigns torque, force, power, etc to the truck's whell joints such as Prius Hybrid Plugins |
Hi, I have realized that the gazebo Ackermann plugin just simulates kinematics, which is why my truck is not able to move on inclined terrains with high friction. If someone has developed an Ackermann Dynamic model plugin for Gazebo simulations, which handles with Effort, Torque, Force, Power, please let me know. I guess something similar to Prius control from ROS1 could work: https://github.com/osrf/car_demo/blob/master/car_demo/plugins/PriusHybridPlugin.cc |
Hello Gazebo Team,
I'm currently working on integrating ROS2 with Gazebo to simulate a truck model navigating through a complex terrain environment (specifically, the Sonoma Raceway model). While I've managed to achieve partial success, the truck's movement remains unrealistic compared to expectations, moving either too slowly or becoming completely stuck. I've conducted extensive troubleshooting, including adjusting ODE physics parameters and experimenting with various model configurations, yet the issue persists. My partial solution is described here: Truck-Sonoma interaction Gazebo issue
Environment Details:
ROS2 Version: Iron
Gazebo Version: 11.10.2
Operating System: Ubuntu 22.04
Issue Description:
Automatically inserting the truck model into the environment via a ROS2 launch file leads to significantly restricted movement. This contrasts with manual insertion, where the truck moves more freely, as can be seen in this video: Raceway World: Truck Stucking
Despite modifying the SDF files to adjust friction properties and experimenting with different ODE physics parameters, the truck's movement is either too slow or it becomes stuck when the environment is set up automatically.
Attempts to Resolve:
Current ODE Configuration:
I've found a partial solution that allows for slow movement using direct cmd_vel commands but faces limitations with continuous movement, especially when using a trajectory planner. Here's the current ODE configuration in my world file:
Request for Guidance:
I'm seeking insights into optimizing the ODE physics parameters or any other configurations to enable more realistic and consistent movement for the truck model in complex terrains. My best approaches using cmd_vel and path planner are displayed on videos below, however they are insufficient for a regular move.
Enable move for truck using cmd_vel
Truck stuck using trajectory planner
Any advice on handling such scenarios, especially considering the computational demands of detailed environments, would be greatly appreciated.
Thank you in advance for your time and assistance. Your support is invaluable in overcoming this hurdle and advancing our project.
The text was updated successfully, but these errors were encountered: