Commit Graph

27652 Commits

Author SHA1 Message Date
Randy Mackay
af7f4fef0a DataFlash: protect against large testRatio from EKF
This should be resolved in the EKF but for now this stops the floating point exception
2017-06-14 16:07:32 +09:00
Shingo Matsuura
0800c6be52 Copter: add beacon object to avoidance object 2017-06-14 16:07:32 +09:00
Shingo Matsuura
7b0f6edf31 AC_Avoidance: add adjust velocity by beacon fence 2017-06-14 16:07:32 +09:00
Randy Mackay
cded78022c AP_Beacon: update_boundary_points calculates outer perimeter around beacons 2017-06-14 16:07:32 +09:00
Shingo Matsuura
c9475c2747 AP_Beacon: add get_boundary_points 2017-06-14 16:07:32 +09:00
kmine
b3bf72020f Tools: added my name to GitSuccess 2017-06-14 16:00:46 +09:00
Paulo Neves
3158cafefd AP_Beacon: Added Marvelmind beacon example.
This commit includes an example program to
run the code of AP_Marvelmind class.
It also includes a dump from the marvelmind
serial as well as a script that injects
this dump into the example for demonstration.
2017-06-14 09:33:23 +09:00
Randy Mackay
3e130273a9 AP_AHRS: do not fallback to DCM if EKF can provide relative position 2017-06-14 09:12:20 +09:00
Randy Mackay
a07920c5b2 Rover: add init_compass method
no functional change
2017-06-14 09:12:20 +09:00
Randy Mackay
eb2aa80fca Rover: compass set-initial-location uses ahrs location
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-14 09:12:20 +09:00
Randy Mackay
584974fd74 Rover: set home from ekf position 2017-06-14 09:12:20 +09:00
Randy Mackay
0da6e73d76 Rover: add support for visual odometry 2017-06-14 09:12:20 +09:00
Randy Mackay
b56e246da6 Rover: add visual odometry to build 2017-06-14 09:12:20 +09:00
Michael du Breuil
3534d0a0eb AP_Landing: Fix missing doc for LAND_TYPE 2017-06-13 20:06:41 +09:00
Randy Mackay
a5ea9420c0 Copter: landing gear position set less often
This change means no pwm output is sent to the landing gear servos until the pilot has moved the switch
2017-06-13 13:56:07 +09:00
Randy Mackay
c9cc0de83d AP_LandingGear: set pwm only when set_position called
Also simplify interface and internal state
2017-06-13 13:56:07 +09:00
Randy Mackay
32cb3f8764 Tools: add e-flight convergence parameter file 2017-06-12 09:41:33 +09:00
Michael du Breuil
6c3db3939e AP_GPS: Update comment on get_rate_ms()
AP_GPS::get_rate_ms() is only meant to help the GPS backends
2017-06-12 01:06:38 +01:00
Peter Barker
b5029aad4f DataFlash: correct dataflash examples 2017-06-11 20:34:12 +01:00
Peter Barker
6d1f42d1c5 Tracker: unconditionally start unstarted logging 2017-06-11 20:34:12 +01:00
Peter Barker
10b69b46e1 Replay: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
cdd0397bbf DataFlash: check all backends for sensor health 2017-06-11 20:34:12 +01:00
Peter Barker
c1583da7d5 Sub: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
76f7ad1252 Tracker: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
4dc241fd22 Plane: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
81b19204c3 Rover: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
3ee56f5475 Copter: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
7221b0def2 DataFlash: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
2f7325a0bc Sub: simplify should_log 2017-06-11 20:34:12 +01:00
Peter Barker
927cc75843 Plane: simplify should_log (NFC) 2017-06-11 20:34:12 +01:00
Peter Barker
332e5059e2 Tracker: simplify should_log (NFC) 2017-06-11 20:34:12 +01:00
Peter Barker
c5d40fd8b4 Rover: simplify should_log (NFC) 2017-06-11 20:34:12 +01:00
Peter Barker
43a16b9327 Copter: simplify should_log (NFC) 2017-06-11 20:34:12 +01:00
Peter Barker
32d02b1f18 Sub: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker
d36e8fa51e Copter: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker
d365a91bae Tracker: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker
bd747006aa DataFlash: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker
19a9690102 Sub: simplify start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
2bb22da599 Copter: simplify start_logging 2017-06-11 20:34:12 +01:00
Peter Barker
0be2e7962f DataFlash: create a WritesOK method for WritePrioritisedBlock 2017-06-11 20:34:12 +01:00
Andrew Tridgell
1455c23230 Plane: fixed docs for tailsitter 2017-06-10 18:41:34 +10:00
Randy Mackay
e84b5c63be LandingGear: remove unused enabled method
Also minor formatting fix
2017-06-10 10:34:33 +09:00
Randy Mackay
45147af455 AP_Beacon: fit SITL beacon location 2017-06-09 15:24:36 +09:00
Randy Mackay
db45442de2 AP_Math: remove unused angle method 2017-06-09 15:21:58 +09:00
Andrew Tridgell
bcd305c821 AP_Compass: fixes for merge with master 2017-06-09 14:56:33 +10:00
Andrew Tridgell
04430457d5 AP_Compass: attempts to diagnose the twitches in MMC3416 2017-06-09 14:56:33 +10:00
Andrew Tridgell
36932a2959 AP_Compass: implement full state machine for MMC3416
this uses 100Hz readings most of the time, but does slow offset
readings every 50 samples
2017-06-09 14:56:33 +10:00
Andrew Tridgell
167988b5c4 AP_Compass: implement MMC3416 temperature compensation
this is much slower, but removes temperature offset
2017-06-09 14:56:33 +10:00
Andrew Tridgell
736fb715ec AP_Compass: MMC3416 magnetometer driver 2017-06-09 14:56:33 +10:00
Tom Pittenger
51fa76d971 Sub: fixed startup order of setting mavlink system ID
Set sysid from param before you init the serial port so you always output the intended sysid. Ported the same fix as c01a7718c1
2017-06-08 20:43:07 -07:00