ROBOTIS-GIT / turtlebot3

ROS packages for Turtlebot3
http://turtlebot3.robotis.com
Apache License 2.0
1.52k stars 1.03k forks source link

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

Closed mzl626 closed 5 years ago

mzl626 commented 5 years ago

I'm try turtlebot3 burger simulation on ros Kinetic,ubuntu 16.04,my command is: roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch roslaunch turtlebot3_slam turtlebot3_cartographer.launch

My error msg is:

.. logging to /home/miaozl/.ros/log/8e8b41a0-9ff6-11e9-803b-60f677e14c77/roslaunch-miaozl-ThinkPad-T470p-10200.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://miaozl-ThinkPad-T470p:40491/

SUMMARY

PARAMETERS

NODES / cartographer_node (cartographer_ros/cartographer_node) cartographer_occupancy_grid_node (cartographer_ros/cartographer_occupancy_grid_node) flat_world_imu_node (turtlebot3_slam/flat_world_imu_node) move_base (move_base/move_base)

ROS_MASTER_URI=http://localhost:11311

process[move_base-1]: started with pid [10219] process[cartographer_node-2]: started with pid [10220] process[cartographer_occupancy_grid_node-3]: started with pid [10221] process[flat_world_imu_node-4]: started with pid [10251] [ INFO] [1562421726.808449914]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/opt/ros/kinetic/share/turtlebot3_slam/config/turtlebot3_lds_2d_gazebo.lua' for 'turtlebot3_lds_2d_gazebo.lua'. [ INFO] [1562421726.808817575]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/map_builder.lua' for 'map_builder.lua'. [ INFO] [1562421726.808858490]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/map_builder.lua' for 'map_builder.lua'. [ INFO] [1562421726.808929695]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/pose_graph.lua' for 'pose_graph.lua'. [ INFO] [1562421726.808960376]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/pose_graph.lua' for 'pose_graph.lua'. [ INFO] [1562421726.809092145]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/trajectory_builder.lua' for 'trajectory_builder.lua'. [ INFO] [1562421726.809123218]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/trajectory_builder.lua' for 'trajectory_builder.lua'. [ INFO] [1562421726.809173554]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/trajectory_builder_2d.lua' for 'trajectory_builder_2d.lua'. [ INFO] [1562421726.809201040]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/trajectory_builder_2d.lua' for 'trajectory_builder_2d.lua'. [ INFO] [1562421726.809314558]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/trajectory_builder_3d.lua' for 'trajectory_builder_3d.lua'. [ INFO] [1562421726.809379162]: I0706 22:02:06.000000 10220 configuration_file_resolver.cc:41] Found '/home/miaozl/catkin_google/install_isolated/share/cartographer/configuration_files/trajectory_builder_3d.lua' for 'trajectory_builder_3d.lua'. [ INFO] [1562421726.846023531]: I0706 22:02:06.000000 10220 map_builder_bridge.cc:136] Added trajectory with ID '0'. [ WARN] [1562421726.968002650, 32.700000000]: 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: source_frame base_footprint does not exist.. canTransform returned after 32.7 timeout was 0.1. [ WARN] [1562421729.879558239, 35.523000000]: W0706 22:02:09.000000 10220 node.cc:857] Expected topic "imu" (trajectory 0) (resolved topic "/flat_imu") but no publisher is currently active. [ WARN] [1562421729.879651417, 35.523000000]: W0706 22:02:09.000000 10220 node.cc:866] Currently available topics are: /move_base/current_goal,/rosout_agg,/odom,/scan,/gazebo_gui/parameter_descriptions,/gazebo_gui/parameter_updates,/imu,/gazebo/parameter_descriptions,/map,/cmd_vel,/landmark_poses_list,/submap_list,/scan_matched_points2,/joint_states,/rosout,/move_base/goal,/tf,/trajectory_node_list,/constraint_list,/gazebo/link_states,/gazebo/model_states,/clock,/gazebo/parameter_updates, [ WARN] [1562421732.138737728, 37.708000000]: 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.101 timeout was 0.1. [ WARN] [1562421737.322747880, 42.718000000]: 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. [ WARN] [1562421742.484281842, 47.735000000]: 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. [ WARN] [1562421744.285101076, 49.494000000]: W0706 22:02:24.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421746.348802514, 51.498000000]: W0706 22:02:26.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421747.632028474, 52.747000000]: 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. [ WARN] [1562421748.408775605, 53.495000000]: W0706 22:02:28.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421750.457239661, 55.497000000]: W0706 22:02:30.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421752.524912687, 57.504000000]: W0706 22:02:32.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421752.785853207, 57.756000000]: 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. [ WARN] [1562421754.604800953, 59.517000000]: W0706 22:02:34.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421756.646263214, 61.498000000]: W0706 22:02:36.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421757.974327920, 62.774000000]: 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. [ WARN] [1562421758.708019949, 63.487000000]: W0706 22:02:38.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421760.813326855, 65.514000000]: W0706 22:02:40.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421762.912787191, 67.514000000]: W0706 22:02:42.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421763.195061447, 67.791000000]: 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. [ WARN] [1562421764.939470589, 69.487000000]: W0706 22:02:44.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu) [ WARN] [1562421767.037214080, 71.516000000]: W0706 22:02:47.000000 10220 ordered_multi_queue.cc:155] Queue waiting for data: (0, imu)

please help me!

kaym9n commented 5 years ago

Hi, Could you refer to this issue(#391 ).

Regards, Kayman

kaym9n commented 5 years ago

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.