ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist [closed]

asked 2023-07-25 19:03:17 -0500

Noob8899 gravatar image

updated 2023-07-25 19:04:57 -0500

I am following this tutorial on navigation to perform localization. I copied the exact same code that was provided in the reference but I am getting errors in RViz and terminal.

  1. Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist at line 93 in ./src/buffer_core.cpp
  2. Global Status: Error - Fixed Frame [map] does not exist.
  3. Map Status: Warning - No map received
  4. RobotModel Status:Error - No transform from [link_name] to [map]

I am also not able to visualize the robot and map as shown in RViz in the tutorial. I tried searching a lot on this issue but was not able to find a resolution. Appreciate your help.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Noob8899
close date 2023-07-25 19:45:44.475801

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-25 19:45:30 -0500

Noob8899 gravatar image

I got to know that adding a static transform publisher solves the problem.

<launch>
static_transform_publisher_node = Node(
    package='tf2_ros',
    executable='static_transform_publisher',
    name='link1_broadcaster',
    arguments=['0', '0', '0', '0', '0', '0', '1', 'map', 'odom'],
    output='screen',
</launch>

 ld.add_action(static_transform_publisher_node)  # Add the static transform publisher node
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-07-25 19:03:17 -0500

Seen: 3,393 times

Last updated: Jul 25 '23