Lucas De Marchi
327a3a4298
DataFlash: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
10 years ago
Andrew Tridgell
ab7e400a89
DataFlash: added RPM logging
10 years ago
Gustavo Jose de Sousa
709204c01d
DataFlash: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
5776620062
DataFlash: consolidate GPS, GPS2 messages
...
Remove unused dgps_numch, dgps_age from GPS2
Add U field (for use) to both GPS and GPS2
10 years ago
Randy Mackay
ad1f9c4829
DataFlash: add ORGN message
10 years ago
Peter Barker
cabea266e7
DataFlash: pull out common mission logging code
10 years ago
Peter Barker
d85b247706
DataFlash: Log_Write_SysInfo - pull out common logging startup messages
10 years ago
Peter Barker
c5c39a77a3
DataFlash: method to flush ringbuffer to fd
10 years ago
Michael du Breuil
d665c85c20
DataFlash: Add RXM-RAWX logging messages
10 years ago
Peter Barker
723c37bcf7
DataFlash: backend/frontend split
10 years ago
Michael du Breuil
225c946af0
DataFlash: Add PIDS for steering logging
10 years ago
Andrew Tridgell
a424686d2f
DataFlash: reduce future merge conflicts
...
an enum makes it easier to merge new messages
10 years ago
Randy Mackay
384755e271
Dataflash: add IMT messages
10 years ago
Randy Mackay
f0f262eb04
DataFlash: add Log_Write_Vibration
10 years ago
Grant Morphett
7d1bf75aa8
DataFlash: Moving parameter logging to be after all systems have started
...
Moved Log_Write_Parameters to be public so we can call it from the
vehcile code at the end of the startup sequence.
We needed to do this because parameters like COMPASS_EXTERNAL are
modified by the startup code and if we log the parameters too early we
will be recording the wrong value.
10 years ago
Andrew Tridgell
9379e79489
DataFlash: all vehicles now use functors
10 years ago
Andrew Tridgell
73445fdae9
DataFlash: added error checking and fixed a warning
10 years ago
Andrew Tridgell
f39063e023
DataFlash: don't do PID logging on APM2
10 years ago
Andrew Tridgell
b6eba0842a
DataFlash: fixed CAM message format
10 years ago
Andrew Tridgell
95ff71940c
DataFlash: fixed rebase errors
10 years ago
Andrew Tridgell
8f34ed5b76
DataFlash: added PIDA message
...
for logging Z accel PID in copter
10 years ago
Andrew Tridgell
b45ab52015
DataFlash: added desired rate to PID logging
10 years ago
Robert Lefebvre
7ab628521e
DataFlash: Add Acceleration Feedforward to PID_Info.
10 years ago
Andrew Tridgell
d148c38f68
DataFlash: added desired rate to PID_Info
10 years ago
Robert Lefebvre
753be18c17
DataFlash: Add PID Logging Method
10 years ago
Peter Barker
988f3277de
DataFlash: 64-bit timestamps for ACCx and GYRx messages
10 years ago
Peter Barker
617043f468
DataFlash: convert GPS and CAM dataflash messages to 64-bit timestamps
...
GPS structures remove 32-bit apm_time and replace with standard time_us
Significant change to GPS and GPS2 messages:
Add TimeUS as first field
Remove T field
Due to length restrictions on labels:
Renamed TimeMS to GMS (Gps MilliSeconds)
Renamed Week to GWk (Gps WeeK)
Renamed RelAlt to RAlt
Significant change to CAM messages:
Removed GPSTime (uin32_t), added TimeUS (uint64_t)
10 years ago
Peter Barker
769982b8f2
DataFlash: use 64-bit timestamps for dataflash logs
10 years ago
Andrew Tridgell
8624a262e7
DataFlash: removed BUILD_DELEGATES code
...
no longer needed
10 years ago
Lucas De Marchi
cd308b5e2f
DataFlash: allow to use functor
10 years ago
Andrew Tridgell
4486ddc53e
DataFlash: changed TimeUS to SampleUS for raw IMU logging
...
this prevents a problem with an upcoming patch from Peter
10 years ago
Andrew Tridgell
f8aef57ec3
DataFlash: use APM_BUILD_DELEGATES
10 years ago
Andrew Tridgell
b5d930be61
DataFlash: support member functions for rover
10 years ago
Andy Piper
c600c1a746
DataFlash: log Gyro and Accel Health for IMUs.
...
Log the health of the various IMUs under GyHlt and AcHlt.
(Names are shortened to get inside the string array limit).
10 years ago
Andrew Tridgell
80c20b5cf2
DataFlash: use L for latitude/longitude in DF messages
10 years ago
Andrew Tridgell
ab687ab0f5
DataFlash: added double to list of format strings
...
thanks to Dario <proyectoire@gmail.com> for noticing this
10 years ago
Andrew Tridgell
d7e4310df0
DataFlash: Lat can be negative in POS
10 years ago
Andrew Tridgell
74485c5754
DataFlash: added Log_Write_POS() call
...
write AHRS position to DF log
10 years ago
Andrew Tridgell
11f70da8b4
DataFlash: fixed incorrect change to GPS message
10 years ago
Andrew Tridgell
3991e0c476
DataFlash: fixed sign of sv in GRAW message
10 years ago
Andrew Tridgell
21d805422d
DataFlash: added defines for raw accel and gyro logging
10 years ago
Andrew Tridgell
f8e09da50e
DataFlash: added GRAW raw GPS message
...
for saving RXM_RAW for post flight RTK
10 years ago
Andy Piper
b0937154f5
DataFlash: log compass health
...
This patch simply logs the health of each compass for easy diagnosis.
10 years ago
Andrew Tridgell
ecd2a6f515
DataFlash: log temperature of IMUs
...
this is the first step towards supporting temperature calibration of
IMUs
10 years ago
Andrew Tridgell
73782c41a9
DataFlash: disable CLI on APM2
10 years ago
Andrew Tridgell
af5f84f4e4
DataFlash: fixed example builds
10 years ago
Randy Mackay
842efe71be
DataFlash: move COMPASS2,3 formats to extra structures
10 years ago
Randy Mackay
e7471c5fe5
DataFlash: fix message id and CURR formatting
10 years ago
Randy Mackay
09e3dcd821
DataFlash: pass ahrs, batt, targets by reference
10 years ago
Randy Mackay
f23959b5fa
DataFlash: fix missing slash lost in merge
10 years ago