Commit Graph

1250 Commits

Author SHA1 Message Date
Andrew Tridgell
d7839aa4ab Plane: removed duplicate log description 2014-02-15 05:48:24 +11:00
Andrew Tridgell
1001df0e56 Plane: removed extra log enum 2014-02-15 05:48:23 +11:00
Andrew Tridgell
35a9201c9a Plane: fixed comma 2014-02-15 05:48:23 +11:00
Andrew Tridgell
a7faa58879 Plane: fixed up merge errors 2014-02-15 05:48:23 +11:00
Andrew Tridgell
a551703877 Plane: fixed parameter build for NavEKF 2014-02-15 05:48:22 +11:00
Paul Riseborough
8c4b0b9be9 Plane : NavEKF Mavlink tunable parameter - first attempt 2014-02-15 05:48:22 +11:00
Paul Riseborough
24f8f02942 Plane : disable AHRS centrifugal corrections when disarmed 2014-02-15 05:48:20 +11:00
Andrew Tridgell
bb4789a875 Plane: use common EKF logging 2014-02-15 05:48:16 +11:00
Andrew Tridgell
4646682a31 Plane: use common send_ahrs2() 2014-02-15 05:48:16 +11:00
Andrew Tridgell
57e0eb4db5 Plane: use a const reference for home 2014-02-15 05:48:15 +11:00
Andrew Tridgell
2817a11f23 Plane: added AHR2 and SIM logging 2014-02-15 05:48:14 +11:00
Andrew Tridgell
11337ab2df Plane: updates for AHRS holding home position 2014-02-15 05:29:47 +11:00
Andrew Tridgell
df5195e2c9 Plane: change for new AHRS API 2014-02-15 05:29:47 +11:00
Andrew Tridgell
e39247868c Plane: cleanup HIL defines 2014-02-15 05:29:46 +11:00
Andrew Tridgell
2cd6efa23e Plane: added DF logging of secondary AHRS solution 2014-02-15 05:29:45 +11:00
Andrew Tridgell
99cfaf6097 Plane: switched to AHRS2 message for reporting 2014-02-15 05:29:45 +11:00
Andrew Tridgell
9ac886f58d Plane: use AP_AHRS_NavEKF when available 2014-02-15 05:28:09 +11:00
Paul Riseborough
e0e4b1aefa Plane : Updated NavEKF flash data logging 2014-02-15 05:28:09 +11:00
Paul Riseborough
d6ead64083 Plane : Additional NavEKF flash logging 2014-02-15 05:28:08 +11:00
Andrew Tridgell
006b9da6be Plane: only include NavEKF on fast CPUs 2014-02-15 05:28:08 +11:00
Andrew Tridgell
ce9047cec5 Plane: added dataflash logging of EKF data 2014-02-15 05:28:07 +11:00
Andrew Tridgell
1fbae4dd44 Plane: enable NavEKF logging in plane 2014-02-15 05:28:07 +11:00
Andrew Tridgell
cd9027adfd Plane: added NavEKF object 2014-02-15 05:27:52 +11:00
Paul Riseborough
fb1345dd99 Plane : add suport for NavEKF 2014-02-15 05:27:52 +11:00
Andrew Tridgell
7de8be1956 Plane: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell
dfa95b3464 Plane: moved the always log flag to 1<<16
this prevent problems with transferring the bitmask as a float
2014-02-14 21:51:00 +11:00
Andrew Tridgell
043c80dbe6 Plane: use new board_voltage() method 2014-02-14 21:50:59 +11:00
Andrew Tridgell
ae9201342a Plane: allow FLAP_IN_CHANNEL to control k_flap and k_flap_auto too 2014-02-06 14:09:49 +11:00
Andrew Tridgell
c3b7e76c28 Plane: added flaperon support
this adds FLAPERON_OUTPUT and FLAP_IN_CHANNEL to allow both manual
and auto flap control for both normal flaps and flaperons
2014-02-06 12:38:59 +11:00
Andrew Tridgell
04f2c07b2b Plane: use new RC_Channels API 2014-02-06 10:17:16 +11:00
Andrew Tridgell
e42a10a764 Plane: allow printing of GUIDED mode in logs 2014-02-02 14:04:36 +11:00
Andrew Tridgell
48577ffbc2 Plane: check the parameter table on startup 2014-01-31 13:07:52 +11:00
Andrew Tridgell
f06152530c Plane: prepare for 2.78b release 2014-01-31 12:15:27 +11:00
Andrew Tridgell
6cabca690e Plane: fixed RSSI_RANGE enum
many thanks to Valince for spotting this
2014-01-31 12:14:18 +11:00
Andrew Tridgell
7009c4aead Plane: prepare for 2.78 release 2014-01-30 14:26:46 +11:00
Andrew Tridgell
3a986474e0 Plane: added RSSI_RANGE parameter 2014-01-30 11:29:35 +11:00
Andrew Tridgell
6b12f13d64 Plane: prepare 2.78beta2 2014-01-29 22:05:21 +11:00
Andrew Tridgell
906fc17905 Plane: added baro and airspeed logging
including raw temperature and pressure values
2014-01-28 10:35:59 +11:00
Andrew Tridgell
9f683e6b9b Plane: prepare 2.78beta1 2014-01-27 14:08:43 +11:00
Andrew Tridgell
369c130c2d Plane: consider GPS unhealthy if it doesn't have 3D lock 2014-01-27 09:02:22 +11:00
Andrew Tridgell
11ece65656 Plane: update docs for RSSI_PIN for pixhawk 2014-01-24 11:18:28 +11:00
Andrew Tridgell
e5e04d65ee Plane: improve LOG_BITMASK docs 2014-01-24 10:00:23 +11:00
Andrew Tridgell
c37a7cd9e1 Plane: update AP_Notify flags for arming state 2014-01-23 21:40:34 +11:00
Andrew Tridgell
ab4a5d676e Plane: ready for 2.77 release 2014-01-20 19:41:19 +11:00
Andrew Tridgell
c16e3a035f Plane: fixed disarmed throttle in HIL 2014-01-20 19:41:19 +11:00
Andrew Tridgell
776b999f43 Plane: fixed disarmed PWM output 2014-01-20 17:34:50 +11:00
Andrew Tridgell
cdd36b2c41 Plane: use AP_ServoRelayEvents library 2014-01-20 17:06:29 +11:00
Andrew Tridgell
2045591bed Plane: fixed servo and relay repeat code 2014-01-20 17:06:29 +11:00
Andrew Tridgell
e4e5c92453 Plane: fixed relay handling
the parameters were badly out of whack!
2014-01-20 17:06:29 +11:00
Andrew Tridgell
d3adf4c32c Plane: enable AP_BoardConfig 2014-01-20 17:06:28 +11:00
Andrew Tridgell
ada0dd5504 Plane: check both ground and airspeed in autocal test
when the airspeed ratio is far too low we were not raising it as the
airspeed was never getting above the minimum airspeed

Pair-Programmed-With: Jon Challinger
2014-01-17 10:29:28 +11:00
Andrew Tridgell
30a210cfa6 Plane: setup PWM to be used on throttle when safety is safe on PX4 2014-01-15 22:28:00 +11:00
Andrew Tridgell
3a5fb46dc2 Plane: fixed integer size problem on APM2 2014-01-14 21:27:39 +11:00
Andrew Tridgell
91cc08a3ef Plane: log PX4Firmware and NuttX git revisions in logs 2014-01-14 15:37:03 +11:00
Andrew Tridgell
cf09fef1db Plane: prevent log corruption when new log started 2014-01-14 14:29:14 +11:00
Andrew Tridgell
a15336079e Plane: start logging when first needed 2014-01-14 13:51:49 +11:00
Andrew Tridgell
8755747da0 Plane: only log when armed by default
use safety switch if arming not enabled
2014-01-14 13:07:43 +11:00
Andrew Tridgell
874110b29d Plane: make LOG_BITMASK 32 bits 2014-01-14 13:06:52 +11:00
Andrew Tridgell
def782c441 Plane: use uppercase names on microSD card where possible 2014-01-14 12:46:26 +11:00
Don Gagne
e68cf2d1c5 Plane: Fix parameter documentation
Fixes some problems with incorrect docs which would in turn generate
bad amp.pdef.xml files for ground stations.

merge with below
2014-01-09 14:02:21 +09:00
Andrew Tridgell
9df5887aab Plane: fixed redundent logging 2013-12-31 15:55:33 +11:00
Andrew Tridgell
d9cb101a03 Plane: default LOG_BITMASK to 32767 on non-APM 2013-12-31 10:28:38 +11:00
Michael Day
d4f42d41f7 Plane: removed some compile warnings from rally.pde 2013-12-31 09:48:24 +11:00
Michael Day
c87d72353f Plane: Introducing FENCE_RETALT parameter. 2013-12-31 09:48:20 +11:00
Michael Day
87c60ee293 Plane: Doc. update for ALT_HOLD_RTL with Rally Points. 2013-12-31 09:48:16 +11:00
Andrew Tridgell
f35cf2beba Plane: use file based logs in SITL 2013-12-29 07:14:31 +11:00
Andrew Tridgell
3486b933c0 Plane: use common send_meminfo() 2013-12-28 16:02:06 +11:00
Andrew Tridgell
72473e4317 Plane: use AP_HAL available_memory() call 2013-12-28 14:51:37 +11:00
Andrew Tridgell
6856cc6e4b Plane: break up GPS and logging, allow GPS update at 50Hz
this prevents mismatches in GPS message arrival and accel message
arrival from causing small DCM errors
2013-12-28 14:25:54 +11:00
Randy Mackay
a1d5c0a02a Plane: replace APM with board in cli 2013-12-28 10:42:30 +09:00
Andrew Tridgell
7ffbed24cc Plane: initialise scheduler callback after logging
this could cause log corruption otherwise
2013-12-28 10:24:46 +11:00
Andrew Tridgell
43a56151d7 Plane: reset mission on disarm
this makes repeated missions easier
2013-12-20 12:04:23 +11:00
Andrew Tridgell
89366a1ee1 Plane: fixed ARMING_REQUIRED=2 on APM2 to disable rc output on throttle 2013-12-20 11:59:45 +11:00
Andrew Tridgell
ce773f085a Plane: make the defaut for FS_GCS_ENABL clearer 2013-12-20 11:44:44 +11:00
Andrew Tridgell
263f3b116b Plane: added FS_GCS_ENABL==2 option
this allows GCS failsafe when the GCS isn't getting updates from the
aircraft
2013-12-20 11:39:00 +11:00
Andrew Tridgell
a4af83d454 Plane: only allow right rudder for arming
copter users may try to use left rudder to ensure aircraft is
disarmed. Making left rudder arm could be dangerous
2013-12-20 09:43:04 +11:00
Andrew Tridgell
77c6e51887 Plane: allow throttle failsafe on no RC input
on PX4 we just stop getting input on loss of RC - we need to consider
this to be "throttle failsafe"
2013-12-20 09:43:04 +11:00
Andrew Tridgell
4f242aedec Plane: fixed a bug where mode would not revert on geo-fence disable
the mode would not revert if the switch was in position 0
2013-12-17 14:14:13 +11:00
Michael Day
dcfed13c87 Plane: Fence breach now sends to correct return point in Guided Mode. 2013-12-17 14:14:13 +11:00
Andrew Tridgell
ca67c24eef Plane: removed common functions 2013-12-17 12:00:46 +11:00
Andrew Tridgell
d93b95186d Plane: prevent a build warning 2013-12-17 11:51:36 +11:00
Andrew Tridgell
8b7fe3cf50 Plane: changes for new DataFlash API 2013-12-17 11:51:36 +11:00
Andrew Tridgell
e0b511e367 Plane: enable new log download functions 2013-12-17 11:51:35 +11:00
Andrew Tridgell
508817d617 Plane: moved ap_message into GCS.h 2013-12-17 11:51:35 +11:00
Andrew Tridgell
4bad2cfb3a Plane: use common GCS.h 2013-12-17 11:51:35 +11:00
Andrew Tridgell
622a2053ff Plane: fixed parameters typo 2013-12-11 21:37:01 +11:00
Andrew Tridgell
3508a14542 Plane: small arming tidyups 2013-12-11 17:29:26 +11:00
Andrew Tridgell
b0236610b2 Plane: fixed arming bit in MAVLink heartbeat message 2013-12-11 17:29:26 +11:00
Andrew Tridgell
103da0c889 Plane: when no GPS lock always send GPS messages 2013-12-11 17:29:26 +11:00
Michael Day
b0a0316dd6 Plane: Now using AP_Arming library. 2013-12-11 17:29:23 +11:00
Andrew Tridgell
6ed21c12db Plane: added logging of 2nd compass 2013-12-10 15:32:11 +11:00
Andrew Tridgell
49f49648ec Plane: changes for compass healthy API 2013-12-09 17:47:38 +11:00
Andrew Tridgell
02af644010 Plane: report both sets of sensors in MAVLink 2013-12-09 17:34:07 +11:00
Andrew Tridgell
b637ab35e4 Plane: lower the priority of mount update 2013-12-09 17:34:07 +11:00
Andrew Tridgell
d642254f18 Plane: breakup one second loop into 3 pieces
this prevents it not running when gimbal is active
2013-12-09 17:34:07 +11:00
Andrew Tridgell
65c97a2f5f Plane: updates for compass API change 2013-12-09 17:34:06 +11:00
Randy Mackay
b6462c23af Plane: disable external leds 2013-11-30 22:53:55 +09:00
Andrew Tridgell
1124e84ae0 Plane: fixed APM1 build 2013-11-30 06:56:16 +11:00
Andrew Tridgell
6b4a3ef98b Plane: added MAVLink sonar logging 2013-11-28 21:49:27 +11:00
Andrew Tridgell
5a0cb5dea4 Plane: added sonar logging to dataflash 2013-11-28 21:49:27 +11:00