You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
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:
Custom Ground Plane: Introduced with specific friction properties (mu and m2).
ODE Parameters Adjustment: Fine-tuned to find a balance that enables movement.
Following Navigation Tutorials: Implemented guidance from the Navigation2 with GPS tutorial, which successfully enabled movement for smaller models like the Turtlebot but not for the truck in the complex terrain.
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:
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.
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: