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

Navigation Stack Error - TF Exception that should never happen for sensor fram

asked 2020-10-05 08:09:27 -0500

bfdmetu gravatar image

updated 2022-08-07 08:49:15 -0500

lucasw gravatar image

Hi I make a autonomous differential robot. In kinetic devel navigation stack works fine. Robot can get position, goes goal, escape obstacle....However i upgrade my linux and ros base to melodic devel.

In melodic devel i get the error. My robot doesn't avoid from obstacles.I cant solve this... Is there any solution?

Warning: Invalid argument "/laser" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like: at line 134 in /tmp/binarydeb/ros-melodic-tf2-0.6.5/src/buffer_core.cpp

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-10-06 01:51:35 -0500

bfdmetu gravatar image

I solved the problem. In laser scanner package, frame name is "/laser"... I ommit the "/" then it works

edit flag offensive delete link more

Comments

I have the same issue. Could you please elaborate a little bit more on this. I get issues while I'm trying to run the TEB local planner.

vvb gravatar image vvb  ( 2021-10-19 13:30:45 -0500 )edit
0

answered 2020-10-05 08:15:25 -0500

kosmastsk gravatar image

You are somewhere defining the frame as /frame_name. But, since ROS Melodic (probably, I'm not sure) you have to define it as frame_name. Just change your configuration file and will work properly

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-05 08:09:27 -0500

Seen: 907 times

Last updated: Oct 06 '20