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

AP_Rangefinder: VL53L1X Preserve new address #20620

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

HefnySco
Copy link
Member

When calling reset() for sensor VL53L1X the sensor resets its i2c address to its default address 0x29.

When connecting multiple VL53L1X sensors to Ardupilot and configure RNGFNDx with proper addresses ArduPilot detects them then calls reset which reset the addresses to 0x29 and they become not accessible anymore.

I added and if condition to bypass reset when the sensor address is not the default address.

@tridge tridge merged commit ce8405b into ArduPilot:master Apr 27, 2022
@tridge tridge added this to pending in Plane 4.2 Jun 16, 2022
@tridge tridge moved this from pending to merged in Plane 4.2 Jun 16, 2022
@rmackay9 rmackay9 added this to Pending in Copter 4.2 Jun 21, 2022
@rmackay9 rmackay9 moved this from Pending to 4.2.2-rc1 in Copter 4.2 Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Copter 4.2
4.2.2 / 4.2.2-rc1
Development

Successfully merging this pull request may close these issues.

None yet

2 participants