Ask Your Question
0

Drone keeps rising (in simulation) after takeoff.

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

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 -0500

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 imagejayess ( 2018-02-03 17:49:11 -0500 )edit

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

malharjajoo gravatar imagemalharjajoo ( 2018-02-03 18:22:51 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 339 times

Last updated: Jan 31 '18