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

Drone keeps rising (in simulation) after takeoff.

asked 2018-01-31 22:43:18 -0600

malharjajoo gravatar image

Hi,

I am currently using the tum_simulator + ROS + gazebo to run a simulation for the Parrot A.R. drone 2.0.

When I publish the takeoff message ( rostopic pub -1 /ardrone/takeoff std_msgs/Empty ) the drone rises ( in the gazebo simulation) but doesn't stop. I can't make it stop even by pressing the "lower z-velocity" (rostopic pub -r 10 /cmd_vel geometry_msgs/Twist '{linear: {x: 0.0, y: 0.0, z: -1.0}, angular: {x: 0.0,y: 0.0,z: 0.0}}') command. (These commands have been taken from official tum_simulator ROS wiki page here ) ( And yes, I am keeping the teleoperation terminal active so I can see my commands work but the drone keeps rising )

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-31 22:57:11 -0600

jayess gravatar image

Apparently, others have had this problem too and the solution was to install some hector packages:

sudo apt-get install ros-kinetic-hector-gazebo
sudo apt-get install ros-kinetic-hector-sensors-gazebo
sudo apt-get install ros-kinetic-hector-xacro-tools
edit flag offensive delete link more

Comments

If this solved your problem, please click on the checkmark to mark the answer as correct.

jayess gravatar image jayess  ( 2018-02-03 17:49:11 -0600 )edit

Thanks ! I installed the first two and it works :D

malharjajoo gravatar image malharjajoo  ( 2018-02-03 18:22:51 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-01-31 22:43:18 -0600

Seen: 691 times

Last updated: Jan 31 '18