Slam 하기 – navigation 에서 노드실행하기 오류

위 링크를 따라서 SLAM 하기 – NAVIGATION 를 실행하는데 Terminal_2에서 아래 실행 후 아래와 같이 오류가 납니다.

r1mini@ros2:~$ ros2 launch omo_r1mini_navigation2 navigation2.launch.py map:=map3.yaml

[INFO] [launch]: All log files can be found below /home/r1mini/.ros/log/2022-03-20-23-48-48-961181-ros2-11497
[INFO] [launch]: Default logging verbosity is set to INFO
Task exception was never retrieved
future: <Task finished name=‘Task-2’ coro=<LaunchService._process_one_event() done, defined at /opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py:226> exception=InvalidLaunchFileError(‘py’)>
Traceback (most recent call last):
File “/opt/ros/foxy/lib/python3.8/site-packages/ament_index_python/packages.py”, line 50, in get_package_prefix
content, package_prefix = get_resource(‘packages’, package_name)
File “/opt/ros/foxy/lib/python3.8/site-packages/ament_index_python/resources.py”, line 48, in get_resource
raise LookupError(
LookupError: Could not find the resource ‘nav2_bringup’ of type ‘packages’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/any_launch_file_utilities.py”, line 53, in get_launch_description_from_any_launch_file
return loader(launch_file_path)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/python_launch_file_utilities.py”, line 68, in get_launch_description_from_python_launch_file
return getattr(launch_file_module, ‘generate_launch_description’)()
File “/home/r1mini/ros2_ws/install/omo_r1mini_navigation2/share/omo_r1mini_navigation2/launch/navigation2.launch.py”, line 47, in generate_launch_description
nav2_launch_file_dir = os.path.join(get_package_share_directory(‘nav2_bringup’), ‘launch’)
File “/opt/ros/foxy/lib/python3.8/site-packages/ament_index_python/packages.py”, line 70, in get_package_share_directory
return os.path.join(get_package_prefix(package_name), ‘share’, package_name)
File “/opt/ros/foxy/lib/python3.8/site-packages/ament_index_python/packages.py”, line 52, in get_package_prefix
raise PackageNotFoundError(
ament_index_python.packages.PackageNotFoundError: “package ‘nav2_bringup’ not found, searching: [’/home/r1mini/ros2_ws/install/ydlidar_ros2_driver’, ‘/home/r1mini/ros2_ws/install/omo_r1mini’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_teleop’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_navigation2’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_gazebo’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_bringup’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_description’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_cartographer’, ‘/opt/ros/foxy’]”

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py”, line 228, in _process_one_event
await self.__process_event(next_event)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py”, line 248, in __process_event
visit_all_entities_and_collect_futures(entity, self.__context))
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py”, line 45, in visit_all_entities_and_collect_futures
futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py”, line 45, in visit_all_entities_and_collect_futures
futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py”, line 38, in visit_all_entities_and_collect_futures
sub_entities = entity.visit(context)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/action.py”, line 108, in visit
return self.execute(context)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/include_launch_description.py”, line 130, in execute
launch_description = self.__launch_description_source.get_launch_description(context)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_source.py”, line 84, in get_launch_description
self._get_launch_description(self.__expanded_location)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/any_launch_description_source.py”, line 53, in _get_launch_description
return get_launch_description_from_any_launch_file(location)
File “/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/any_launch_file_utilities.py”, line 56, in get_launch_description_from_any_launch_file
raise InvalidLaunchFileError(extension, likely_errors=exceptions)
launch.invalid_launch_file_error.InvalidLaunchFileError: Caught exception when trying to load file of format [py]: “package ‘nav2_bringup’ not found, searching: [’/home/r1mini/ros2_ws/install/ydlidar_ros2_driver’, ‘/home/r1mini/ros2_ws/install/omo_r1mini’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_teleop’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_navigation2’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_gazebo’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_bringup’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_description’, ‘/home/r1mini/ros2_ws/install/omo_r1mini_cartographer’, ‘/opt/ros/foxy’]”

혹시 map3.yaml 파일이 어느 경로에 있나요?
절대경로로 지정해주어도 마찬가지 현상이 나타나는지 확인 바랍니다.
예를들어 home 폴더에 있는경우
$HOME/map3.yaml 으로 지정해주세요.

r1mini@ros2:~/ros2_ws$ ros2 launch omo_r1mini_navigation2 navigation2.launch.py map:=$HOME/ros2_ws/map3.yaml

위와 같이 home/ros2_ws 폴더 밑에 map3.yaml 파일이 있습니다.

map3.yaml 을 home directory 밑에 넣고, map:=$HOME/map3.yaml 으로 명령해도 같은 오류가 나타납니다.

https://index.ros.org/p/nav2_bringup/
위를 참고해서 sudo apt install ros-<ros2_distro>-nav2-bringup 을 설치하니 위 오류는 해결되었습니다.
그런데 다른 에러가 납니다.

위 오류 내용:

r1mini@ros2:~/ros2_ws$ ros2 launch omo_r1mini_navigation2 navigation2.launch.py map:=map6.yaml
[INFO] [launch]: All log files can be found below /home/r1mini/.ros/log/2022-03-27-10-11-37-958807-ros2-15337
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [map_server-1]: process started with pid [15339]
[INFO] [amcl-2]: process started with pid [15341]
[INFO] [lifecycle_manager-3]: process started with pid [15343]
[INFO] [controller_server-4]: process started with pid [15345]
[INFO] [planner_server-5]: process started with pid [15347]
[INFO] [recoveries_server-6]: process started with pid [15349]
[INFO] [bt_navigator-7]: process started with pid [15351]
[INFO] [waypoint_follower-8]: process started with pid [15361]
[INFO] [lifecycle_manager-9]: process started with pid [15364]
[controller_server-4] [INFO] [1648343500.745109551] [controller_server]:
[controller_server-4] controller_server lifecycle node launched.
[controller_server-4] Waiting on external lifecycle transitions to activate
[controller_server-4] See Managed nodes for more information.
[controller_server-4] [INFO] [1648343500.762929579] [controller_server]: Creating controller server
[controller_server-4] [INFO] [1648343500.828169520] [local_costmap.local_costmap]:
[controller_server-4] local_costmap lifecycle node launched.
[controller_server-4] Waiting on external lifecycle transitions to activate
[controller_server-4] See Managed nodes for more information.
[controller_server-4] [INFO] [1648343500.830848240] [local_costmap.local_costmap]: Creating Costmap
[lifecycle_manager-3] [INFO] [1648343501.261687107] [lifecycle_manager_localization]: Creating
[lifecycle_manager-9] [INFO] [1648343501.764034788] [lifecycle_manager_navigation]: Creating
[amcl-2] [INFO] [1648343501.774722794] [amcl]:
[amcl-2] amcl lifecycle node launched.
[amcl-2] Waiting on external lifecycle transitions to activate
[amcl-2] See Managed nodes for more information.
[amcl-2] [INFO] [1648343501.786869070] [amcl]: Creating
[lifecycle_manager-3] [INFO] [1648343501.866456077] [lifecycle_manager_localization]: Creating and initializing lifecycle service clients
[planner_server-5] [INFO] [1648343501.949246871] [planner_server]:
[planner_server-5] planner_server lifecycle node launched.
[planner_server-5] Waiting on external lifecycle transitions to activate
[planner_server-5] See Managed nodes for more information.
[planner_server-5] [INFO] [1648343501.955583870] [planner_server]: Creating
[planner_server-5] [INFO] [1648343502.014082061] [global_costmap.global_costmap]:
[planner_server-5] global_costmap lifecycle node launched.
[planner_server-5] Waiting on external lifecycle transitions to activate
[planner_server-5] See Managed nodes for more information.
[planner_server-5] [INFO] [1648343502.016752656] [global_costmap.global_costmap]: Creating Costmap
[lifecycle_manager-3] [INFO] [1648343502.086136775] [lifecycle_manager_localization]: Starting managed nodes bringup…
[lifecycle_manager-3] [INFO] [1648343502.086559807] [lifecycle_manager_localization]: Configuring map_server
[map_server-1] [INFO] [1648343502.330504879] [map_server]:
[map_server-1] map_server lifecycle node launched.
[map_server-1] Waiting on external lifecycle transitions to activate
[map_server-1] See Managed nodes for more information.
[map_server-1] [INFO] [1648343502.338208322] [map_server]: Creating
[waypoint_follower-8] [INFO] [1648343502.410569139] [waypoint_follower]:
[waypoint_follower-8] waypoint_follower lifecycle node launched.
[waypoint_follower-8] Waiting on external lifecycle transitions to activate
[waypoint_follower-8] See Managed nodes for more information.
[waypoint_follower-8] [INFO] [1648343502.418102213] [waypoint_follower]: Creating
[lifecycle_manager-9] [INFO] [1648343502.444049394] [lifecycle_manager_navigation]: Creating and initializing lifecycle service clients
[bt_navigator-7] [INFO] [1648343502.457979521] [bt_navigator]:
[bt_navigator-7] bt_navigator lifecycle node launched.
[bt_navigator-7] Waiting on external lifecycle transitions to activate
[bt_navigator-7] See Managed nodes for more information.
[bt_navigator-7] [INFO] [1648343502.480669423] [bt_navigator]: Creating
[recoveries_server-6] [INFO] [1648343502.763895849] [recoveries_server]:
[recoveries_server-6] recoveries_server lifecycle node launched.
[recoveries_server-6] Waiting on external lifecycle transitions to activate
[recoveries_server-6] See Managed nodes for more information.
[map_server-1] [INFO] [1648343502.855979506] [map_server]: Configuring
[map_server-1] [INFO] [map_io]: Loading yaml file: map6.yaml
[map_server-1] [DEBUG] [map_io]: resolution: 0.05
[map_server-1] [DEBUG] [map_io]: origin[0]: -2.15
[map_server-1] [DEBUG] [map_io]: origin[1]: -2.71
[map_server-1] [DEBUG] [map_io]: origin[2]: 0
[map_server-1] [DEBUG] [map_io]: free_thresh: 0.25
[map_server-1] [DEBUG] [map_io]: occupied_thresh: 0.65
[map_server-1] [DEBUG] [map_io]: mode: trinary
[map_server-1] [DEBUG] [map_io]: negate: 0
[map_server-1] [INFO] [map_io]: Loading image_file: ./map6.pgm
[lifecycle_manager-9] [INFO] [1648343502.901423948] [lifecycle_manager_navigation]: Starting managed nodes bringup…
[lifecycle_manager-9] [INFO] [1648343502.901761092] [lifecycle_manager_navigation]: Configuring controller_server
[map_server-1] [DEBUG] [map_io]: Read map ./map6.pgm: 182 X 97 map @ 0.05 m/cell
[lifecycle_manager-3] [INFO] [1648343503.018158603] [lifecycle_manager_localization]: Configuring amcl
[amcl-2] [INFO] [1648343503.020805396] [amcl]: Configuring
[amcl-2] [INFO] [1648343503.021425152] [amcl]: initTransforms
[amcl-2] [INFO] [1648343503.171277709] [amcl]: initPubSub
[amcl-2] [INFO] [1648343503.327042045] [amcl]: Subscribed to map topic.
[controller_server-4] [INFO] [1648343503.350901355] [controller_server]: Configuring controller interface
[controller_server-4] [INFO] [1648343503.351698252] [controller_server]: Controller frequency set to 20.0000Hz
[controller_server-4] [INFO] [1648343503.351868569] [local_costmap.local_costmap]: Configuring
[lifecycle_manager-3] [INFO] [1648343503.422827732] [lifecycle_manager_localization]: Activating map_server
[map_server-1] [INFO] [1648343503.427888498] [map_server]: Activating
[lifecycle_manager-3] [INFO] [1648343503.435954503] [lifecycle_manager_localization]: Activating amcl
[amcl-2] [INFO] [1648343503.443169861] [amcl]: Received a 182 X 97 map @ 0.050 m/pix
[amcl-2] [INFO] [1648343503.451672337] [amcl]: Activating
[amcl-2] [WARN] [1648343503.452150371] [amcl]: Publishing the particle cloud as geometry_msgs/PoseArray msg is deprecated, will be published as nav2_msgs/ParticleCloud in the future
[lifecycle_manager-3] [INFO] [1648343503.466580877] [lifecycle_manager_localization]: Managed nodes are active
[controller_server-4] [INFO] [1648343503.482048443] [local_costmap.local_costmap]: Using plugin “obstacle_layer”
[controller_server-4] [INFO] [1648343503.522990572] [local_costmap.local_costmap]: Subscribed to Topics: scan
[amcl-2] [INFO] [1648343503.567802132] [amcl]: createLaserObject
[controller_server-4] [INFO] [1648343503.579199012] [local_costmap.local_costmap]: Initialized plugin “obstacle_layer”
[controller_server-4] [INFO] [1648343503.579481728] [local_costmap.local_costmap]: Using plugin “voxel_layer”
[controller_server-4] [INFO] [1648343503.580274719] [local_costmap.local_costmap]: Subscribed to Topics: pointcloud
[controller_server-4] [INFO] [1648343503.651061064] [local_costmap.local_costmap]: Initialized plugin “voxel_layer”
[controller_server-4] [INFO] [1648343503.651314196] [local_costmap.local_costmap]: Using plugin “inflation_layer”
[controller_server-4] [INFO] [1648343503.660967538] [local_costmap.local_costmap]: Initialized plugin “inflation_layer”
[controller_server-4] [INFO] [1648343503.794479535] [controller_server]: Created progress_checker : progress_checker of type nav2_controller::SimpleProgressChecker
[controller_server-4] [INFO] [1648343503.805192386] [controller_server]: Created goal_checker : goal_checker of type nav2_controller::SimpleGoalChecker
[controller_server-4] [INFO] [1648343503.822758291] [controller_server]: Created controller : FollowPath of type dwb_core::DWBLocalPlanner
[controller_server-4] [INFO] [1648343503.830454547] [controller_server]: Setting transform_tolerance to 0.100000
[controller_server-4] [INFO] [1648343504.127991214] [controller_server]: Using critic “RotateToGoal” (dwb_critics::RotateToGoalCritic)
[controller_server-4] [INFO] [1648343504.155318225] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.167548305] [controller_server]: Using critic “Oscillation” (dwb_critics::OscillationCritic)
[controller_server-4] [INFO] [1648343504.193443141] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.199172519] [controller_server]: Using critic “BaseObstacle” (dwb_critics::BaseObstacleCritic)
[controller_server-4] [INFO] [1648343504.211390671] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.216878376] [controller_server]: Using critic “GoalAlign” (dwb_critics::GoalAlignCritic)
[controller_server-4] [INFO] [1648343504.217949135] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.218398314] [controller_server]: Using critic “PathAlign” (dwb_critics::PathAlignCritic)
[controller_server-4] [INFO] [1648343504.218923225] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.227435024] [controller_server]: Using critic “PathDist” (dwb_critics::PathDistCritic)
[controller_server-4] [INFO] [1648343504.228164628] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.228520263] [controller_server]: Using critic “GoalDist” (dwb_critics::GoalDistCritic)
[controller_server-4] [INFO] [1648343504.228972202] [controller_server]: Critic plugin initialized
[controller_server-4] [INFO] [1648343504.246701811] [controller_server]: Controller Server has FollowPath controllers available.
[lifecycle_manager-9] [INFO] [1648343504.352243446] [lifecycle_manager_navigation]: Configuring planner_server
[planner_server-5] [INFO] [1648343504.355065087] [planner_server]: Configuring
[planner_server-5] [INFO] [1648343504.355310875] [global_costmap.global_costmap]: Configuring
[planner_server-5] [INFO] [1648343504.437930050] [global_costmap.global_costmap]: Using plugin “static_layer”
[planner_server-5] [INFO] [1648343504.486389889] [global_costmap.global_costmap]: Subscribing to the map topic (/map) with transient local durability
[planner_server-5] [INFO] [1648343504.511008178] [global_costmap.global_costmap]: Initialized plugin “static_layer”
[planner_server-5] [INFO] [1648343504.516302336] [global_costmap.global_costmap]: Using plugin “obstacle_layer”
[planner_server-5] [INFO] [1648343504.519267106] [global_costmap.global_costmap]: Subscribed to Topics: scan
[planner_server-5] [INFO] [1648343504.556182196] [global_costmap.global_costmap]: Initialized plugin “obstacle_layer”
[planner_server-5] [INFO] [1648343504.556483038] [global_costmap.global_costmap]: Using plugin “voxel_layer”
[planner_server-5] [INFO] [1648343504.557260715] [global_costmap.global_costmap]: Subscribed to Topics: pointcloud
[planner_server-5] [INFO] [1648343504.560869514] [global_costmap.global_costmap]: StaticLayer: Resizing costmap to 182 X 97 at 0.050000 m/pix
[planner_server-5] [INFO] [1648343504.628498792] [global_costmap.global_costmap]: Initialized plugin “voxel_layer”
[planner_server-5] [INFO] [1648343504.634456250] [global_costmap.global_costmap]: Using plugin “inflation_layer”
[planner_server-5] [INFO] [1648343504.655219432] [global_costmap.global_costmap]: Initialized plugin “inflation_layer”
[planner_server-5] [INFO] [1648343504.796026424] [planner_server]: Created global planner plugin GridBased of type nav2_navfn_planner/NavfnPlanner
[planner_server-5] [INFO] [1648343504.796368361] [planner_server]: Configuring plugin GridBased of type NavfnPlanner
[planner_server-5] [INFO] [1648343504.918110968] [planner_server]: Planner Server has GridBased planners available.
[lifecycle_manager-9] [INFO] [1648343505.015307788] [lifecycle_manager_navigation]: Configuring recoveries_server
[recoveries_server-6] [INFO] [1648343505.023866672] [recoveries_server]: Configuring
[amcl-2] [WARN] [1648343505.034180032] [amcl]: ACML cannot publish a pose or update the transform. Please set the initial pose…
[recoveries_server-6] [INFO] [1648343505.121884922] [recoveries_server]: Creating recovery plugin spin of type nav2_recoveries/Spin
[recoveries_server-6] [INFO] [1648343505.142854047] [recoveries_server]: Configuring spin
[recoveries_server-6] [INFO] [1648343505.237952423] [recoveries_server]: Creating recovery plugin backup of type nav2_recoveries/BackUp
[recoveries_server-6] [INFO] [1648343505.250829240] [recoveries_server]: Configuring backup
[recoveries_server-6] [INFO] [1648343505.327516114] [recoveries_server]: Creating recovery plugin wait of type nav2_recoveries/Wait
[recoveries_server-6] [INFO] [1648343505.335162108] [recoveries_server]: Configuring wait
[lifecycle_manager-9] [INFO] [1648343505.419648627] [lifecycle_manager_navigation]: Configuring bt_navigator
[bt_navigator-7] [INFO] [1648343505.421972337] [bt_navigator]: Configuring
[bt_navigator-7] [INFO] [1648343505.853380492] [bt_navigator_rclcpp_node]: Waiting for “compute_path_to_pose” action server
[bt_navigator-7] [INFO] [1648343505.855879988] [bt_navigator_rclcpp_node]: “ComputePathToPose” BtActionNode initialized
[bt_navigator-7] [INFO] [1648343505.879307984] [bt_navigator_rclcpp_node]: Waiting for “global_costmap/clear_entirely_global_costmap” service
[bt_navigator-7] [INFO] [1648343505.880254417] [bt_navigator_rclcpp_node]: “ClearGlobalCostmap-Context” BtServiceNode initialized
[bt_navigator-7] [INFO] [1648343505.951659113] [bt_navigator_rclcpp_node]: Waiting for “follow_path” action server
[bt_navigator-7] [INFO] [1648343505.953135664] [bt_navigator_rclcpp_node]: “FollowPath” BtActionNode initialized
[bt_navigator-7] [INFO] [1648343505.973659725] [bt_navigator_rclcpp_node]: Waiting for “local_costmap/clear_entirely_local_costmap” service
[bt_navigator-7] [INFO] [1648343505.974696785] [bt_navigator_rclcpp_node]: “ClearLocalCostmap-Context” BtServiceNode initialized
[bt_navigator-7] [INFO] [1648343505.993189227] [bt_navigator_rclcpp_node]: Waiting for “local_costmap/clear_entirely_local_costmap” service
[bt_navigator-7] [INFO] [1648343505.994481503] [bt_navigator_rclcpp_node]: “ClearLocalCostmap-Subtree” BtServiceNode initialized
[bt_navigator-7] [INFO] [1648343506.010737476] [bt_navigator_rclcpp_node]: Waiting for “global_costmap/clear_entirely_global_costmap” service
[bt_navigator-7] [INFO] [1648343506.011732920] [bt_navigator_rclcpp_node]: “ClearGlobalCostmap-Subtree” BtServiceNode initialized
[bt_navigator-7] [INFO] [1648343506.093243210] [bt_navigator_rclcpp_node]: Waiting for “spin” action server
[bt_navigator-7] [INFO] [1648343506.094693459] [bt_navigator_rclcpp_node]: “Spin” BtActionNode initialized
[bt_navigator-7] [INFO] [1648343506.163036767] [bt_navigator_rclcpp_node]: Waiting for “wait” action server
[bt_navigator-7] [INFO] [1648343506.165444907] [bt_navigator_rclcpp_node]: “Wait” BtActionNode initialized
[lifecycle_manager-9] [INFO] [1648343506.179438578] [lifecycle_manager_navigation]: Configuring waypoint_follower
[waypoint_follower-8] [INFO] [1648343506.181716766] [waypoint_follower]: Configuring
[lifecycle_manager-9] [INFO] [1648343506.495123511] [lifecycle_manager_navigation]: Activating controller_server
[controller_server-4] [INFO] [1648343506.496796058] [controller_server]: Activating
[controller_server-4] [INFO] [1648343506.497047679] [local_costmap.local_costmap]: Activating
[controller_server-4] [INFO] [1648343506.497208465] [local_costmap.local_costmap]: Checking transform
[controller_server-4] [INFO] [1648343506.497791033] [local_costmap.local_costmap]: start
[lifecycle_manager-9] [INFO] [1648343506.534721228] [lifecycle_manager_navigation]: Activating planner_server
[planner_server-5] [INFO] [1648343506.540024813] [planner_server]: Activating
[planner_server-5] [INFO] [1648343506.540289821] [global_costmap.global_costmap]: Activating
[planner_server-5] [INFO] [1648343506.540366177] [global_costmap.global_costmap]: Checking transform
[planner_server-5] [INFO] [1648343506.540562328] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
[planner_server-5] [INFO] [1648343507.040589372] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
[amcl-2] [WARN] [1648343507.056473824] [amcl]: ACML cannot publish a pose or update the transform. Please set the initial pose…
[planner_server-5] [INFO] [1648343507.540574800] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
[planner_server-5] [INFO] [1648343508.040588197] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[waypoint_follower-8] [INFO] [1648343508.468421513] [rclcpp]: signal_handler(signal_value=2)
[INFO] [recoveries_server-6]: process has finished cleanly [pid 15349]
[INFO] [controller_server-4]: process has finished cleanly [pid 15345]
[INFO] [planner_server-5]: process has finished cleanly [pid 15347]
[lifecycle_manager-9] [INFO] [1648343508.468421617] [rclcpp]: signal_handler(signal_value=2)
[planner_server-5] [INFO] [1648343508.468502921] [rclcpp]: signal_handler(signal_value=2)
[recoveries_server-6] [INFO] [1648343508.468762460] [rclcpp]: signal_handler(signal_value=2)
[INFO] [map_server-1]: process has finished cleanly [pid 15339]
[lifecycle_manager-3] [INFO] [1648343508.468756886] [rclcpp]: signal_handler(signal_value=2)
[INFO] [waypoint_follower-8]: process has finished cleanly [pid 15361]
[INFO] [lifecycle_manager-3]: process has finished cleanly [pid 15343]
[amcl-2] [INFO] [1648343508.469029498] [rclcpp]: signal_handler(signal_value=2)
[map_server-1] [INFO] [1648343508.469297735] [rclcpp]: signal_handler(signal_value=2)
[map_server-1] [INFO] [1648343508.481129054] [map_server]: Destroying
[planner_server-5] [INFO] [1648343508.489832473] [global_costmap.global_costmap]: start
[planner_server-5] [ERROR] [1648343508.490866512] []: Caught exception in callback for transition 13
[planner_server-5] [ERROR] [1648343508.490947556] []: Original error: could not create subscription: rcl node’s context is invalid, at /tmp/binarydeb/ros-foxy-rcl-1.1.13/src/rcl/node.c:441
[planner_server-5] [ERROR] [1648343508.491053913] []: Failed to finish transition 3. Current state is now: errorprocessing (Could not publish transition: publisher’s context is invalid, at /tmp/binarydeb/ros-foxy-rcl-1.1.13/src/rcl/publisher.c:423, at /tmp/binarydeb/ros-foxy-rcl-lifecycle-1.1.13/src/rcl_lifecycle.c:367)
[controller_server-4] [INFO] [1648343508.493093710] [rclcpp]: signal_handler(signal_value=2)
[bt_navigator-7] [INFO] [1648343508.493325591] [rclcpp]: signal_handler(signal_value=2)
[bt_navigator-7] [INFO] [1648343508.572787491] [bt_navigator]: Destroying
[lifecycle_manager-9] [ERROR] [1648343508.496637246] [lifecycle_manager_navigation]: Failed to change state for node: planner_server
[lifecycle_manager-9] [ERROR] [1648343508.496758656] [lifecycle_manager_navigation]: Failed to bring up all requested nodes. Aborting bringup.
[lifecycle_manager-9] terminate called after throwing an instance of ‘rclcpp::exceptions::RCLError’
[lifecycle_manager-9] what(): Failed to create interrupt guard condition in Executor constructor: the given context is not valid, either rcl_init() was not called or rcl_shutdown() was called., at /tmp/binarydeb/ros-foxy-rcl-1.1.13/src/rcl/guard_condition.c:67
[waypoint_follower-8] [INFO] [1648343508.501252426] [waypoint_follower]: Destroying

안녕하세요,
에러 메세지만 봐서는 어떤 상태인지 알기가 어렵습니다.
rviz 화면은 뜨나요?
실행 도중의 화면도 같이 올려주시면 좋겠네요.

해결했습니다. 제 리눅스 PC가 느리고, Rviz2 사용을 제가 잘못해서 생긴 문제였습니다.
답변 감사합니다.ㅎ