Commit Graph

11751 Commits

Author SHA1 Message Date
Andrew Tridgell e7b0e32bfe Rover: set 2nd GPS as secondary 2014-03-08 21:48:23 +11:00
Andrew Tridgell 43d009e3a5 Copter: set 2nd GPS as secondary 2014-03-08 21:48:18 +11:00
Andrew Tridgell 65ae9663d4 Plane: set 2nd GPS as secondary 2014-03-08 21:48:12 +11:00
Andrew Tridgell 794cc33e6a GPS: added set_secondary() function
for preventing notify updates for 2nd GPS
2014-03-08 21:47:49 +11:00
Andrew Tridgell 148fd889bc Rover: fix for X8R receiver on SBUS in failsafe
the X8R briefly gives PWM of 874 on all channels when the receiver is
setup as "no pulses" failsafe handling. This was interpreted as switch
position 0, which was AUTO for me.

This change rejects pulse widths below 900 for mode changes
2014-03-08 19:27:50 +11:00
Andrew Tridgell 8574303a94 Plane: treat PWM below 900 as invalid for mode switch
the FrSky X8R receiver will briefly give a PWM of 874 on channel 5
when connection is lost to the transmitter. We need to ensure this
doesn't cause a mode switch
2014-03-08 19:27:50 +11:00
Andrew Tridgell 3a3397d926 Plane: fixup throttle trim on failsafe 2014-03-08 19:27:50 +11:00
Randy Mackay 6408965ae9 Git: ignore /ArduCopter/test.ArduCopter directory 2014-03-08 16:04:54 +09:00
Randy Mackay 9287e28307 Copter: bug fix display of PerfMon log's num long loops 2014-03-08 15:17:03 +09:00
Randy Mackay 54e131cf1f Copter: re-enable CLI for Pixhawk 2014-03-08 15:17:02 +09:00
Andrew Tridgell c9ebd6a175 Plane: improved RC failsafe handling
this forces all primary control inputs to the trim value on loss of RC
input, and reduces the timeout for loss of RC input to 1 second from 2
2014-03-08 16:20:54 +11:00
Craig Elder 5a80ae0f61 Frame_params: Updated 3DR Iris for Tarot Gimbal 2014-03-07 18:27:13 -08:00
Craig Elder 74bd5f9e40 Frame_params: Updated 3DR Y6B for Tarot Gimbal 2014-03-07 18:26:07 -08:00
Craig Elder 70ca616696 Frame_params: Updated 3DR X8 for Tarot Gimbal 2014-03-07 18:23:00 -08:00
Craig Elder df51b3025b Frame_params: Updated 3DR Quad for Tarot Gimbal 2014-03-07 18:22:09 -08:00
Craig Elder 2869d6fd08 Frame_Parameters: Added Skywalker 2014-03-07 18:20:47 -08:00
Paul Riseborough 94ff7522fc AP_NavEKF : Fix bug in initial East mag field state variance 2014-03-08 07:44:34 +11:00
Andrew Tridgell 63234d4c22 AP_Baro: fixed linux build of BMP085 driver 2014-03-07 09:33:43 +11:00
Andrew Tridgell 330728cd80 Replay: fixed compass readings on rover 2014-03-06 21:40:08 +11:00
Andrew Tridgell 5dfd9b074e Replay: fixed for rover logs 2014-03-06 17:51:49 +11:00
Randy Mackay 4cfe50b70c Notify: brighter RGB LED when on battery power 2014-03-05 21:38:29 +09:00
Randy Mackay 6efc26d3a6 Copter: restore mount's mode to default after ROI completes 2014-03-05 16:02:14 +09:00
Randy Mackay 1c457d8448 Mount: add get_mode and set_mode_to_default methods 2014-03-05 16:01:11 +09:00
Randy Mackay 7992a1a7d3 Copter: disable the CLI by default
This is unfortunate but master's flash size is over the APM2 limit
2014-03-05 12:03:56 +09:00
Randy Mackay 4f963e7795 Copter: move report_compass out of the CLI
This function is also used by compassmot.  Having it strictly part of
the CLI causes a compile error when the CLI is disabled
2014-03-05 12:01:45 +09:00
Randy Mackay 46c8206d0e Git: ignore xml files produced by Plane autotest 2014-03-05 11:44:10 +09:00
Randy Mackay 00f9843e40 Copter: remove CLI tests for gps, logging, radio
Required to shrink the firmware down so that it can fit on the APM2
boards
2014-03-05 11:44:09 +09:00
Andrew Tridgell 7104bdf855 Rover: support k_steering channel 2014-03-05 12:57:51 +11:00
Andrew Tridgell 2cf98e476c Plane: added support for a separate steering channel
good for ground steering on larger aircraft
2014-03-05 12:57:50 +11:00
Andrew Tridgell dd502e98b4 RC_Channel: added support for separate wheel steering channels on planes 2014-03-05 12:57:50 +11:00
Andrew Tridgell 8d95b953c3 Plane: removed some unused functions 2014-03-05 09:17:50 +11:00
Andrew Tridgell 0d6064034a Plane: use percent_input() for flaps 2014-03-05 09:17:50 +11:00
Andrew Tridgell a788405c8b RC_Channel: added percent_input() function
useful for plane flaps
2014-03-05 09:17:50 +11:00
Randy Mackay fc85228d09 Copter: remove CLI set
Frees about 1k of flash
2014-03-04 22:23:57 +09:00
Randy Mackay 3a934357e9 Copter: remove unused reset_land_detector 2014-03-04 22:23:55 +09:00
Randy Mackay c56f521897 Copter: ch6 tuning of RC_FEEL_RP 2014-03-04 22:23:53 +09:00
Randy Mackay e89600afe3 Copter: integrate smoothing gain into flight modes 2014-03-04 22:23:52 +09:00
Randy Mackay 3910ab807f Copter: replace input filtering with smoothing gain 2014-03-04 22:23:50 +09:00
Randy Mackay 429e8d5e50 Copter: integrate AttControl feel param 2014-03-04 22:23:49 +09:00
Randy Mackay 25ee5d5dc8 AC_AttControl: smoothing_gain to angle_ef_roll_pitch_rate_ef_yaw_smooth
pair-programmed with lthall
2014-03-04 22:23:14 +09:00
lthall a9db399f60 Copter: integrate AttControl input shaping 2014-03-04 21:52:20 +09:00
lthall 15f88c2a2b AC_AttControl: Stabilize input shaping 2014-03-04 21:52:18 +09:00
Andrew Tridgell 5f85e7af6a HAL_PX4: switch to new serial port for 2nd GPS 2014-03-04 20:34:44 +11:00
Andrew Tridgell e3952112ad Plane: raise default LIM_PITCH_MAX to 20 degrees
15 is often not enough to climb
2014-03-03 15:49:04 +11:00
Andrew Tridgell 989b26899f Rover: enable EKF detailed logging 2014-03-03 09:03:48 +11:00
Andrew Tridgell af2f72acb0 HAL_SITL: honor SIM_GPS2_ENABLE option 2014-03-03 07:07:29 +11:00
Andrew Tridgell 7a52938f68 SITL: added SIM_GPS2_ENABLE option 2014-03-03 07:07:09 +11:00
Andrew Tridgell 8d99de5eb5 autotest: use xterm by default and only use make clean if needed 2014-03-03 07:06:45 +11: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 86fa82f767 Copter: only send GPS2_RAW when we have a 2nd GPS 2014-03-03 07:05:47 +11:00