Andrew Tridgell
58d3729d16
AP_InertialSensor: fixed default health functions
...
this fixes INS on APM1. Thanks to Mike McCauley for noticing this!
11 years ago
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
11 years ago
Andrew Tridgell
67aab44566
AP_ServoRelayEvents: library for handling servo and relay events
11 years ago
Andrew Tridgell
4aa901f203
AP_Relay: added enabled() API
11 years ago
Andrew Tridgell
55b604b147
AP_Camera: updates for relay API change
11 years ago
Andrew Tridgell
e42ba853ec
AP_Relay: enable up to 4 relay pins
11 years ago
Andrew Tridgell
b5822cd549
AP_BoardConfig: board specific config library
...
used to control board specific parameters, such as PWM output count
11 years ago
Andrew Tridgell
99b41f110f
HAL_PX4: enable the FMU PWM pins to be used as GPIO when needed
11 years ago
Paul Riseborough
f2c2811ef3
AP_AHRS & AP_Math: fixed bug in use of AHRS_TRIM parameters
11 years ago
Don Gagne
68b3b31499
Param doc typo
11 years ago
Andrew Tridgell
fc6ce42a28
HAL_AVR: fixed build
11 years ago
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.
11 years ago
Andrew Tridgell
87cc95dd7f
AP_HAL: removed unused enable_mask and disable_mask functions
11 years ago
Randy Mackay
1f76ada9dd
INS: shortened gyro calibration
...
Removed delays before calibration, reduced number of samples taken,
widened convergence criteria
11 years ago
Andrew Tridgell
e1f06c532a
HAL_PX4: more checking of IO results in eeprom driver
11 years ago
Andrew Tridgell
3ae6f03761
HAL_PX4: be less verbose about disarmed PWM setup
11 years ago
Andrew Tridgell
db1d438e97
HAL_PX4: implement set_safety_pwm() API
...
used to set PWM on motors when disarmed
11 years ago
Andrew Tridgell
5e39b6fb11
AP_HAL: added set_safety_pwm() API
11 years ago
Andrew Tridgell
64fbadcc21
HAL_PX4: use eeprom on PX4 FMUv1 as well
...
this means we no longer store params on SD at all
11 years ago
Randy Mackay
0a3559813a
AC_WPNav: accessor for loiter speed
11 years ago
Andrew Tridgell
376ab30366
HAL_PX4: disable rename of old parameter file for now
...
be nice to release candidate users
11 years ago
Andrew Tridgell
461638780b
HAL_AVR: fixed warning on memcheck build
11 years ago
Andrew Tridgell
626086063e
HAL_PX4: added a signature to FRAM
...
this makes for more reliable update
11 years ago
Andrew Tridgell
921f923c5f
DataFlash: reset write log on new log
11 years ago
Andrew Tridgell
b5a16a07d3
GCS_MAVLink: support LOG_REQUEST_END
11 years ago
Andrew Tridgell
ef28d087d2
DataFlash: added logging_started() API
11 years ago
Andrew Tridgell
f6db03dfb0
DataFlash: don't fsync on SITL
...
this makes it much faster on virtual machines
11 years ago
Andrew Tridgell
b4b66210ff
DataFlash: improve reliability of microSD for logs
11 years ago
Andrew Tridgell
b88bb0751c
HAL_PX4: added support for MTD (FRAM) parameters
...
this allows us to store parameters and waypoints in FRAM, and
auto-upgrade from microSD
11 years ago
Andrew Tridgell
e78e35f3bd
HAL_PX4: try to use uppercase names on NuttX microSD card
11 years ago
Andrew Tridgell
cb23298384
DataFlash: try to keep dataflash writes aligned
...
also rename lastlog.txt to LASTLOG.TXT as NuttX seems to get less
corruption with VFAT filenames that don't need uppercase mappings
11 years ago
Randy Mackay
fb0fe3793c
AP_Notify: external LEDs blink while initialising
11 years ago
Andrew Tridgell
63586e3e23
HAL_PX4: fixed build for new PX4Firmware
11 years ago
JakobSt
986417067e
AP_GPS: Improved accuracy of NMEA driver
...
The conversion of ret (32bit-integer) to float reduced accuracy to ~9cm or ~22cm. Now it's ~1cm.
11 years ago
Robert Lefebvre
d441354961
TradHeli: Minor change to two param defaults
...
Also one param name in the code clarified.
11 years ago
Don Gagne
1db3c6e688
AP_Arming: param doc fixes
...
These were confusing the parser, or just incorrect
11 years ago
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
11 years ago
Randy Mackay
3823eed865
OptFlow: update example sketch to work with shrunken library
11 years ago
Randy Mackay
8caa5159f8
OptFlow: shrink lib by removing unused functions
...
Saves 46bytes of RAM and 1k of flash
11 years ago
Randy Mackay
a53d1075ec
DataFlash: add EnableWrites method
...
This method allows temporarily suspending writes to the dataflash which
will be used in ArduCopter to ensure no messages are written while the
copter is disarmed
11 years ago
Andrew Tridgell
4519aa8867
DataFlash: only fsync every 10 seconds
...
prevents too much work in SITL
11 years ago
Andrew Tridgell
89676be825
HAL_PX4: fixed RCInput race condition
...
the number of channels could be zero with thread switch at the wrong
time
11 years ago
Andrew Tridgell
a2997704eb
HAL_PX4: removed code which drops throttle to 900 on loss of RC
...
rely on vehicle code checking for last data coming in
11 years ago
Andrew Tridgell
a8946a5f31
HAL_Linux: fixed build
11 years ago
Andrew Tridgell
8019d45200
DataFlash: use HAL_OS_POSIX_IO
11 years ago
Andrew Tridgell
5e3c4441dc
AP_Baro: use HAL_CPU_CLASS in baro driver
11 years ago
Andrew Tridgell
ea649e036b
AP_HAL: added HAL_CPU_CLASS define for selecting algorithms
...
this will make it easier to select the appropiate level of algorithm
for a CPU
11 years ago
Andrew Tridgell
4c99d09265
AP_Math: fixed build of vectorN class on PX4
11 years ago
Andrew Tridgell
bc2d17e76e
AP_Compass: added vector compass setHIL method
11 years ago
Andrew Tridgell
e7a1331b81
AP_GPS: allow HIL GPS to show no lock
11 years ago