Andrew Tridgell
c4b17b74e2
Plane: use handle_set_mode()
2014-10-01 14:19:20 +10:00
Randy Mackay
82225de6fa
Plane: allow GCS to turn safety switch on/off
2014-10-01 13:11:50 +10:00
Randy Mackay
7a6b55368e
Plane: set sys_status motor outputs bit from safety switch
2014-10-01 13:09:58 +10:00
Randy Mackay
6d3acba04c
Plane: check target of set-mode request from GCS
...
Issue discovered and fix contributed by Deadolous
2014-09-30 15:19:25 +10:00
Andrew Tridgell
4b01cee330
Plane: send heartbeat to AFS when calibrating sensors
2014-09-24 12:02:39 +10:00
Randy Mackay
c2cdc0468b
Plane: individual accel and gyro status to GCS
2014-09-03 11:22:53 +09:00
Andrew Tridgell
b6319a9d19
Plane: keep an estimate of the rangefinder altitude
...
only accept data when we have had 10 samples in a row in range at 50Hz
2014-08-27 17:14:19 +10:00
Randy Mackay
c107f1da69
Revert "Plane: use rcmap when sending radio_in to GCS"
...
This reverts commit 441f23eed4
.
2014-08-16 20:31:21 +09:00
Randy Mackay
441f23eed4
Plane: use rcmap when sending radio_in to GCS
2014-08-16 15:27:35 +09:00
Randy Mackay
7d7272520e
Plane: use baro healthy()
...
Use baro last update time in place of healthy to determine whether HIL
sensor updates have started
2014-08-14 16:03:28 +09:00
Randy Mackay
b619c3956c
Plane: report baro health to GCS
2014-08-14 16:02:52 +09:00
Andrew Tridgell
ce9b14f0c8
Plane: convert to using StorageManager
2014-08-13 18:46:44 +10:00
Andrew Tridgell
817164914e
Plane: added airspeed simulation in HIL
2014-08-10 18:17:12 +10:00
Andrew Tridgell
0d7d6e1d2a
Plane: zero loc structure in HIL_STATE handling
...
this avoids av AVR bug in HIL
2014-08-09 22:50:15 +10:00
Andrew Tridgell
74fc7fbea5
Plane: added 2nd battery monitoring support
2014-08-09 22:50:14 +10:00
Przemek Lekston
75f9b8853d
GCS_Mavlink.pde: Fix for a possible segfault after passing ARSPD_FBW_MIN
2014-08-07 12:35:31 +10:00
Andrew Tridgell
d54bb68270
Plane: prevent cross-track on some WP types
...
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
2014-08-04 21:02:13 +10:00
Andrew Tridgell
b64ab07ca4
Plane: added STAB_PITCH_DN_CD parameter
...
this adds some down trim when at throttle levels below the trim
throttle in FBWA mode.
defaults to 200 centi-degrees. I may adjust based on flight tests
2014-08-03 17:17:20 +10:00
Andrew Tridgell
fe3c51d516
Plane: prevent integer underflow with comm_get_txspace()
2014-07-27 22:12:08 +10:00
Andrew Tridgell
077177384d
Plane: fixed guided alt without terrain bit
2014-07-25 10:31:45 +10:00
Andrew Tridgell
b158b7e5a9
Plane: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE
2014-07-25 07:59:54 +10:00
Andrew Tridgell
07583a0604
Plane: added terrain status reporting
2014-07-24 21:50:19 +10:00
Andrew Tridgell
43b2e34242
Plane: fixed txsize check for airspeed info
...
prevent underflow
2014-07-24 21:46:06 +10:00
Andrew Tridgell
6f538aa556
Plane: handle TERRAIN_CHECK requests
2014-07-24 21:46:06 +10:00
Andrew Tridgell
32bfeed169
Plane: incorporate terrain mavlink calls
2014-07-24 21:45:47 +10:00
Andrew Tridgell
c5a765758c
Plane: update for new API
2014-07-13 15:37:50 +10:00
Randy Mackay
b17125e261
Plane: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
...
replaces ardupilot specific SET_MAG_OFFSETS message
2014-07-10 20:25:24 +09:00
Randy Mackay
042c65c501
Plane: add support for DO_SET_ROI outside of missions
2014-07-09 21:27:01 +09:00
Andrew Tridgell
3390224491
Plane: avoid some float conversion warnings
2014-07-08 20:26:07 +10:00
Andrew Tridgell
28e1449e8d
Plane: updates for new AP_RangeFinder API
2014-07-08 15:07:50 +10:00
Andrew Tridgell
017e4b4c8a
Plane: update for AP_Mount change
2014-06-18 12:04:53 +10:00
Andrew Tridgell
cea30e1d9f
Plane: use new GCS_Common.cpp functions
2014-05-28 09:36:04 +10:00
Andrew Tridgell
511e8beaed
Plane: updates for new GCS_MAVLink API
2014-05-21 12:45:25 +10:00
Andrew Tridgell
182d0f9cb0
Plane: added reporting of AHRS health
2014-05-15 21:14:22 +10:00
Andrew Tridgell
956ff65a25
Plane: RC override input should be considered as valid RC input
...
this prevents us setting trim values under joystick control
2014-04-29 11:46:06 +10:00
Andrew Tridgell
e15350f756
Plane: use get_current_nav_index()
2014-04-22 11:40:18 +10:00
Michael Day
568fc9e6c9
Plane: Now using AP_Rally library.
2014-04-19 09:16:05 +10:00
Andrew Tridgell
1bce4239a3
Plane: added AUTOTUNE flight mode
...
this is just like FBWA, but with automatic roll/pitch tuning
2014-04-12 14:12:14 +10:00
Andrew Tridgell
de3c04adaf
Plane: show next wp when not running a mission
...
this lets the GCS know what wp would be run if auto mode is selected
2014-04-07 11:40:58 +10:00
Andrew Tridgell
f7858bfb0a
Plane: added support for SERIAL_CONTROL message
2014-04-05 07:34:33 +11:00
Andrew Tridgell
88693796ef
Plane: update for GPS.setHIL() API
2014-04-02 07:55:28 +11:00
Andrew Tridgell
e19341ca32
Plane: convert to new GPS driver API
2014-04-01 06:38:24 +11:00
Michael Day
268b1e85a1
Plane: Changes needed prior to merging with master identified by Tridge.
2014-03-27 09:26:20 +11:00
Michael Day
25f23cf16c
Plane: Sends MAV_SYS_STATUS_GEOFENCE and also allows GCS to enable/disable fence.
2014-03-27 09:26:20 +11:00
Andrew Tridgell
32a1c717e6
Plane: report up to 18 RC input channels via MAVLink
2014-03-25 14:47:43 +11:00
Andrew Tridgell
b8781ccea7
Plane: fixed a compiler warning
2014-03-24 12:52:05 +11:00
Andrew Tridgell
d124fdb182
Plane: report compass unhealthy if primary compass unhealthy
2014-03-24 07:03:53 +11: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
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
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
abfcee1cef
Plane: fixed channel reversal in HIL
...
makes it possible to reverse channels
2014-03-19 14:17:40 +11:00
Andrew Tridgell
4031f7d368
Plane: use common deferred message handling
2014-03-19 12:14:17 +09:00
Andrew Tridgell
b74fddade3
Plane: use common MISSION_ITEM code
2014-03-19 12:14:11 +09:00
Andrew Tridgell
0d39f354b0
Plane: use new common MAVLink code
2014-03-19 12:13:38 +09:00
Andrew Tridgell
7d3523b4a7
Plane: use _send_buf() functions to reduce stack usage in MAVLink replies
...
this re-uses the incoming message buffer in constructing the reply
2014-03-19 12:13:28 +09:00
Andrew Tridgell
537e78f9fa
Plane: much faster mission upload
...
send next WP request immediately if possible. This speeds up mission
upload on USB by about 10x
2014-03-19 12:13:27 +09:00
Randy Mackay
1ad743c4e1
Plane: use common GCS_MAVLink handle_mission methods
2014-03-19 12:13:21 +09:00
Andrew Tridgell
740ecc2c1b
Plane: use new handle_mission_request() function
2014-03-19 12:13:12 +09:00
Randy Mackay
96b2e88e36
Plane: add comment to GCS_Mavlink.pde
2014-03-19 12:13:03 +09:00
Andrew Tridgell
4bf140aeac
Plane: make next_WP and prev_WP be locations
...
having a command ID in them doesn't really make sense
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:12:39 +09:00
Randy Mackay
982ce56d2b
Plane: bug fix to set_current_cmd
...
When set_current_cmd mavlink message is received, resume mission only if
the mission has completed.
Stop mission when vehicle leaves AUTO mode.
2014-03-19 12:12:28 +09:00
Andrew Tridgell
3277416aeb
Plane: fixed relative altitudes and resuming mission
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:12:22 +09:00
Randy Mackay
033b7eca9e
Plane: integrate variable max num commands
2014-03-19 12:12:02 +09:00
Randy Mackay
601cde2a32
Plane: remove alt_in_cm from mavlink to cmd conversion
2014-03-19 12:11:03 +09:00
Randy Mackay
bc86a5043a
Plane: bug fix for relative alt
2014-03-19 12:11:00 +09:00
Randy Mackay
ddba6f5c19
Plane: mission integration into GCS_Mavlink.pde
2014-03-19 12:10:57 +09:00
Randy Mackay
e88f1953d0
Plane: use common location options masks
2014-03-19 12:10:21 +09:00
Andrew Tridgell
e784c81f3e
Plane: only send GPS2_RAW when we have a 2nd GPS
2014-03-03 07:05:52 +11:00
Andrew Tridgell
07826096a2
Plane: support a 2nd GPS
2014-02-26 09:24:23 +11:00
Andrew Tridgell
95dd252f29
Plane: pass fix type to gps->setHIL()
2014-02-25 21:11:15 +11:00
Andrew Tridgell
492e65acde
Plane: fix for HIL API change
2014-02-23 08:18:31 +11:00
Andrew Tridgell
33851030a4
Plane: use ahrs.get_armed()
2014-02-19 10:53:26 +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
11337ab2df
Plane: updates for AHRS holding home position
2014-02-15 05:29:47 +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
Andrew Tridgell
006b9da6be
Plane: only include NavEKF on fast CPUs
2014-02-15 05:28:08 +11:00
Andrew Tridgell
1fbae4dd44
Plane: enable NavEKF logging in plane
2014-02-15 05:28:07 +11:00
Andrew Tridgell
7de8be1956
Plane: log power status on Pixhawk
2014-02-15 05:00:09 +11:00
Andrew Tridgell
043c80dbe6
Plane: use new board_voltage() method
2014-02-14 21:50:59 +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
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
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
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
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
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
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
e0b511e367
Plane: enable new log download functions
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
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