Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid frame ID "map" passed to canTransform #43

Open
gurselturkeri opened this issue Jun 14, 2024 · 2 comments
Open

Invalid frame ID "map" passed to canTransform #43

gurselturkeri opened this issue Jun 14, 2024 · 2 comments

Comments

@gurselturkeri
Copy link

I have installed all dependencies but when I launch the file I get an error. How can I solve that?

[rviz2-1] Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
[rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.14/src/buffer_core.cpp

Screenshot from 2024-06-15 00-12-08

@sahil-chaudhary
Copy link

Hey @gurselturkeri , I am suffering from same problem. Were you able to solve the problem?
Screenshot_20240629_083746
Screenshot_20240629_083746

@AkshayLaddha943
Copy link

I had the same issue in Ubuntu 20.04, I changed the launch file and added static_transform_publisher from robot frame to map, then the robot appeared fully.

I added the following lines inside the launch file -

    static_transform_publishers = [
    Node(
        package='tf2_ros',
        executable='static_transform_publisher',
        name='static_tf_pub',
        arguments=['0', '0', '0', '0', '0', '0', 'map', 'ego_racecar/base_link']
    ),
        Node(
            package='tf2_ros',
            executable='static_transform_publisher',
            name='static_tf_pub_base_to_front_left_wheel',
            arguments=['-0.5', '0.5', '0', '0', '0', '0', 'map', 'ego_racecar/front_left_wheel']
        ),
        Node(
            package='tf2_ros',
            executable='static_transform_publisher',
            name='static_tf_pub_base_to_front_right_wheel',
            arguments=['-0.5', '-0.5', '0', '0', '0', '0', 'map', 'ego_racecar/front_right_wheel']
        ),
    ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants