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_Periph: fixed moving baseline yaw for single CAN port GPS peripherals #20249

Merged
merged 2 commits into from Mar 8, 2022

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Mar 8, 2022

The AP_GPS autoconfig code for moving baseline GPS assumes that the GPS_MB_CAN_PORT parameter is available on the node, and if not then it shows GPS status as 1 and never gets lock
This works around that. We could instead try to fix AP_GPS_UAVCAN.cpp to handle the error from a missing param

@rmackay9
Copy link
Contributor

rmackay9 commented Mar 8, 2022

Awesome, thanks!

I've put a post here so we can get the beta testers to test it. https://discuss.ardupilot.org/t/copter-4-2-0-beta1-available-for-beta-testing/82460/15

Tools/AP_Periph/Parameters.h Outdated Show resolved Hide resolved
Tools/AP_Periph/Parameters.cpp Outdated Show resolved Hide resolved
@rmackay9 rmackay9 mentioned this pull request Mar 8, 2022
60 tasks
the AP_GPS_UAVCAN driver requires this param for auto-config of MB yaw
on DroneCAN GPS
this allows for F9P based dual-GPS yaw on DroneCAN peripherals with
auto-config
@tridge tridge merged commit 74f1a80 into ArduPilot:master Mar 8, 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.

None yet

3 participants