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

hector_quadrotor does not take off

asked 2017-03-09 16:19:19 -0500

Kent gravatar image

Hi, I am using ROS kinetic and since the tutorials on http://wiki.ros.org/hector_quadrotor/... is a littile bit out-dated, I followed the answer in http://answers.ros.org/question/24477... .

It did compile and roslaunch the demo successfully. I've checked the rostopic list and found there is actually a topic called /cmd_vel. I tried to use this command to let the quadrotor take-off

rostopic pub -r 10 /cmd_vel geometry_msgs/Twist  '{linear:  {x: 0, y: 0.0, z: 1.0}, angular: {x: 0.0,y: 0.0,z: 0.0}}'

But the quadrotor still stays on the ground. I used

rostopic echo /cmd_vel

to check if the message is sent to the topic correctly, and it does.

Does someone know what can be possibly wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-05 04:04:20 -0500

You should first enable motors

rosservice call /enable_motors true

more information in https://github.com/tu-darmstadt-ros-p...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-03-09 16:19:19 -0500

Seen: 982 times

Last updated: Mar 09 '17