How to Enable My Robot to Operate on Narrow Roads in the Simulator? #5640
-
My robot is smaller than a car, so I want to adjust the lane width in the vector map to make it narrower. However, in the simulator, it works fine on wider roads, but on narrower roads, as shown in the attached video, I cannot set goal points. Screencast.from.01-09-2025.04.14.09.PM.webmI tried reducing the scale in the vehicle.xacro file, but it seems to only reduce the visual appearance without actually solving the issue. What approach should I take to make it work on narrower roads? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you did not update the vehicle dimensions in https://github.com/autowarefoundation/sample_vehicle_launch/blob/main/sample_vehicle_description/config/vehicle_info.param.yaml |
Beta Was this translation helpful? Give feedback.
I think you did not update the vehicle dimensions in https://github.com/autowarefoundation/sample_vehicle_launch/blob/main/sample_vehicle_description/config/vehicle_info.param.yaml
The trajectory width should match your vehicle's width if it is properly configured.