Ask Your Question
0

Navigation Stack : What Am I missing? Robot not moving?

asked 2017-01-22 10:55:30 -0600

burf2000 gravatar image

updated 2017-01-22 11:19:50 -0600

Hi all, this has been a ongoing battle which I am loosing, the wiki is not the easiest thing to follow.

So I have a robot (2 wheel, running Lidar)

  • It runs Hector Slam which gives me /odom
  • it can be moved by teleop (nav_msg)

I have created all the files in http://wiki.ros.org/navigation/Tutori... (move_base running on robot)

I have also setup RVIZ as shown in http://wiki.ros.org/navigation/Tutori...

However in RVIZ when I press 2D Nav Goal, bugger all happens. Current errors I seem to be seeing No transform between frames /map and /base_link available after 20.003237 seconds of waiting. This warning only prints once

[ WARN] [1485103992.288786277]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: . canTransform returned after 0.101515 timeout was 0.1.

The problem is I am getting super confused now, going via the Tutorials, things like URDF come up which I dont think I need because of the YAML file? This like build a tf_broadcaster also appear?

**Theres are my topics : Maybe it does not match the yaml file?

  • /cmd_vel
  • /initialpose
  • /map
  • /map_metadata
  • /poseupdate
  • /rosout
  • /rosout_agg
  • /rpms
  • /scan
  • /slam_cloud
  • /slam_out_pose
  • /syscommand
  • /tf
  • /tf_static**

I am sure its such a simple thing I am missing!

edit retag flag offensive close merge delete

Comments

1

It looks like you're missing the TF transform between /map and /base_link (TF frames; not topics). It would be helpful to run rosrun tf view_frames or rqt_tf_tree to look at the TF tree (and post the results here if you can)

ahendrix gravatar imageahendrix ( 2017-01-22 12:14:19 -0600 )edit

I used files from here https://github.com/DaikiMaekawa/navig... but not sure what fixed it yet

burf2000 gravatar imageburf2000 ( 2017-01-23 14:34:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-01-23 14:34:24 -0600

burf2000 gravatar image

So I found this https://github.com/DaikiMaekawa/navig... and used their yaml files and edited more launch files and it now works.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-01-22 10:55:30 -0600

Seen: 644 times

Last updated: Jan 23 '17