Fail to launch navigation.launch.py

Hello,

I am working on the project and I got an error when launching navigation.launch.py in Unit 2 Nav2 Behaviors.

Here is error I got

[rviz2-7] [rospack] Error: package ‘rviz_common’ not found
[rviz2-7] [librospack]: error while executing command
[rviz2-7] [INFO] [1667838836.533171782] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-7] [INFO] [1667838836.533302511] [rviz2]: OpenGl version: 4.5 (GLSL 4.5)
[rviz2-7] [rospack] Error: package ‘rviz_common’ not found
[rviz2-7] [librospack]: error while executing command
[rviz2-7] [rospack] Error: package ‘rviz_common’ not found
[rviz2-7] [librospack]: error while executing command
[rviz2-7] [INFO] [1667838836.615508972] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-7] rviz2: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)’ failed.
[ERROR] [rviz2-7]: process has died [pid 1632, exit code -6, cmd ‘/opt/ros/galactic/lib/rviz2/rviz2 -d /home/user/ros2_ws/install/path_planner_server/share/path_planner_server/rviz_config/pathplanning.rviz --ros-args -r __node:=rviz2_node --params-file /tmp/launch_params_1ivszjap’].
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[lifecycle_manager-8] [INFO] [1667838844.131928974] [rclcpp]: signal_handler(signal_value=2)
[map_server-1] [INFO] [1667838844.131956900] [rclcpp]: signal_handler(signal_value=2)
[lifecycle_manager-8] terminate called after throwing an instance of ‘std::runtime_error’
[lifecycle_manager-8] what(): amcl/change_state service client: interrupted while waiting for service
[map_server-1] [INFO] [1667838844.198394200] [map_server]: Destroying
[ERROR] [lifecycle_manager-8]: process has died [pid 1634, exit code -6, cmd ‘/opt/ros/galactic/lib/nav2_lifecycle_manager/lifecycle_manager --ros-args -r _node:=lifecycle_manager --params-file /tmp/launch_params_gdvfqkio --params-file /tmp/launch_params_5so1nky’].
[INFO] [map_server-1]: process has finished cleanly [pid 1610]

Why is the package rviz_common missing? Can I install it using apt-get? Thanks in advance.

Hello @woomba ,

What unit is this? Is it happening in a specific exercise / section?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.