Randy Mackay
d19b566d97
OptFlow: remove unused variables
...
Saves 24bytes RAM by removing several static variables that were used
only for internal calculations
2014-02-10 13:53:49 +09:00
Andrew Tridgell
b907263685
AP_BoardConfig: added BRD_SER1_RTSCTS and BRD_SER2_RTSCTS
...
used to enable flow control on telemetry ports
2014-02-10 12:57:19 +11:00
Andrew Tridgell
3e637ac5d9
AP_HAL: added enable_flow_control() option in AP_HAL
2014-02-10 12:54:50 +11:00
Randy Mackay
c9415a08f1
AC_WPNav: use ahrs trig values
2014-02-08 18:16:47 +09:00
Randy Mackay
98d667c916
AHRS_HIL: call update_trig
2014-02-08 18:16:44 +09:00
Randy Mackay
6946d68318
AHRS_DCM: call update_trig
2014-02-08 18:16:42 +09:00
Randy Mackay
3dc6ea682c
AHRS: add update_trig
...
Calculates helper trig values including cos_roll, cos_pitch
2014-02-08 18:16:39 +09:00
Andrew Tridgell
a95a3142e0
AP_InertialSensor: use fixed size arrays
...
apparently helps SITL build on MacOS
2014-02-08 19:32:26 +11:00
Bill Bonney
82ea5926a8
OptFlow: update function added to fix compiler error
2014-02-08 11:53:04 +09:00
Randy Mackay
14409ee20f
Copter: disable aux channels used for motors
2014-02-07 22:04:27 +09:00
Randy Mackay
7c25247c87
Copter: disable aux channel 7 for SingleCopter
...
Move servo range setup to AP_MotorsSingle
2014-02-07 22:04:26 +09:00
Randy Mackay
9b594dc5e1
Copter: disable aux channel ch7 for Tri
2014-02-07 22:04:24 +09:00
Randy Mackay
1426078cdb
TradHeli: disable aux channels 7 and 8
2014-02-07 22:04:23 +09:00
Paul Riseborough
bc311542ab
AP_TECS : Fixed bug preventing accel launch detection when not using AS sensor
2014-02-07 19:20:54 +11:00
Dneault
5213ec4aa6
Coax: servos to ch1, ch2, motors to ch3, ch4
2014-02-07 12:36:19 +09:00
Randy Mackay
f60d94c4ab
Coax: remove unused servo3, servo4
...
Removed commented out code
2014-02-07 12:36:06 +09:00
Dneault
f48e106271
Copter: add coax heli support
...
Motors should be attached to RCOutputs 1 and 2, Flaps should be connected
to RC outputs 3 and 4
2014-02-07 12:36:04 +09:00
Andrew Tridgell
00d2d5946c
RC_Channel: added disable_aux_channel()
...
this will be used by copter to ensure motor channels are not enabled
for aux functions
2014-02-06 21:30:55 +11:00
Andrew Tridgell
b4208c7fc0
RC_Channel: added flaperon1 and flaperon2 function outputs
2014-02-06 12:35:32 +11:00
Andrew Tridgell
698736b66d
RC_Channel: simplify the setup of aux channels
...
avoid the nasty mess of #if lines, as the info is in the constructor
anyway
2014-02-06 10:17:16 +11:00
Andrew Tridgell
264c092aa6
AP_ServoRelayEvents: fixed disabling repeated events on set_servo()
2014-02-06 10:03:26 +11:00
Randy Mackay
a963ec7e3b
AP_Math: bug fix to wrap_360 and wrap_180
...
angles above 720deg and below 3200deg might not have been properly
wrapped.
wrap_360_cd could return 36000 when really this should be wrapped back
to zero.
2014-02-03 12:56:56 +09:00
Andrew Tridgell
688f61c087
AP_Param: expose check_var_info() as a public symbol
2014-01-31 13:07:41 +11:00
Andrew Tridgell
c0e548fc60
AP_Notify: fixed example build
2014-01-30 13:33:59 +11:00
Andrew Tridgell
93070a673e
AP_Math: fixed example build
2014-01-30 13:33:46 +11:00
Andrew Tridgell
045efdb084
AP_InertialSensor: fixed example builds
2014-01-30 13:33:38 +11:00
Andrew Tridgell
a339ec25c8
AP_Airspeed: fixed example build
2014-01-30 13:33:29 +11:00
Andrew Tridgell
cf1f05a198
AP_Airspeed: expose get_temperature()
2014-01-28 10:35:35 +11:00
Andrew Tridgell
fc3ed61e67
DataFlash: added baro dataflash logging
2014-01-28 10:35:18 +11:00
Andrew Tridgell
8f3071b1b8
AP_Arming: more detail in ARMING_CHECK docs
2014-01-25 22:22:50 +11:00
Andrew Tridgell
23d8bfa976
AP_Notify: reduce the latency in the main task of LED updates
...
the ioctl now gets called in a IO timer callback
2014-01-24 10:40:39 +11:00
Andrew Tridgell
0d174db05b
AP_Math: added equality operator for VectorN
2014-01-24 10:37:08 +11:00
Andrew Tridgell
aae0e3c0e5
AP_Arming: allow checking of pre-arm without reporting
...
useful for updating AP_Notify LEDs
2014-01-23 21:39:55 +11:00
Andrew Tridgell
330a4649fd
AP_Notify: fixed LED colour for no-GPS and armed
2014-01-23 21:39:31 +11:00
Andrew Tridgell
58d3729d16
AP_InertialSensor: fixed default health functions
...
this fixes INS on APM1. Thanks to Mike McCauley for noticing this!
2014-01-22 22:08:28 +11:00
Andrew Tridgell
54562b0b9a
AP_Compass: prevent bad initial values from affecting HMC5883 calibration
...
the first couple of values after we enter strap mode may be low, but
just above our 0.7 threshold. We now discard the first two values to
prevent these affecting the average.
Also added some commented out debug code and a comment on the scaling
of the calibration code
2014-01-22 17:15:34 +11:00
Andrew Tridgell
67aab44566
AP_ServoRelayEvents: library for handling servo and relay events
2014-01-20 17:06:29 +11:00
Andrew Tridgell
4aa901f203
AP_Relay: added enabled() API
2014-01-20 17:06:29 +11:00
Andrew Tridgell
55b604b147
AP_Camera: updates for relay API change
2014-01-20 17:06:29 +11:00
Andrew Tridgell
e42ba853ec
AP_Relay: enable up to 4 relay pins
2014-01-20 17:06:29 +11:00
Andrew Tridgell
b5822cd549
AP_BoardConfig: board specific config library
...
used to control board specific parameters, such as PWM output count
2014-01-20 17:06:28 +11:00
Andrew Tridgell
99b41f110f
HAL_PX4: enable the FMU PWM pins to be used as GPIO when needed
2014-01-20 17:06:28 +11:00
Paul Riseborough
f2c2811ef3
AP_AHRS & AP_Math: fixed bug in use of AHRS_TRIM parameters
2014-01-19 07:19:43 +11:00
Don Gagne
68b3b31499
Param doc typo
2014-01-18 10:18:58 +09:00
Andrew Tridgell
fc6ce42a28
HAL_AVR: fixed build
2014-01-17 15:00:20 +11:00
Randy Mackay
965e5b2dfd
INS: check for good calibration for 10seconds
...
Shortened gyro calibration commit also halved the total time we would
look for a good gyro calibration. This restores the total time to 10
seconds.
2014-01-17 12:48:11 +09:00
Andrew Tridgell
87cc95dd7f
AP_HAL: removed unused enable_mask and disable_mask functions
2014-01-16 17:16:17 +11:00
Randy Mackay
1f76ada9dd
INS: shortened gyro calibration
...
Removed delays before calibration, reduced number of samples taken,
widened convergence criteria
2014-01-16 13:40:49 +09:00
Andrew Tridgell
e1f06c532a
HAL_PX4: more checking of IO results in eeprom driver
2014-01-16 13:11:14 +11:00
Andrew Tridgell
3ae6f03761
HAL_PX4: be less verbose about disarmed PWM setup
2014-01-16 13:11:13 +11:00