Matthew Lloyd
60a4f74de6
AP_Compass: avoid division by zero if we haven't received any mag reports
...
Otherwise, get_field() will return NaNs after once every few calls to
read() during compassmot on PX4 platforms, which causes compassmot to fail.
This is a quick hack around the deeper issue, which could be something
like the PX4 mag driver experiencing starvation and skipping mag reports,
buffer overrun or something else that causes mag reports to be dropped.
Or perhaps we should never expect in the first place that we will always
receive at least one mag report between calls to read().
2014-03-23 21:22:32 +11:00
priseborough
7ae86b3979
AP_NavEKF : Track baro height observations pre-arm
...
This prevents copter from failing the pre-arm height discrepancy test
2014-03-23 18:25:50 +11:00
priseborough
7780d55788
AP_NavEKF : Prevent large magnetic field adaptations early in flight
2014-03-22 19:55:26 +11:00
Andrew Tridgell
af2ae30b65
AntennaTracker: fixed APM2 serial speed handling
...
need to change based on USB mux status
2014-03-22 19:31:51 +11:00
Andrew Tridgell
3a3a074fab
AntennaTracker: fixed ballerina and more accurate tracking
...
implement new parameter options
2014-03-22 19:31:51 +11:00
Andrew Tridgell
262f8b9f48
AntennaTracker: added STOP mode
...
to stop tracker moving
2014-03-22 19:31:51 +11:00
Andrew Tridgell
ba312ee68e
AntennaTracker: lots of new parameters
...
YAW_SLEW_TIME, PITCH_SLEW_TIME, MIN_REVERSE_TIME, START_LATITUDE,
START_LONGITUDE and STARTUP_DELAY
See the parameter docs for explanations
2014-03-22 19:31:41 +11:00
Randy Mackay
3efad982c0
GCS_Mavlink: return MISSION_INVALID when conversion fails
...
Requested by MichaelO to allow better error message to be displayed to
user when the mission upload from the GCS to vehicle fails
2014-03-22 11:29:36 +09:00
Paul Riseborough
f7007569d1
AP_NavEKF : Fix bug that limits copter sensor delay compensation to 125
...
msec
2014-03-21 21:52:20 +11:00
Paul Riseborough
b2c0979947
AP_NavEKF : Fixes bug that causes accel bias to diverge in static mode, preventing copter arming
2014-03-21 21:49:50 +11:00
Randy Mackay
71f61c9bef
Copter: fix typo to show ATUN FMT in dataflash logs
2014-03-21 15:44:06 +09:00
Andrew Tridgell
f6b56b5d26
Plane: fixed mission resume at arbitrary waypoints
...
on completion of a mission a user can ask for it to resume at any wp
2014-03-21 10:21:37 +11:00
Andrew Tridgell
a55c4e2296
AP_TECS: set target airspeed, not min/max airspeed, on landing
...
this seems to prevent ballooning of the altitude when we are in the
landing approach, and gives a much smoother landing
2014-03-20 17:34:39 +11:00
Andrew Tridgell
98530928b5
AP_TECS: make target landing speed a float
...
some users may want more precise control
2014-03-20 17:34:36 +11:00
Andrew Tridgell
861523a00a
Plane: use TECS get_target_airspeed()
2014-03-20 17:34:33 +11:00
Andrew Tridgell
b1ad2be897
AP_SpdHgtControl: added get_target_airspeed() interface
2014-03-20 17:34:29 +11:00
Michael Day
bd7e1b82e1
AP_TECS: Auto landing now takes throttle_nudge into account.
2014-03-20 17:34:26 +11:00
Michael Day
861690dea2
AP_TECS: New params LAND_ARSPD and LAND_THR auto-slowing landings.
...
Also controlling pitch by ignoring height error during landing.
This serves to keep the nose up.
2014-03-20 17:34:23 +11:00
Andrew Tridgell
3bdc22d672
AP_Mission: make p1 16 bit
...
this gives us a 16 bit value for extra data on a location, allowing
for an accurate angle in centi-degrees.
Also add validation of the size of the union arms in Content
2014-03-20 16:57:09 +11:00
Andrew Tridgell
959cafef8d
AP_Common: make alt in Location 24 bit
...
this allows for up to 83km mission altitudes, while allowing for 1
more byte in the command structure, making p1 16 bits
2014-03-20 16:57:09 +11:00
Craig Elder
428dcdb817
Frame_params: Updated Iris.param
2014-03-19 19:49:27 -07:00
Craig Elder
2131d9923f
Frame_params: Added Iris with Tarot Gimbal
2014-03-19 19:48:44 -07:00
Andrew Tridgell
d508c7f37f
GCS_MAVLink: re-generate MAVLink headers
2014-03-20 10:21:28 +11:00
Andrew Tridgell
106fda773f
GCS_MAVLink: merge XML from upstream
2014-03-20 10:20:00 +11:00
Andrew Tridgell
552674389d
Rover: enable logging of RADIO_STATUS
2014-03-20 09:56:37 +11:00
Andrew Tridgell
4a01315fc5
Copter: enable logging of RADIO_STATUS
2014-03-20 09:56:37 +11:00
Michael Day
dd06756abf
Plane: Add Log_Write_Radio. MASK_LOG_PM must be set for logging to occur.
2014-03-20 09:56:37 +11:00
Andrew Tridgell
8af9573806
GCS_MAVLink: allow logging of RADIO_STATUS, very useful for link analysis
2014-03-20 09:56:37 +11:00
Michael Day
68dbfd6315
DataFlash: Add Log_Write_Radio to store RSSI and noise on board.
2014-03-20 09:56:37 +11:00
Andrew Tridgell
8202cf437b
AP_Relay: fixed Pixhawk relay pin numbers
...
thanks to Craig for spotting this!
2014-03-20 09:40:08 +11:00
Andrew Tridgell
4257d8365c
Plane: removed check on target_component in ARM/DISARM
...
Thanks to DonLakeFlyer for finding this, see
https://github.com/diydrones/ardupilot/pull/909
2014-03-20 09:06:48 +11:00
Andrew Tridgell
a345a9d993
Copter: removed check on target component in arm
...
Thanks to DonLakeFlyer for finding this, see
https://github.com/diydrones/ardupilot/pull/909
2014-03-20 09:06:28 +11:00
Paul Riseborough
8a2d16d13d
AP_NavEKF : modifed Zaccel bias noise parameter to prevent unstable bias estimate
2014-03-20 08:50:00 +11:00
Andrew Tridgell
314daabc9d
scripts: test build of Replay in build_all.sh
2014-03-19 21:04:16 +11:00
Andrew Tridgell
2008f737cf
Replay: fixed build with AP_Mission
2014-03-19 21:02:39 +11:00
Andrew Tridgell
ce3f40b095
Plane: use should_log() for more msgs
2014-03-19 14:18:14 +11:00
Andrew Tridgell
3d167b5420
Rover: use should_log() for more log msgs
2014-03-19 14:18:12 +11:00
Andrew Tridgell
abfcee1cef
Plane: fixed channel reversal in HIL
...
makes it possible to reverse channels
2014-03-19 14:17:40 +11:00
Randy Mackay
9ff5ba3c3f
Rover: integrate Mission cmd field changes
2014-03-19 12:14:27 +09:00
Randy Mackay
88527cd01c
Copter: integrate Mission cmd field changes
2014-03-19 12:14:25 +09:00
Randy Mackay
3ce56f3086
Plane: integrate Mission cmd field changes
2014-03-19 12:14:24 +09:00
Randy Mackay
c520cb789c
Mission: cmd field types to match mavlink commands
...
Split Set-Servo and Repeat-Servo command structures
Split Set-Relay and Repeat-Relay command structures
2014-03-19 12:14:22 +09:00
Andrew Tridgell
1f74736804
AntennaTracker: use common deferred message handling
2014-03-19 12:14:21 +09:00
Andrew Tridgell
e4b3323455
Copter: use common deferred message handling
2014-03-19 12:14:20 +09:00
Andrew Tridgell
8da72fccba
Rover: use common deferred message handling
2014-03-19 12:14:18 +09:00
Andrew Tridgell
4031f7d368
Plane: use common deferred message handling
2014-03-19 12:14:17 +09:00
Andrew Tridgell
0832aba6bc
GCS_MAVLINK: moved deferred message handling into common code
2014-03-19 12:14:15 +09:00
Andrew Tridgell
c8eafc4d42
Rover: use common MISSION_ITEM handling
2014-03-19 12:14:14 +09:00
Andrew Tridgell
69252868a8
Copter: use common MISSION_ITEM handling
2014-03-19 12:14:12 +09:00
Andrew Tridgell
b74fddade3
Plane: use common MISSION_ITEM code
2014-03-19 12:14:11 +09:00