Skip to content

Turtlebot 4 Nav2 not working. #658

@Simba185

Description

@Simba185

Robot Model

Turtlebot4 Standard

ROS distro

Humble

Networking Configuration

Discovery Server

OS

Ubuntu 24.04

Built from source or installed?

Installed

Package version

ros2 launch turtlebot4_navigation localization.launch.py map:=map_groupx.yaml namespace:=/Robot2
ros2 launch turtlebot4_navigation nav2.launch.py namespace:=/Robot2
ros2 launch turtlebot4_viz view_robot.launch.py namespace:=/Robot2

Type of issue

Navigation (SLAM, Nav2 etc.)

Expected behaviour

Rviz should start and map should appear and user should be able to set pose

Actual behaviour

Rviz opens and map takes about 30 sec to load but there is no localziation or nav available.

error is
[controller_server-1] [ERROR] [1764084931.973466788] [Robot2.local_costmap.local_costmap]: StaticLayer: "map" passed to lookupTransform argument target_frame does not exist.
[planner_server-3] [INFO] [1764084932.154391937] [Robot2.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

Error messages

[controller_server-1] [ERROR] [1764084931.973466788] [Robot2.local_costmap.local_costmap]: StaticLayer: "map" passed to lookupTransform argument target_frame does not exist. 
[planner_server-3] [INFO] [1764084932.154391937] [Robot2.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

To Reproduce

ros2 launch turtlebot4_navigation localization.launch.py map:=map_groupx.yaml namespace:=/Robot2
ros2 launch turtlebot4_navigation nav2.launch.py namespace:=/Robot2
ros2 launch turtlebot4_viz view_robot.launch.py namespace:=/Robot2

run theses in this order and the error above occurs.

Nav worked on Nov 21 without issues or changes.

Other notes

No response

Metadata

Metadata

Labels

troubleshootingSystem not working as expected, may be user error.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions