Anton Babushkin
a1cf8801bb
sdlog2: add failsafe state logging
2014-04-22 11:36:25 +02:00
Anton Babushkin
302233a34f
Merge branch 'master' into mpc_local_pos
2014-04-22 11:13:11 +02:00
Jean Cyr
bf4558c31b
Reduce data manager SD card wear and tear
...
When the data manager was first designed each file record contained a 2
byte header and an 126 byte data section, resulting in a record length
of 128 bytes. Along the way it was decided to add 2 spare bytes to the
record header, but regrettably the data section was not correspondingly
reduced in size so we end up with a record length of 130 bytes. This is
bad since it does not align with SD card flash sectors and results in
more erase/write flash cycles than necessary thus reducing the SD cards
life.
This update reduced the data section of the data manager to 124,
resulting in an optimal record length of 128 bytes.
In order to avoid the reuse of data previously written data in the old
format, which could result in catastrophic misinterpretation, the data
manager file is checked at startup. If it is found to be in the old
format, it is deleted and recreated with in the new record length. In
this case previously stored data is lost, but that is far safer than the
unpredictable result of using the old file.
2014-04-22 01:19:01 -04:00
Lorenz Meier
a0c9227044
commander: Also publish battery status in HIL, since we have a fake battery available and the system freaks out without knowing its main supply
2014-04-22 01:38:15 +02:00
Lorenz Meier
5e32ca29d5
Fixed LPOS message in log, added ground flags field
2014-04-21 21:25:54 +02:00
Lorenz Meier
6297b451ba
sdlog2: Fix indendation to expose length better, cut string lengths for excessive strings
2014-04-21 21:00:24 +02:00
Lorenz Meier
65e2062d7b
sdlog2: fix lpos labels string, shorten messages with excessive length
2014-04-21 20:56:02 +02:00
Anton Babushkin
1f2e972ea6
mavlink: remaining battery scaling fixed
2014-04-21 12:16:45 +02:00
Lorenz Meier
2ea32b315f
Merged master
2014-04-20 02:04:05 +02:00
Lorenz Meier
0b85c41cd1
Merge pull request #820 from PX4/filter_nan_guard
...
pauls estimator: Added NaN guard before publishing
2014-04-19 15:14:13 +02:00
Julian Oes
a4b10bab30
navigator: wrong mission topic was copied, clearer naming of offboard mission now
2014-04-18 11:15:40 +02:00
Lorenz Meier
df987f3577
Merge pull request #822 from helenol/helen_mavlink_pull
...
Added a -w option to mavlink, added vicon messages to stream.
2014-04-13 23:39:27 +02:00
Lorenz Meier
5c08a1aeac
Untangled local pos and distance messages, now sending distance messages only for actual distance measuring devices
2014-04-13 23:32:52 +02:00
Lorenz Meier
f846690395
Added rangefinder message to MAVLink app
2014-04-13 23:30:09 +02:00
Lorenz Meier
88357c58bd
mavlink: Change to size optimization
2014-04-13 20:45:03 +02:00
Helen Oleynikova
e7c8fdc586
More whitespace all the time.
2014-04-10 10:41:00 +02:00
Helen Oleynikova
8a946f0320
More whitespace all the time.
2014-04-10 10:37:58 +02:00
Helen Oleynikova
e5105f6d91
Whtespace.
2014-04-10 10:35:30 +02:00
Helen Oleynikova
dd88e319ee
Reverted logging.
2014-04-10 10:33:10 +02:00
Helen Oleynikova
4f91fdb98c
Indentation.
2014-04-10 10:30:00 +02:00
Helen Oleynikova
e6542653b9
Finished adding a '-w' option.
2014-04-10 10:26:15 +02:00
Helen Oleynikova
e99291d825
Added vicon stream.
2014-04-10 09:08:37 +02:00
Helen Oleynikova
a39382dc17
VICON -> VICN really this time.
2014-04-09 17:28:00 +02:00
Helen Oleynikova
5b090a7095
VICON -> VICN
2014-04-09 17:25:33 +02:00
Helen Oleynikova
284218174c
Tabs tabs tabs
2014-04-09 17:21:07 +02:00
Helen Oleynikova
863cd2e838
Added VICON logging, finally.
2014-04-09 17:11:27 +02:00
Lorenz Meier
63dae04c22
pauls estimator: Added NaN guard before publishing
2014-04-09 17:06:06 +02:00
Lorenz Meier
8e0e0c164a
Merge branch 'mavlink_command' of github.com:PX4/Firmware
2014-04-08 21:41:05 +02:00
Lorenz Meier
27884e49be
Revert "Merge pull request #816 from PX4/mavlink_commandlongstream"
...
This reverts commit 00ef10f307 , reversing
changes made to d55e64d1e5 .
2014-04-08 21:40:05 +02:00
Lorenz Meier
00ef10f307
Merge pull request #816 from PX4/mavlink_commandlongstream
...
mavlink: COMMAND_LONG stream: listen to vehicle_command uorb topic and send mavlink_msg_command_long
2014-04-08 21:38:32 +02:00
Anton Babushkin
d55e64d1e5
mavlink: minor comments and formatting fixes
2014-04-08 23:29:40 +04:00
Anton Babushkin
09093b17da
mavlink: commands stream implemented
2014-04-08 23:28:52 +04:00
Anton Babushkin
523606668f
position_estimator_inav: make land detector more sensitive to LANDED -> IN AIR transitions
2014-04-08 22:23:18 +04:00
Thomas Gubler
bccdbde45e
commander: handle_command: do not filter command if componentid == 0
2014-04-08 17:29:11 +02:00
Thomas Gubler
f0d043c068
mavlink: COMMAND_LONG stream: listen to vehicle_command uorb topic and send mavlink_msg_command_long
2014-04-08 17:11:23 +02:00
Thomas Gubler
a6215b7bda
commander: handle_command: filter commands by sysid and componentid
2014-04-08 17:10:22 +02:00
Lorenz Meier
0930a3c1b6
Merge pull request #814 from PX4/mavlink_fd
...
mavlink: accessor for _mavlink_fd
2014-04-08 06:22:42 -07:00
Thomas Gubler
134633c7f0
mavlink: accessor for _mavlink_fd
2014-04-08 15:20:10 +02:00
Julian Oes
fc2bfb828f
Merge remote-tracking branch 'px4/master' into mavlink_broadcast
2014-04-07 21:45:45 +02:00
Julian Oes
38c3e68976
Send camera command to all, use own sysid
2014-04-07 21:44:01 +02:00
Julian Oes
bb3792bcdd
mavlink: use LL_FOREACH
2014-04-07 21:42:48 +02:00
Julian Oes
a4a12dab33
commander: put unsupported warning back in place
2014-04-07 21:42:19 +02:00
Lorenz Meier
e4628fbed6
Merge pull request #810 from thomasgubler/mavlink_setpoints
...
mavlink: in normal mode transmit position setpoint and roll-pitch-yaw-thrust setpoint
2014-04-07 08:11:23 -07:00
Anton Babushkin
dfd9601b57
commander: minor comment fix
2014-04-07 17:24:39 +04:00
Anton Babushkin
de3efc0975
mavlink: publish SYS_STATUS at constant rate, don't look at update() result
2014-04-07 17:17:56 +04:00
Anton Babushkin
b770c9fc1e
position_estimator_inav: increase acceptable EPH/EPV, in commander use EPH/EPV to decide if global position valid
2014-04-07 17:16:43 +04:00
Thomas Gubler
536ff50fe1
mavlink: in normal mode transmit position setpoint and roll-pitch-yaw-thrust setpoint
2014-04-07 14:46:26 +02:00
Lorenz Meier
ceb287504c
Merge pull request #807 from PX4/trust_airspeed
...
Do not make minimum airspeed assumptions, as we can trust our digital se...
2014-04-06 10:35:14 -07:00
Lorenz Meier
e4cfdb4f9f
mavlink: Add manual SP subscription
2014-04-06 19:34:32 +02:00
Anton Babushkin
7c4f1c90dc
mavlink_receiver: fixed bug in manual control publication, minor refactoring
2014-04-06 14:57:45 +04:00