Skip to content

ROS2 Navigation2 simulate cannot initial pose and Rviz2 will force close #901

@rafaelhuang-intel

Description

@rafaelhuang-intel

Bug report

Required Info:

  • Operating System:
    • Ubuntu 18.04
  • Installation type:
    • source
  • Version or commit hash:
  • DDS implementation:
  • Client library (if applicable):

Steps to reproduce issue

 1. Run simulate command:

termianl 1
$ export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/home/intel/robot_devkit/rdk_ws/Turtlebot3_ws/src/turtlebot3/turtlebot3_simulations/turtlebot3_gazebo/models

$ gazebo --verbose -s libgazebo_ros_init.so /home/intel/Desktop/new_map/turtlebot3_ros2_demo.world

termina 2
$ source /opt/robot_devkit/robot_devkit_setup.bash
$ ros2 launch turtlebot3_bringup turtlebot3_state_publisher.launch.py use_sim_time:=True

terminal 3
$ source /opt/robot_devkit/robot_devkit_setup.bash
$ ros2 launch nav2_bringup nav2_bringup_launch.py use_sim_time:=True autostart:=True map:=/home/intel/Desktop/new_map/map.yaml

terminal 4
$ source /opt/robot_devkit/robot_devkit_setup.bash
$ ros2 run rviz2 rviz2 -d $(ros2 pkg prefix nav2_bringup)/share/nav2_bringup/launch/nav2_default_view.rviz

2. click the "2D Pose Estimate" button in RVIz2

3.  Check robot pose in Rviz2

Expected behavior

robot can set pose to expect position.

Actual behavior

robot can not set pose to expect position and Rviz2 will crash.

Additional information

1
2
3
4
Rviz2_force_close_while_run_navigation2_simulate


Feature request

Feature description

Implementation considerations

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions