-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Bug report
Required Info:
- Operating System:
- Ubuntu 22.04
- ROS2 Version:
- humble
- Version or commit hash:
- DDS implementation:
- default
Steps to reproduce issue
launch the navigation2 within defaulted tb3_simulation_launch.py
as following commands
source install/setup.bash
source /opt/ros/humble/setup.bash
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 params_file:=my_nav2_params.yaml
there's only one difference between my_nav2_params.yaml
and defaulted nav2_params.yaml
, (we wrongly set the height of local_costmap as -20), as following:
...
...
local_costmap:
local_costmap:
ros__parameters:
...
...
height: -20
...
...
and then , try to set an /initial_pose in rviz by 2D_estimate_pose
or send a msg into /initial_pose in another terminal
Expected behavior
- process should not crash / at least, it should not make the user's computer unable to continue working
- the memory usage should not be too high
Actual behavior
-
process crashed when launching
specifically, during the startup process of nav2, there may be computer lag, terminal crashes, or even a blue screen
-
abnormal memory usage
we found that nav2_controller process occupies a very large amount of memory (up to 10G, sometimes even exceeding 20G, which is very abnormal), as following:
here's a normal memory usage when we use the defaultednav2_params.yaml
, which is for comparision.
the max memory usage of whole nav2 is below 1G.