Invalid frame ID "map" passed to canTransform
Opened this issue · 2 comments
gurselturkeri commented
sahil-chaudhary commented
Hey @gurselturkeri , I am suffering from same problem. Were you able to solve the problem?
AkshayLaddha943 commented
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']
),
]