Skip to content

Added sensor disabling RC options for 4.0 (NO NOT MERGE) #216

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

Open
wants to merge 9 commits into
base: mttr-rebase-4.0
Choose a base branch
from

Conversation

tridge
Copy link
Collaborator

@tridge tridge commented Dec 19, 2021

This adds a set of sensor disabling options for testing failure handling for 4.0. Each is enabled with a RCn_OPTION parameter.
Options are:

  • 150: disable first GPS
  • 151: disable 2nd GPS
  • 152: disable both GPS
  • 153: disable first mag
  • 154: disable 2nd mag
  • 155: disable both mag
  • 156: disable first rangefinder
  • 157: disable 2nd rangefinder
  • 158: disable both rangefinders
  • 159: disable IRLock sensor
  • 160: disable precision landing
  • 161: disable i2c buses
  • 162: disable SBAS GPS1
  • 163: disable SBAS GPS2
  • 164: disable SBAS both GPS
  • 165: disable motor all
  • 166: disable motor 1
  • 167: disable motor 2
  • 168: disable motor 3
  • 169: disable motor 4

This PR will need to be validated in bench testing before flight testing

@tridge tridge requested a review from zalice December 19, 2021 05:09
@tridge tridge force-pushed the pr-sensor-kill-4.0 branch from 7a7b10f to f7fa1ca Compare December 19, 2021 05:11
@tridge tridge requested a review from Aksellence December 19, 2021 05:11
@zalice zalice removed their request for review January 26, 2022 22:06
rabad-matternet and others added 2 commits February 15, 2022 12:11
* APM-124: Change bootloader serial port to SERIAL_1 from SERIAL_5

The Flight Management Computer (FMC) connects to Ardupilot on SERIAL_1.
This changes the booloader serial port from SERIAL_5 to SERIAL_1 so
the FMC can update the Ardupilot's firmware using uploader.py.

* APM-134: Secondary Mag health (#219)

* APM-134: Secondary Mag health

* AP_Compass: added register checking for AK09916 mode

this allows AK09916 on I2C to recover from a power outage in flight

* APM-138 Add SBAS disable option for test
- added option to disable SBAS for GPS1, GPS2, or both
- SBAS disabled via RC
- add GNSS param defaults

* AP_GPS: fixed switch to incorrect GPS from blended (#223)

* AP_GPS: fixed switch to incorrect GPS from blended

new GPS could have been about to time out

* Bugfix/apm 144 gps2 low sats alert (#226)

* AP_NavEKF2 AP_NavEKF3: Fix set alert for GPS1 and GPS2 in sat check

Co-authored-by: zalice <[email protected]>

* updated output to properly report SBAS status

Co-authored-by: Dat Tran <[email protected]>
Co-authored-by: dat-tran-matternet <[email protected]>
Co-authored-by: Andrew Tridgell <[email protected]>
Co-authored-by: zalice <[email protected]>
Co-authored-by: Alice Zielman <[email protected]>
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.

4 participants