-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[vision] Opticflow rewrite #1143
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
Conversation
@@ -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"/> |
There was a problem hiding this comment.
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 ;)
// ************************************************************************************* | ||
|
||
// FAST corner detection (TODO: non fixed threashold) | ||
static uint8_t threshold = 20; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this a setting
I think this is ok to merge now? |
[vision] Opticflow rewrite: -less grabbing threads -faster grabbing -static linking issues fixed properly -documentation -rewritten code
Much better than the version in master: no reason to delay this merge. Make new issue if problems remain. |
Can you please fix the dox that is now not correct any more for quite a lot of functions? |
Which docs do you mean? I already fixed some mistakes in master.. |
Wrong params in function docs, e.g. Lukas kanade...
|
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: