rst-tu-dortmund / teb_local_planner_tutorials

This package contains supplementary material and examples for teb_local_planner tutorials.
167 stars 98 forks source link

Error: Invalid argument "/robot_0/base_laser_link" passed to lookupTransform argument source_frame in tf2 #9

Open nvhungv2k opened 4 years ago

nvhungv2k commented 4 years ago

My workspace: Ubuntu 18.04LTS + melodic

I checked out melodic-devel branch, and followed the following tutorials http://wiki.ros.org/teb_local_planner/Tutorials/Track%20and%20include%20dynamic%20obstacles%20via%20costmap_converter I run Corridor example:

$ roslaunch teb_local_planner_tutorials dyn_obst_costmap_conversion.launch

The following error showed frequently:

_TF Exception that should never happen for sensor frame: , cloud frame: /robot_0/base_laser_link, Invalid argument "/robot_0/base_laser_link" passed to lookupTransform argument source_frame in tf2 frameids cannot start with a '/' like:

In the result, visualization in RVIZ is false, and can not put '2D Nav Goal'.

Even, I don't use source code but install teb_local_planner_tutorials package: $ sudo apt-get install ros-melodic-teb-local-planner-tutorials I still had had this error

croesmann commented 4 years ago

The issue is not caused by the teb_local_planner_tutorials package. It is related to stage_ros. See this pull request for a fix. Unfortunately, the pull request has not been merged yet...

Kiwi-qiqi commented 2 years ago

when conduct this launch file roslaunch teb_local_planner_tutorials dyn_obst_costmap_conversion.launch error as follwing: TF Exception that should never happen for sensor frame: , cloud frame: /robot_0/base_laser_link, Invalid argument "/robot_0/base_laser_link" passed to lookupTransform argument source_frame in tf2 frame_ids cannot start with a '/' like: I have try different ways to solve this problem, including modify files like this documents present. https://github.com/rst-tu-dortmund/teb_local_planner_tutorials/commit/8793c53bb06ee71cf73a4da5ff9d3c4cc91fb91f after modifing files and roslaunch, a new error apperance : ERROR: cannot launch node of type [tf_ros/static_transform_publisher]: tf_ros maybe this problem beyond my ability to solve . please attribute your methods to help me solve it, which is cruial to me! Thanks