Commit Graph

440 Commits

Author SHA1 Message Date
Lorenz Meier bc39cae5a3 Revert argc change reqquired for NuttX 2016-03-29 22:47:48 +02:00
Julian Oes 3464648533 sdlog2: fix segfault when starting without args
`sdlog2 start` lead to a segfault.
2016-03-29 22:43:20 +02:00
Julian Oes 4179ed6c19 sdlog2: don't free the logbuffer after disarm
Only free the logbuffer if you exit sdlog2. After disarming, just reset
the pointers. This way, we don't take any risks doing malloc and free.

The actual "double free" was caused by trying to free the perf counter
inside logbuffer_free.
2016-03-29 22:43:20 +02:00
Julian Oes 7ce297be59 sdlog2: add logbuffer_reset to reset pointers
This allows resetting of the logbuffer without having to free and malloc
again.
2016-03-29 22:43:20 +02:00
Julian Oes 4e64382ba5 sdlog2: fixes for Snapdragon 2016-03-29 09:55:29 +02:00
Bo Liu e697998828 fix sdlog2 self deadlock bug 2016-03-26 13:59:33 -05:00
Daniel Agar 26bb2fd22f capitalize param values 2016-03-25 20:38:08 -04:00
Daniel Agar 6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Daniel Agar 70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Julian Oes bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Lorenz Meier 1f47aa1180 SD log: Fix skipped statistics 2016-03-23 20:08:45 +01:00
Lorenz Meier 2dcd529ad8 sdlog2: Use more appropriate priorities and locking strategies. 2016-03-23 20:08:45 +01:00
Julian Oes 2e3093cd8f sdlog2: put defines around QURT path 2016-03-22 22:22:30 +01:00
Kevin Mehall 46bc1774f4 sdlog2: hard-code path to work on Linux 2016-03-22 22:21:24 +01:00
Paul Riseborough a46b924d8c sdlog2: Fix bug in EKF replay message format 2016-03-19 19:11:15 +04:00
Mark Whitehorn 6b997f9e91 fix error in use of union 2016-03-19 11:22:37 +04:00
Mark Whitehorn 7dde4cb55b fix sensor_combined_s temperature indexing error 2016-03-19 11:22:37 +04:00
Daniel Agar 7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar 3e44957d20 sdlog2 param @unit 2016-03-14 09:12:34 +01:00
Paul Riseborough 016bfad507 sdlog2: add missing GPS status data to ekf2 replay 2016-03-13 17:47:56 +01:00
Roman 37079dc743 sdlog2:
added separate replay messages for flow and range
2016-03-13 17:47:56 +01:00
Roman 06ffd59f17 sdlog2: only log gps replay data if updated
Conflicts:
	src/modules/sdlog2/sdlog2.c
2016-03-13 17:47:56 +01:00
Paul Riseborough 80927d79fe sdlog2: Add replay logging of flow and range finder messages for ekf2 2016-03-13 17:47:56 +01:00
Paul Riseborough 70e9047f5d sdlog2: Log ekf2 height above ground fusion data 2016-03-13 17:47:56 +01:00
Paul Riseborough 562bfd1be3 sdlog2: fix duplicate message ID 2016-03-13 17:47:56 +01:00
Roman 5abd11c6b9 fixed rebasing issues 2016-03-13 17:47:56 +01:00
bugobliterator 01ee608117 sdlog: setup flow innovation logging 2016-03-13 17:47:56 +01:00
Roman 68e45057a0 sdlog: compute logging rate correctly 2016-03-01 21:35:36 +01:00
tumbili b88a8baa76 log replay topic correctly 2016-02-29 10:27:05 +01:00
tumbili aa130b1b03 added missing parenthesis to fix logging 2016-02-29 09:51:36 +01:00
Lorenz Meier ef07fdf9c7 Fix camera trigger logging ID 2016-02-28 11:19:23 +01:00
Lorenz Meier 3fa3158ca2 sdlog2: Ensure sensor combined gets written 2016-02-27 14:58:53 +01:00
Lorenz Meier df4d63dd07 SDLOG2: Always copy the topic, even if not using it right away 2016-02-27 14:52:05 +01:00
tumbili 3ab6fe7edd do not allocate unnecessary memory in logging app 2016-02-27 11:51:05 +01:00
tumbili 2e40d4d4fd sdlog2: log attitude in replay mode for consistency checks 2016-02-27 11:51:05 +01:00
tumbili b98602df8b sdlog2:
increase stack size and fix indentation
2016-02-27 11:51:05 +01:00
tumbili 527f9886f9 ekf2 app:
- support use of replay
2016-02-27 11:51:05 +01:00
tumbili ec803a650e sdlog2 replay:
- added PRIO_BOOST parameter to avoid log data loss
- added replay mode which disabled logging of uneeded topics
- run mainloop based on polling of either sensor_combined or replay topic
depending on mode
- log ekf2_replay topic
2016-02-27 11:51:05 +01:00
tumbili 7da3c6ceaa sdlog2 messages:
- added ekf2 replay message
2016-02-27 11:49:49 +01:00
Andreas Bircher 4bf11ca06b adding the timestamp logging 2016-02-27 11:41:57 +01:00
Andreas Bircher e695af2100 fixing the logging of trigger information 2016-02-27 11:41:57 +01:00
Andreas Bircher 7abb699bc4 adding the camera trigger logging to sd card 2016-02-27 11:41:57 +01:00
sander b513edffcd Add vtol states to sdlog2 2016-02-26 22:51:11 +01:00
Lorenz Meier 9a32c08cff Complete log buffer patch set 2016-02-23 16:06:11 +01:00
Lorenz Meier a14e083728 sdlog2: Free log buffer on log stop 2016-02-23 13:09:06 +01:00
stmoon ca11f76842 add utc offset for sdlog filename 2016-02-19 20:15:06 +01:00
Andreas Antener f8915104e0 use multi subscribe to get topics for sdlog 2016-02-12 13:56:03 +01:00
Lorenz Meier 590e8df8d0 Fix actuator output logging for good 2016-02-12 10:50:10 +01:00
Lorenz Meier 419fa45657 Change SDLOG2 to blackbox in user-facing output 2016-02-10 08:29:26 +01:00
Lorenz Meier c2aaeefa6c sdlog2: Log actuator output group 1 as well 2016-01-23 16:02:18 +01:00