Andrew Tridgell
4662858077
DataFlash: we don't need AP_AHRS.h
12 years ago
Andrew Tridgell
2874ec67c7
DataFlash: slight efficiency improvement
...
fixes issue #314
thanks Dongfang!
12 years ago
Andrew Tridgell
032cc513ca
DataFlash: fixed example build
12 years ago
Andrew Tridgell
469736e6bc
DataFlash: changes for GPS field changes
12 years ago
Andrew Tridgell
411e940342
DataFlash: prevent the dataflash erase problem
...
only allow writes to dataflash block devices once StartNewLog() has
been called
12 years ago
Andrew Tridgell
095505129c
DataFlash: hopefully fixed cause of frequent dataflash erase
...
Wait for 0.1s after erase and before we start writing parameters to
the log
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
7fdf1b6f78
DataFlash: fixed example build
12 years ago
Andrew Tridgell
0242d50ad4
DataFlash: added Log_Write_Message()
...
useful for logging general messages
12 years ago
Andrew Tridgell
709a277c7f
DataFlash: chamged FMT message to include labels
...
this makes it easier for MP to parse and display
12 years ago
Andrew Tridgell
9ef34943af
DataFlash: change log extension to *.bin
12 years ago
Andrew Tridgell
844e1b9ef9
DataFlash: added support for printing flight mode as a string
...
makes analysing logs easier.
Pair-Programmed-With: Randy
12 years ago
Andrew Tridgell
b5ae588341
DataFlash_File: fixed creation of 0.log
12 years ago
Andrew Tridgell
735d60c493
DataFlash: convert example sketch to new API
12 years ago
Andrew Tridgell
62f190ed15
DataFlash: simplify code now that copter is converted
...
no longer need as many public functions
12 years ago
Andrew Tridgell
cf0c8331c2
DataFlash: use print_latlon()
12 years ago
Andrew Tridgell
c29d870497
DataFlash: dump the format of logs at the start of the log
12 years ago
Andrew Tridgell
916e8d0992
DataFlash: new dataflash logging system
...
this allows us to remove the display functions in the vehicle code,
and also allows us to store the format of a log file in the log. It
also stores the parameters used in a flight, rather than the
parameters set at the time the log is dumped
12 years ago
Andrew Tridgell
da5a5ea368
DataFlash: added file based 'dataflash' logging
12 years ago
Andrew Tridgell
310a5a6be1
DataFlash: don't try to write if no card inserted
12 years ago
Andrew Tridgell
c1c967f3bf
DataFlash: fixed test sketch build and run
12 years ago
Andrew Tridgell
a7541e9ad3
DataFlash: report log number when starting a new log
...
helps with test sketch
12 years ago
Andrew Tridgell
ba8d830754
DataFlash: start to fix example build
12 years ago
Andrew Tridgell
987cdaf3e1
DataFlash: make it safe to do DataFlash logging from timers
...
this uses a non-blocking semaphore take if we are in a timer
process. Useful for logging failsafe events
12 years ago
Andrew Tridgell
efd2da3eb8
DataFlash: started on file interface
12 years ago
Andrew Tridgell
7b524d15fa
DataFlash: added log_num to dump interface
...
this will be used by the file oriented logging code
12 years ago
Andrew Tridgell
c52ef80f06
DataFlash: added Block layer in classes
...
this will allow the addition of a DataFlash_File implementation of the
DataFlash API which will store logs in a traditional filesystem. That
will align better with the PX4 design, and be more useful for fast
transfer of logs to a host computer
12 years ago
Andrew Tridgell
0ffcffa81c
DataFlash: fixed signed/unsigned errors in API
12 years ago
Andrew Tridgell
9b551f162c
DataFlash: make the public interface much narrower
...
make many variables private, to simplify interface ready for PX4
12 years ago
Andrew Tridgell
20825cc903
DataFlash: removed the byte and word based interfaces
...
simplifing ready for PX4 flash logging
12 years ago
Andrew Tridgell
c6b006cf5f
DataFlash: move log reading logic into common library
12 years ago
Andrew Tridgell
f683cff9e2
DataFlash: speed up SPI transfers in DataFlash_APM1
12 years ago
Andrew Tridgell
8015f0f626
DataFlash: update SITL implementaion for new API
12 years ago
Andrew Tridgell
9ef1f8509b
DataFlash: update test code for new macros
12 years ago
Andrew Tridgell
83b074dd87
DataFlash: moved macros into common header
12 years ago
Andrew Tridgell
f3005c4267
DataFlash: use bulk SPI transfer() method
...
this reduces the per-byte overhead of flash logging to about 3.9 usec
12 years ago
Pat Hickey
3d0a4394b6
DataFlash Empty: conform to blockread/write virtual if
12 years ago
Andrew Tridgell
7274d847f8
DataFlash: update for new block API
12 years ago
Andrew Tridgell
28a0ba6c4a
DataFlash: added block based dataflash writes
...
these are about 10x faster than the old writes
12 years ago
Andrew Tridgell
44285cfbad
DataFlash: fixed a semaphore bug in APM1 dataflash code
12 years ago
Pat Hickey
390e96311e
DataFlash: change to new style Semaphore library
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
fb4540a349
DataFlash: disable some debug code
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
448fc6719f
HAL_Empty: fixed return in dataflash
12 years ago
Pat Hickey
4c930b77a4
DataFlash_Empty defined
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Andrew Tridgell
964bc56aa2
DataFlash: reinstate SITL dataflash code
12 years ago
Pat Hickey
308281f252
DataFlash_test ported to AP_HAL
12 years ago
Andrew Tridgell
c4b8959202
DataFlash: added SITL headers
12 years ago