Folk4681/Robot-Motion-Planning-in-ROS-Kinetic

Running the simulation

Closed this issue · 4 comments

Hi there
I am new to ROS and I have a similar path planning problem. I saw your project on Github, and tried to run it. I run rosrun global_planner planner and it keep warning me the following:

[ WARN] [1496994108.236000168]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: . canTransform returned after 0.101223 timeout was 0.1. [ WARN] [1496994113.288090706]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: . canTransform returned after 0.101757 timeout was 0.1. [ WARN] [1496994118.344973181]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: . canTransform returned after 0.106712 timeout was 0.1.

I will be grateful if you could help me out. Tell me where I am wrong or just how to get the result you showed on the Youtube video.
Thanks!

It is like
roslaunch turtlebot_gazebo [some launch file] map_file:=../Robot-Motion-Planning-in-ROS-Kinetic/FinalMap.yaml
If so, could you share your launch file?

I tried with

amcl_demo.launch

but it did n't work, I got

core service [/rosout] found process[map_server-1]: started with pid [32607] process[amcl-2]: started with pid [32608] process[navigation_velocity_smoother-3]: started with pid [32609] process[kobuki_safety_controller-4]: started with pid [32610] process[move_base-5]: started with pid [32611] [map_server-1] process has died [pid 32607, exit code 255, cmd /opt/ros/kinetic/lib/map_server/map_server /home/yisheng/ros_workspace/src/Robot-Motion-Planning-in-ROS-Kinetic/FinalMap.yaml __name:=map_server __log:=/home/yisheng/.ros/log/327ac1e4-4d08-11e7-973b-000c29b5f232/map_server-1.log]. log file: /home/yisheng/.ros/log/327ac1e4-4d08-11e7-973b-000c29b5f232/map_server-1*.log [ WARN] [1497011642.789603901]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: . canTransform returned after 0.103322 timeout was 0.1. [ WARN] [1497011647.799994936]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: . canTransform returned after 0.103385 timeout was 0.1.

screen shot 2017-06-09 at 8 58 39 pm

rqt graph