Patrick José Pereira
18d8f19801
AP_Logger: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Josh Henderson
c32dd4bb5d
AP_Logger: Privatize AP_Baro Logging
4 years ago
Josh Henderson
d142b3ba16
AP_Logger: Privatize AP_Camera Logging
4 years ago
Josh Henderson
8e705a5eed
AP_Logger: move BAT & BCL logging functions to AP_BattMonitor
4 years ago
Josh Henderson
0ebbf0f74e
AP_Logger: move AP_AHRS functions out
4 years ago
Peter Barker
416dd98140
AP_Logger: check HAL_LOGGING_DATAFLASH only for definition
...
As the hwdefs only define the symbol, don't set it to a value...
4 years ago
Peter Barker
7d42f473fc
AP_Logger: allow each backend to be compiled out
4 years ago
Peter Barker
ef0b860a48
AP_Logger: remove Prep and NeedPrep functions
...
These were only being called directly after Init(), so just tacked them
onto the end of those functions.
The checks in NeedPrep turned out to be mostly redundant.
4 years ago
Peter Hall
b2e1d88da8
AP_Logger: add limit flag to PID logs
4 years ago
Andy Piper
779c2a9e5f
AP_Logger: move logger IO to a separate thread
4 years ago
Andrew Tridgell
0ae9b28198
AP_Logger: added get_log_start_count()
...
used by UAVCAN to know if it should log CAN devices on log rotation
4 years ago
Andy Piper
5436784d38
AP_Logger: add ESC error rate
4 years ago
Peter Barker
d50e4d03f4
AP_Logger: remove time_us parameter to several sensor logging methods
...
These were used by the old Replay code to try to provide a frame of
sensor data by correlating the timestamps. That Replay code has been
removed.
4 years ago
Andrew Tridgell
019544ceb1
AP_Logger: allow for replay with both EKF enabled
...
even when one is disabled in the original log
4 years ago
Andrew Tridgell
04f60001ff
AP_Logger: allow WriteV() to work within Replay
...
save formats for lookup by WriteV
4 years ago
Peter Barker
48385b82dc
AP_Logger: use instance number for Mag logging
4 years ago
Peter Barker
12f0e9dd43
AP_Logger: use instance number for Baro logging
4 years ago
Peter Barker
2437cf8a24
AP_Logger: use instance number for IMU logging
4 years ago
Andrew Tridgell
a08a1a4247
AP_Logger: allow for larger LOG_FILE_BUFSIZE
...
larger sizes on F7 and H7 allow for much more rapid loggging
4 years ago
Andrew Tridgell
09aff03edc
AP_Logger: support new replay system
...
added allow_start_ekf and block write method for replay
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
Randy Mackay
d9b90bf19f
AP_Logger: VISP and VISV get ignored field
4 years ago
Randy Mackay
36dee8791a
AP_Logger: revert adding PSCP log structure
4 years ago
Iampete1
9753a20404
AP_Logger: add PSCP log structure
4 years ago
Iampete1
02c225ee93
AP_Logger: add structure for PSC message
4 years ago
Peter Barker
716e7622be
AP_Logger: log RCIN channels 14 and 15 in RCI2
5 years ago
Rishabh
ad3a7e4d49
AP_Logger: Update logs based on new BendyRuler type
5 years ago
Randy Mackay
f7ec08ff18
AP_Logger: add Write_Winch
5 years ago
Randy Mackay
5d99ce9a84
AP_Logger: remove winch events
5 years ago
Rishabh
251ebf9286
AP_Logger: Log Simple Avoidance
5 years ago
Paul Riseborough
0cf70fe961
AP_Logger: Log D gain limit cycle gain scaler
...
Used by Plane roll and pitch loops in APM_Control
5 years ago
Rishabh
4fa2c3f5ba
AP_Logger: Log if BendyRuler has avoided changing directions
5 years ago
chobits
5e5a0d2111
AP_Logger: log ext nav pos err and ang err
5 years ago
Iampete1
fee5b998bf
AP_Logger: add min MB free param
5 years ago
Randy Mackay
714975662d
AP_Logger: VISP message gets velocity error field
5 years ago
chobits
9b480ca755
AP_Logger: support VISION_SPEED_ESTIMATE
5 years ago
Peter Hall
19ba9abc89
AP_Logger: add function and make public for scripting use
5 years ago
Peter Barker
acba2a78f6
AP_Logger: add message validation check against duplicate labels
5 years ago
Randy Mackay
4f639481c1
AP_Logger: VISP msg adds reset_counter
5 years ago
Randy Mackay
f18be824ea
AP_Logger: add VISP message
5 years ago
Andrew Tridgell
71a0645a59
AP_Logger: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
56035fa5a1
AP_Logger: add a semaphore to protect creation of new log formats
5 years ago
Peter Barker
2c5e07cb09
AP_Logger: log battery and cell information using instance numbers
5 years ago
Andrew Tridgell
58fcd4601a
AP_Logger: added CESC message for logging CAN ESC status
5 years ago
Andrew Tridgell
2666853100
AP_Logger: added CSRV logging for CAN servo status
5 years ago
Randy Mackay
2e09acc2ae
AP_Logger: add error code for rtl missing rangefinder
5 years ago
Peter Barker
9c17fdb851
AP_Logger: use enum class for transfer activity
...
These weren't great symbols to create...
5 years ago
Randy Mackay
94d641d3d5
AP_Logger: ESC logging includes motor temperature
5 years ago
Peter Barker
f337d011e7
AP_Logger: make LogEvent an enum class, split off LogDataID
...
We were mixing the enumeration values across different messages, which
isn't great
5 years ago
Michael du Breuil
c369139be0
AP_Logger: Support new ModeReason
5 years ago
Peter Barker
c30873097a
AP_Logger: use ahrs singleton to log ATT, POS and AHRS2
5 years ago