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

[WIP] Add Optical Flow Driver for Upflow LC302 module #14723

Closed
wants to merge 16 commits into from

Conversation

bys1123
Copy link
Contributor

@bys1123 bys1123 commented Apr 22, 2020

Upflow LC302 has a very nice performance like PMW3901. Worth to upstream.

image

Product User Manual(LC-302-3C)V1.1.pdf

This commit is an old one, need some work to make it compatible with current master.

This PR will fix #13631 .

@hamishwillee
Copy link
Contributor

Great. When this is integrated can you update the record in http://docs.px4.io/master/en/sensor/pmw3901.html ?

@bys1123
Copy link
Contributor Author

bys1123 commented Apr 22, 2020

@hamishwillee Glad to do, but this one is not using PMW3901, and have its own protocol, is that a good idea? Should I create a new page? Or create 3901-like section is good to go?

@bys1123
Copy link
Contributor Author

bys1123 commented Apr 22, 2020

Just read the page again, I think create a new page is better.

dev->_fd_open();
}

work_queue(HPWORK, &(dev->_work), (worker_t)&upflow_lc302::cycle_trampoline,
Copy link
Member

Choose a reason for hiding this comment

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

Needs to be updated to use the new WorkQueue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but I'm not familiar on this part, I need your help.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tried to fixed.

@@ -34,3 +34,4 @@
add_subdirectory(paw3902)
add_subdirectory(pmw3901)
add_subdirectory(px4flow)
add_subdirectory(upflow)
Copy link
Member

Choose a reason for hiding this comment

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

Should we name this more descriptively like upflow_lc302?

Copy link
Contributor Author

@bys1123 bys1123 Apr 22, 2020

Choose a reason for hiding this comment

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

I pretty sure if they have new module, they would continue use this protocol. If need to change, just minor adjustment. Then one driver is enough for this company, no more driver will coming next.

@dagar
Copy link
Member

dagar commented Apr 22, 2020

@bys1123 are you setup to flight test this? If so I can take a pass to clean it up.

@bys1123
Copy link
Contributor Author

bys1123 commented Apr 22, 2020

@dagar I'm ready to test this, and the manufacture also will do the test too, I need your help to make this driver up-to-date, thank you.

@hamishwillee
Copy link
Contributor

@bys1123 Yes please - create a new page for a new implementation that is unrelated to the others. I'll help with subedit.

@stale
Copy link

stale bot commented Aug 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Aug 8, 2020
@julianoes julianoes requested a review from dagar August 25, 2020 06:35
@stale stale bot removed the stale label Aug 25, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Dec 25, 2020
@dagar dagar closed this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Support UP-Flow LC302 Optical Flow Module
3 participants