Ask Your Question
0

Land my AR.Drone (the code of a service that already exists)

asked 2019-06-15 22:08:22 -0500

Dylan gravatar image

updated 2019-06-16 01:03:08 -0500

jayess gravatar image

Hello everyone,

I need to land my AR.Drone 2.0. I know that if I write rostopic pub /ardrone/land std_msgs/Empty in the terminal, my drone lands. But it need to make it smoother. For example, I would like to descend as when I post that command line when some conditions are met, and when any of the conditions are not right, then it stops landing.

I'm trying to find the code that makes that command line work, but I couldn't find it. If it's written in Python it would be perfect.

Can anyone please tell me where I can get that code from?

Thanks :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-16 01:02:33 -0500

jayess gravatar image

updated 2019-06-16 10:00:41 -0500

I can't find the exact documentation on this, but if you're using the ardrone_autonomy package then using that topic is the only way to initiate a land command. I believe that this is at least partly due to the SDK provided by Parrot.


Edit:

Like I said, the landing functionality is handled by the SDK

Thanks to the AR.Drone 2.0 onboard sensors take-off, hovering, trimming and landing are now completely automatic and all manoeuvres are completely assisted.

That's from page 16, section 2.6 of the documentation for the SDK (that's a link to a ZIP of the SDK, with the documentation in it).

edit flag offensive delete link more

Comments

But I need to modify that landing because I need to make it more precise (when you write that land command, the vehicle usually moves a lot in x and y coordinates).

Dylan gravatar imageDylan ( 2019-06-16 09:06:50 -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

2 followers

Stats

Asked: 2019-06-15 22:08:22 -0500

Seen: 13 times

Last updated: Jun 16