Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added optical flow landing module #1611

Closed
wants to merge 2 commits into from

Conversation

guidoAI
Copy link
Contributor

@guidoAI guidoAI commented Apr 19, 2016

I added an optical flow landing module. It uses the size divergence from the optical flow algorithm to keep a constant divergence (if set negative the drone will land, 0 = hover, and positive is going up). Advantage with respect to a GPS landing is that it will take into account the landing surface, even if it is higher than the ground level (so landing on a roof for instance). The module does not use sonar for the vertical control, so it can be used by tiny drones that do not carry sonar. The module uses a novel theory on seeing distances with just a single camera (no extra sensors) to detect when it should land. So it can also be used by drones to estimate distance with a single camera.

Added / modified xmls necessary for optical flow landing

Adding comments, changing names to make more sense.

In principle all name changes, comments, etc. performed

Everything compiles again

changed module name

fixed code style
<file name="optical_flow_landing.h"/>
</header>

<makefile>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably only for target="ap" or target="!sim"?

@flixr
Copy link
Member

flixr commented Apr 19, 2016

Do you really need a conf with all those airframes?
It's just that if they are redundant (i.e. already in the TUDelft conf) it's way nicer to leave them out as this increases the time required for the tests a lot.

@flixr flixr added the Module label Apr 19, 2016
<description>
Optical flow landing.

This module implements optical flow landings in which the divergence is kept constant. When using a fixed gain for control, the covariance between thrust and divergence is tracked, so that the drone knows when it has arrived close to the landing surface. Then, a final landing procedure is triggered. It can also be set to adaptive gain control, where the goal is to continuously gauge the distance to the landing surface. In this mode, the drone will oscillate all the way down to the surface.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would probably be good to mention here that this is for rotorcrafts/multicopters and not fixedwings?

@guidoAI
Copy link
Contributor Author

guidoAI commented Apr 22, 2016

All requested changes made, and did a pull request for the new message.

@flixr flixr closed this in 2a1ce1a Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants