turtlebot_rrt icon indicating copy to clipboard operation
turtlebot_rrt copied to clipboard

tf error: canTransform: target_frame map does not exist..

Open gaopenggang opened this issue 6 years ago • 4 comments

Hi , when I run this code, I encountered this error.

[ WARN] [1531246455.136213972, 45.726000000]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 45.726 timeout was 0.1.

[gazebo_gui-3] process has died [pid 15609, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo_gui-3.log]. log file: /home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo_gui-3*.log

[gazebo-2] process has died [pid 15607, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/gao/catkin_ws/src/turtlebot_rrt/maps/simple_maze.world __name:=gazebo __log:=/home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo-2.log]. log file: /home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo-2*.log

Could you give me some advice?

gaopenggang avatar Jul 10 '18 10:07 gaopenggang

Hi, I have encountered the same problem,How do you solve it? Thank you

[ WARN] [1542268503.857947262, 186.360000000]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.1 timeout was 0.1.

shadow3303 avatar Nov 15 '18 08:11 shadow3303

Hi, I have encountered the same problem,How do you solve it? Thank you

[ WARN] [1542268503.857947262, 186.360000000]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.1 timeout was 0.1.

Hi , when I run this code, I encountered this error.

[ WARN] [1531246455.136213972, 45.726000000]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 45.726 timeout was 0.1.

[gazebo_gui-3] process has died [pid 15609, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo_gui-3.log]. log file: /home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo_gui-3*.log

[gazebo-2] process has died [pid 15607, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/gao/catkin_ws/src/turtlebot_rrt/maps/simple_maze.world __name:=gazebo __log:=/home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo-2.log]. log file: /home/gao/.ros/log/9a1c10a8-844f-11e8-98c9-000c2993f013/gazebo-2*.log

Could you give me some advice?

Hello, I met this pro.

I fixed it by edit the file:

image

notice the first line, you should set it to the path where the map.pgm is image

saaries avatar Jan 07 '19 08:01 saaries

By doing these steps, you can also fix the problem: 【RobotModel 】(State: Error) image

saaries avatar Jan 07 '19 08:01 saaries

Check whether laser sensor publishing scan data on /scan topic or not. If not fix the laser sensor to publish scan data on topic. Then try

darshankt avatar Dec 10 '20 06:12 darshankt