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

Periph: Enable use of multiple rangefinders #26607

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

MattKear
Copy link
Contributor

This PR adds support for up to two rangefinders on one CAN node.

I have only added support two instances on the Matek L431 nodes as I do not have other types to test.

Just for context, this is how I am using this change. I have a LiDaR and Radar both connected to the same L431 CAN node making integration of these into my heli, for height above ground measurement, nice and easy.

Tested IRL. RFND[0] is the radar and FRND[1] is the LiDaR
image

@tridge tridge removed the DevCallEU label Mar 27, 2024
@MattKear MattKear force-pushed the periph_multi_rngfnd branch from 386205b to 6fe2468 Compare March 28, 2024 13:23
@MattKear
Copy link
Contributor Author

Made requested changes. Re-tested with L431 Node on the the bench. Have not been able to test that prob continuous works because my node and rangefinders are all powered off of the same supply.

@tridge tridge removed the DevCallEU label Apr 3, 2024
@MattKear MattKear force-pushed the periph_multi_rngfnd branch 2 times, most recently from c6ada89 to 9d6a471 Compare April 8, 2024 15:30
@MattKear MattKear force-pushed the periph_multi_rngfnd branch from 9d6a471 to a2d4aae Compare April 10, 2024 06:50
Copy link
Contributor

@tridge tridge left a comment

Choose a reason for hiding this comment

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

can be merged when shift error fixed

@tridge tridge removed the DevCallEU label Apr 10, 2024
@MattKear MattKear force-pushed the periph_multi_rngfnd branch from a2d4aae to 741f98c Compare April 10, 2024 08:17
@MattKear MattKear force-pushed the periph_multi_rngfnd branch 3 times, most recently from cb34273 to 21b735e Compare April 16, 2024 21:04
@tridge tridge merged commit 9153c40 into ArduPilot:master Apr 17, 2024
46 checks passed
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.

3 participants