Commit Graph

10472 Commits

Author SHA1 Message Date
Andrew Tridgell
91cc08a3ef Plane: log PX4Firmware and NuttX git revisions in logs 2014-01-14 15:37:03 +11:00
Andrew Tridgell
7a02c2720b PX4: added defines for PX4 and NuttX version in logs 2014-01-14 15:35:41 +11:00
Andrew Tridgell
72ce7f5827 Rover: only log when armed 2014-01-14 15:10:13 +11:00
Andrew Tridgell
626086063e HAL_PX4: added a signature to FRAM
this makes for more reliable update
2014-01-14 15:06:51 +11:00
Andrew Tridgell
33acce71c8 Rover: prevent log corruption during log creation 2014-01-14 14:40:10 +11:00
Andrew Tridgell
e52f8d6598 Copter: prevent log corruption during log creation 2014-01-14 14:37:48 +11:00
Andrew Tridgell
cf09fef1db Plane: prevent log corruption when new log started 2014-01-14 14:29:14 +11:00
Andrew Tridgell
921f923c5f DataFlash: reset write log on new log 2014-01-14 14:28:56 +11:00
Andrew Tridgell
9d09a96377 PX4: don't write to BOOT.LOG unless we have errors
this gets us to zero writes to microSD when no errors and not armed
2014-01-14 13:57:59 +11:00
Andrew Tridgell
a15336079e Plane: start logging when first needed 2014-01-14 13:51:49 +11:00
Andrew Tridgell
b5a16a07d3 GCS_MAVLink: support LOG_REQUEST_END 2014-01-14 13:51:20 +11:00
Andrew Tridgell
ef28d087d2 DataFlash: added logging_started() API 2014-01-14 13:51:06 +11:00
Andrew Tridgell
8755747da0 Plane: only log when armed by default
use safety switch if arming not enabled
2014-01-14 13:07:43 +11:00
Andrew Tridgell
874110b29d Plane: make LOG_BITMASK 32 bits 2014-01-14 13:06:52 +11:00
Andrew Tridgell
db19c8b410 PX4: start mtd driver on FMUv2 2014-01-14 12:46:27 +11:00
Andrew Tridgell
db8b262939 PX4: enable mtd driver in build 2014-01-14 12:46:26 +11:00
Andrew Tridgell
f6db03dfb0 DataFlash: don't fsync on SITL
this makes it much faster on virtual machines
2014-01-14 12:46:26 +11:00
Andrew Tridgell
b4b66210ff DataFlash: improve reliability of microSD for logs 2014-01-14 12:46:26 +11:00
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
2014-01-14 12:46:26 +11:00
Andrew Tridgell
8698ee43bb PX4: use BOOT.LOG instead of boot.log 2014-01-14 12:46:26 +11:00
Andrew Tridgell
e78e35f3bd HAL_PX4: try to use uppercase names on NuttX microSD card 2014-01-14 12:46:26 +11:00
Andrew Tridgell
8d4f89b77e Rover: use uppercase names on SD card where possible 2014-01-14 12:46:26 +11:00
Andrew Tridgell
8a41b18a1f Copter: use uppercase names on SD card where possible 2014-01-14 12:46:26 +11:00
Andrew Tridgell
def782c441 Plane: use uppercase names on microSD card where possible 2014-01-14 12:46:26 +11:00
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
2014-01-14 12:46:26 +11:00
Bill Bonney
a6078cd281 Copter: Fix SYSID ranges to support GCS display of param correctly 2014-01-14 10:32:42 +09:00
Bill Bonney
2bfcb93cb1 Rover: Fix SYSID ranges to support GCS display of param correctly 2014-01-14 10:32:40 +09:00
Randy Mackay
fb0fe3793c AP_Notify: external LEDs blink while initialising 2014-01-13 23:31:32 +09:00
Randy Mackay
138c2803be Copter: combine NTUN and INAV dataflash msgs 2014-01-13 22:00:11 +09:00
Randy Mackay
1e8a79eeaf Copter: add TimeMS, InavAlt to CTUN df msg 2014-01-13 21:31:43 +09:00
Randy Mackay
97b18314ac Copter: add time to ATT, MAG, CURR dataflash msgs 2014-01-13 20:46:54 +09:00
Randy Mackay
df9d1614e2 Copter: remove PID logging
Almost never used and eats up limited log description space
2014-01-13 17:23:39 +09:00
Randy Mackay
5e0ddd299f Copter: disable OPTFLOW for SITL 2014-01-13 17:11:27 +09:00
Randy Mackay
61f319ce38 Copter: disable OPTFLOW for PX4/Pixhawk 2014-01-13 12:02:03 +09:00
Andrew Tridgell
63586e3e23 HAL_PX4: fixed build for new PX4Firmware 2014-01-13 13:54:51 +11:00
Andrew Tridgell
9b7a837553 Rover: try changing GPS setting to AIRBORNE_4G
this may reduce the GPS latency and improve chicane performance
2014-01-13 10:20:40 +11:00
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.
2014-01-13 09:58:30 +11:00
Randy Mackay
b3d20bb8aa TradHeli: Drift mode to use heli manual throttle 2014-01-10 11:06:06 +09:00
Robert Lefebvre
d441354961 TradHeli: Minor change to two param defaults
Also one param name in the code clarified.
2014-01-10 10:52:17 +09:00
Robert Lefebvre
8b36c59d8b TradHeli: rename Stab_Col parameters
With H_ prefix they appear with the rest of the tradheli specific params in the parameter list.
2014-01-10 10:51:48 +09:00
Robert Lefebvre
794890884c TradHeli: enable Landing Collective when we are not moving
This prevents full negative pitch when touching down in Alt Hold or Auto-Landing.
2014-01-10 10:50:58 +09:00
Robert Lefebvre
531a9f4f25 TradHeli: disable AutoTune for Tradheli compile
We need the flash space, and this probably won't work for tradheli anyway since tradheli needs most of the control from Feedforward rather than P term.  And D-term is very very bad.
2014-01-10 10:50:09 +09:00
Don Gagne
1db3c6e688 AP_Arming: param doc fixes
These were confusing the parser, or just incorrect
2014-01-10 10:40:53 +09:00
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
2014-01-09 14:02:21 +09:00
Randy Mackay
9f2f44f0f6 Copter: integrate shrunken optflow 2014-01-09 12:31:53 +09:00
Randy Mackay
3823eed865 OptFlow: update example sketch to work with shrunken library 2014-01-09 12:31:51 +09:00
Randy Mackay
8caa5159f8 OptFlow: shrink lib by removing unused functions
Saves 46bytes of RAM and 1k of flash
2014-01-09 12:31:48 +09:00
Randy Mackay
1793ee804e Copter: remove armed check before logging 2014-01-07 22:43:49 +09:00
Randy Mackay
84881470b1 Copter: suspend logging while disarmed 2014-01-07 22:43:47 +09:00
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
2014-01-07 22:43:44 +09:00