ros-navigation / navigation2

ROS 2 Navigation Framework and System
https://nav2.org/
Other
2.53k stars 1.28k forks source link

BUG:two close right-anlges in global path triggers robot stop #4718

Open cliffe10086 opened 1 week ago

cliffe10086 commented 1 week ago

Bug report

Required Info:

Steps to reproduce issue

export TURTLEBOT3_MODEL=waffle
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/humble/share/turtlebot3_gazebo/models
ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False

then in gazebo ignition, put two walls to filll between tow polls like (.-.-.)
robort is below the wall in the middle , goal is above the wall in the middle.
     G(oal)
.---------.
     R(obort)

Expected behavior

turn tow right-angle corners and arrive

Actual behavior

stop at origin spot

Additional information

录屏 2024年10月10日 10时34分59秒.webm none,my english is poor ,sorry if make troubles

SteveMacenski commented 1 week ago

I don’t understand what you mean. Can you describe this in more detail with some image if necessary?

cliffe10086 commented 1 week ago

I don’t understand what you mean. Can you describe this in more detail with some image if necessary?

i have a video submitted above(.webm).here are two more image.in the first ,when global path has two right-angle corner,robort will stop.in second is a provided gazebo map with two small change(added two walls). 截图 2024-10-11 10-18-17 截图 2024-10-11 10-17-35 when i set a goal behid walls,which will make a global path with two right-angle,as image 3 3 robot will stop at the first corner.as 4 4 but when i break the whole global path into two,one goal at the first corner,one at the final goal.it works well.as 5&6&7 5 6 7 and then i set goal at origine point,it still stop.as 8&9 8 9 i have try to change the parameters in cost map and controller_server yesterday.it makes no use .above situation in images i changed nothing in code and parameters.

SteveMacenski commented 3 days ago

Have you made an attempt to tune the controller? Which are you using and what are its parameters?