# Ardrone won't move while /cmd\_vel echoes data

**URL:** <https://get-help.theconstruct.ai/t/ardrone-wont-move-while-cmd-vel-echoes-data/22309>\
**Category:** ROS Basics In 5 Days (Python)\
**Tags:** drone, cmd\_vel, ros, gazebo\
**Created:** [February 11, 2023, 10:37am UTC](https://get-help.theconstruct.ai/t/ardrone-wont-move-while-cmd-vel-echoes-data/22309 "2023-02-11T10:37:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yogesh\_G](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/y/13edae/32.png) [@Yogesh\_G](https://get-help.theconstruct.ai/u/Yogesh_G)\
**Post date:** [February 11, 2023, 10:37am UTC](https://get-help.theconstruct.ai/t/ardrone-wont-move-while-cmd-vel-echoes-data/22309/1 "2023-02-11T10:37:05Z")

</div>

I’m trying to complete actions unit (Unit 9) in ROS Basics in 5 days (Python) course. The ardrone isn’t moving, while commands are being published on the topic /cmd\_vel. Using the action server from unit 8 (roslaunch ardrone\_as action\_server.launch) and publishing goal.nseconds to any number, the drone still doesn’t move while taking pictures.  
I’ve tried echoing /cmd\_vel while the commands are being published and found that /cmd\_vel echoes correct data, while the drone still doesn’t move.  
In the follwing screenshot I was using the teleop\_twist\_keyboard to fly the drone, but it wont move, while cmd\_vel topic shows a velocity being published in linear.z direction.  
Thanks!

 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/f/f7536e688544752fdf690c214f96c5b6557d8767.jpeg)

---

<div class="post-metadata">

**Author:** ![girishkumar.kannan](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/girishkumar.kannan/32/6994_2.png) [@girishkumar.kannan](https://get-help.theconstruct.ai/u/girishkumar.kannan)\
**Post date:** [February 11, 2023, 6:14pm UTC](https://get-help.theconstruct.ai/t/ardrone-wont-move-while-cmd-vel-echoes-data/22309/2 "2023-02-11T18:14:55Z")

</div>

Hi @Yogesh_G ,

Did you send the command to takeoff and/or land the drone?

Before you make the drone move, you must first takeoff. And once you have played around by moving it, you must land.

The takeoff and land methods are explained in the course. Please follow those parts in the notes.

Regards,  
Girish

---

<div class="post-metadata">

**Author:** ![Yogesh\_G](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/y/13edae/32.png) [@Yogesh\_G](https://get-help.theconstruct.ai/u/Yogesh_G)\
**Post date:** [February 12, 2023, 4:30am UTC](https://get-help.theconstruct.ai/t/ardrone-wont-move-while-cmd-vel-echoes-data/22309/3 "2023-02-12T04:30:43Z")

</div>

Hey @girishkumar.kannan , thanks for the suggestion!  
I had given the command to take off, as indicated by the value of linear.z (0.53…) in the attached screenshot. The issue persisted even while using the already provided ardrone action server by TheConstruct. The drone didn’t move at all, as mentioned in my post. while it was supposed to take off and take pictures, it just took pictures but didn’t move.  
Thanks!

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/6966_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [February 13, 2023, 9:56am UTC](https://get-help.theconstruct.ai/t/ardrone-wont-move-while-cmd-vel-echoes-data/22309/4 "2023-02-13T09:56:48Z")

</div>

Shouldn’t you take the drone off by publishing into `/drone/takeoff` or a similar topic? And land the drone by publishing to a similar `/drone/land` topic?

Check `rostopic list` to find out the right topics.
