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

[vision] Opticflow rewrite #1143

Merged
merged 17 commits into from Apr 9, 2015
Merged

[vision] Opticflow rewrite #1143

merged 17 commits into from Apr 9, 2015

Conversation

fvantienen
Copy link
Member

Rewrite of the optical flow and vision parts for Linux.
This adds a more modular and clean way of adding vision modules and calculations. There is a sample image library which is very well documented and could be expanded in the future.

A lot of improvement to the optical flow calculations could be done, but this is just a simple implementation. In the future we could for example keep track of previous found coners, optimize subpixel calculations etc.

What still needs to be done:

  • Video device should be changeable
  • The vision message needs to be periodic
  • More settings for Lucas Kanade calculation (like window size, amount of iterations etc.)
  • Camera parameters should be changeable
  • Check LIBC static linking
  • Run code style formatter

@@ -13,7 +13,6 @@
</description>

<section name="VISION" prefix="VISION_">
<define name="HOVER" value="FALSE" description="TRUE/FALSE active or not"/>
<define name="PHI_PGAIN" value="500" description="optic flow pgain"/>
<define name="PHI_IGAIN" value="10" description="optic flow igain"/>
Copy link
Member Author

Choose a reason for hiding this comment

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

Error in define.. maybe add more ;)

@fvantienen fvantienen added Enhancement Improve upon exiting functionality Parrot Drones labels Mar 23, 2015
// *************************************************************************************

// FAST corner detection (TODO: non fixed threashold)
static uint8_t threshold = 20;
Copy link
Member Author

Choose a reason for hiding this comment

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

Make this a setting

@fvantienen
Copy link
Member Author

I think this is ok to merge now?

dewagter added a commit that referenced this pull request Apr 9, 2015
[vision] Opticflow rewrite: 
-less grabbing threads
-faster grabbing
-static linking issues fixed properly
-documentation
-rewritten code
@dewagter dewagter merged commit ea58643 into master Apr 9, 2015
@dewagter
Copy link
Member

dewagter commented Apr 9, 2015

Much better than the version in master: no reason to delay this merge. Make new issue if problems remain.

@dewagter dewagter deleted the opticflow branch April 9, 2015 09:47
@flixr
Copy link
Member

flixr commented Apr 15, 2015

Can you please fix the dox that is now not correct any more for quite a lot of functions?

@fvantienen
Copy link
Member Author

Which docs do you mean? I already fixed some mistakes in master..

@flixr
Copy link
Member

flixr commented Apr 16, 2015

Wrong params in function docs, e.g. Lukas kanade...
Run make dox and you will see ;-)
Am 15.04.2015 21:55 schrieb "Freek van Tienen" notifications@github.com:

Which docs do you mean? I already fixed some mistakes in master..


Reply to this email directly or view it on GitHub
#1143 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch/linux Enhancement Improve upon exiting functionality Parrot Drones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants