Commit Graph

1129 Commits

Author SHA1 Message Date
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
Randy Mackay 45ab18f131 Plane: rename Log_Write_SERVO to Log_Write_RCOU 2013-11-27 20:18:16 +09:00
Andrew Tridgell 079d48f6cc Plane: use log system ID if available 2013-11-26 13:00:03 +11:00
Andrew Tridgell 8383abc1fe Plane: added SERIAL2_BAUD and rename SERIAL3_BAUD to SERIAL1_BAUD 2013-11-26 13:00:03 +11:00
Andrew Tridgell a05a32dbda Plane: added RCIN and SRVO logging 2013-11-26 09:04:43 +11:00
Andrew Tridgell 457183b6f5 Plane: cope with uartD being NULL 2013-11-23 21:44:45 +11:00
Andrew Tridgell 5f32f44366 Plane: fixed mavlink_queue[] size 2013-11-23 19:29:23 +11:00
Andrew Tridgell 2fa5e6310d Plane: added 3rd telemetry stream on platforms that have it
this generalises the gcs object usage
2013-11-23 19:29:22 +11:00
Andrew Tridgell 490a061c6f Plane: added HIL_ERR_LIMIT
this allows DCM to recover if HIL attitude drifts too far from true attitude
2013-11-23 18:50:57 +11:00
Andrew Tridgell 17c9cedac1 Plane: send out HIL servo updates as soon as we can
this improves the servo responsiveness of HIL a lot
2013-11-23 18:50:57 +11:00
Andrew Tridgell 1e36ebc31b Plane: reset HIL attitude if off by more than 5 degrees 2013-11-23 18:50:56 +11:00
Andrew Tridgell 8bfe59cea5 Plane: send SIMSTATE messages in HIL
this allows better tracking of the simulator state, to see if issues
are caused by DCM failure
2013-11-23 18:50:56 +11:00
Andrew Tridgell 58b767b8e4 Plane: rename geofence structure
makes using gdb easier as it doesn't mix up the structure and the
pointer
2013-11-23 18:50:55 +11:00
Randy Mackay c01a3debd6 Plane: log INS errors in PM message 2013-11-18 13:08:40 +09:00
Andrew Tridgell 56f574684d Plane: fixed throttle failsafe with reversed throttle 2013-11-17 15:32:53 +11:00
Andrew Tridgell 2af69b7131 Plane: make batter failsafe docs clearer 2013-11-09 18:14:02 +11:00
Andrew Tridgell 7e10811673 Plane: send firmware and git version in tlog 2013-11-09 10:09:20 +11:00
Andrew Tridgell eee1364f05 Plane: update comments on ALT_CTRL_ALG and NAV_CONTROLLER 2013-11-08 07:54:16 +11:00
Andrew Tridgell c1bc093cf5 Plane: removed unused variable 2013-11-07 13:54:25 +11:00
Andrew Tridgell 1aa29df52d Plane: report INS and airspeed health 2013-11-07 12:48:17 +11:00
Andrew Tridgell 53c3dff334 Plane: allow changing of loiter direction while loitering
useful for causing path capture failures in the sim
2013-11-07 11:54:28 +11:00
Andrew Tridgell 1328bbf040 Plane: log the AHRS error terms in dataflash
also log raw IMU at 10Hz with default config
2013-11-07 10:19:13 +11:00