ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Navigation by goal with Hector Quadrotor

asked 2013-03-04 05:24:03 -0600

Iván gravatar image

updated 2014-01-28 17:15:30 -0600

ngrennan gravatar image

Hi!

I'm making a ROS enable quadrotor. And I'm learning a little with Hector Quadrotor in Gazebo.

I can use pr2_teleop to control the quadrotor, but I don't know how navigate by goals or paths. I found a launch file in

hector/hector_navigation/hector_exploration_node/launch/exploration_planner.launch

that sould works to this purpose. But when I try to launch it I receive the next error:

ERROR: cannot launch node of type [hector_exploration_node/exploration_planner_node]: can't locate node [exploration_planner_node] in package [hector_exploration_node]

Are there any way to launch that file? Are there any way in that package to navigate by key point or to a goal?

Thank you so much!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-03-04 06:23:14 -0600

updated 2013-03-04 19:30:41 -0600

This indicates that the node hasn't been built yet. A

rosmake hector_exploration_node

should fix that error.

/edit: In response to your comment: There was a compile error in hector_exploration_planner from Feb 12th to Feb 16th, but it should be fixed now. If you update your repo and try again, it should work.

edit flag offensive delete link more

Comments

I have already tried that, but it returns a failure.

[rosmake-6] Finished <<< hector_exploration_planner [FAIL] [ 3.98 seconds ]
[ rosmake ] Halting due to failure in package hector_exploration_planner. [ rosmake ] Waiting for other threads to complete.

Complete log: http://goo.gl/KfHdg

Iván gravatar image Iván  ( 2013-03-04 09:18:54 -0600 )edit

Oh ok, I see. See my edit above.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2013-03-04 19:31:14 -0600 )edit

Ok, it works. Thank you! But now it returns a message "Still waiting on map". So I try using "indoor_slam_gazebo.launch" as map. And then there are a lot of errors.

Because of that I would like change the question, do you know a simple rosrun file to say to the robot, "go from 0,0,0 to 1,1,1"?

Iván gravatar image Iván  ( 2013-03-05 01:02:32 -0600 )edit

Question Tools

Stats

Asked: 2013-03-04 05:24:03 -0600

Seen: 1,181 times

Last updated: Mar 04 '13