Lorenz Meier
b90f6dc157
Fix text print to logfile
2016-04-18 17:06:12 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
Julian Oes
015d7431a7
sdlog2: comment fix
2016-04-12 13:13:50 +02:00
Julian Oes
1aa45cede8
sdlog2: workaround for Snapdragon
...
This fixes an issue where topics where not subscribed to on the Linux
side on Snapdragon. It's a hack until there is a proper fix for the
orb_exists() call.
2016-04-12 13:13:50 +02:00
Julian Oes
32f2b89252
sdlog2: comment fix
2016-04-11 18:01:49 +02:00
Julian Oes
3b806235ac
sdlog2: compile fixes after rebase
2016-04-11 18:01:49 +02:00
Julian Oes
5ca5af5fcd
commander: take main_state out of vehicle_status
...
This state is only commander internal. Therefore it doesn't need to be
in vehicle_status. Instead it is now in the commander_state message.
2016-04-11 18:01:48 +02:00
Julian Oes
1f44fb1efd
commander: internalize system status bools
...
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.
Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
2016-04-11 18:01:47 +02:00
Julian Oes
32c3135788
commander: move battery calculations to systemlib
...
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.
This moves the battery fields out of the vehicle_status message into the
battery_status topic.
This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
Beat Küng
7ff80463be
fix completely wrong file permissions for log files & mavlink ftp (new mode 666)
2016-04-11 11:23:01 +02:00
Julian Oes
2b95b3dff1
sdlog2: fixed wrong memset
2016-04-04 13:02:36 +02:00
Lorenz Meier
0d94800b50
VTOL: Add missing fields to log. Fixes #4080
2016-04-02 21:39:03 +01:00
Andreas Antener
4a4ab13bfe
log both actuator groups 0 and 1 again
2016-03-30 20:59:28 +02:00
CarlOlsson
23d084dbc9
adopted logging 2
2016-03-30 17:33:37 +02:00
CarlOlsson
3244808ca8
Adopted logging
2016-03-30 17:33:37 +02:00
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