Commit Graph

6967 Commits

Author SHA1 Message Date
Julian Oes 3411d58dfc Merge branch 'navigator_cleanup' of github.com:PX4/Firmware into navigator_cleanup 2014-04-26 11:44:09 +02:00
Julian Oes c0d4ecf2b6 navigator: some warnings and cleanup 2014-04-26 11:42:46 +02:00
Julian Oes fd56c15a20 Merge remote-tracking branch 'px4/master' into navigator_cleanup
Conflicts:
	ROMFS/px4fmu_common/init.d/rcS
	src/modules/mavlink/mavlink_main.cpp
	src/modules/mavlink/mavlink_messages.cpp
	src/modules/mavlink/module.mk
	src/modules/sdlog2/sdlog2_messages.h
2014-04-22 11:10:48 +02:00
Lorenz Meier aefea1a95d Merge pull request #850 from PX4/mavlink_startup_cleanup
mavlink: Start the same in HIL mode as in normal mode. Requires all HIL ...
2014-04-22 09:57:56 +02:00
Lorenz Meier f0e28a60ca Revert "HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive."
This reverts commit 78bf7ed969.
2014-04-22 09:57:16 +02:00
Lorenz Meier 5481b91ed1 Merge pull request #854 from jean-m-cyr/master
Reduce data manager SD card wear and tear
2014-04-22 09:39:13 +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 af33660351 Merge pull request #853 from PX4/hil_batt_fix
commander: Also publish battery status in HIL, since we have a fake batt...
2014-04-22 01:39:12 +02: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 20f20d54b0 Merge pull request #848 from PX4/lpos_logfix
Lpos logfix
2014-04-22 01:32:11 +02:00
Lorenz Meier 25b64e07ab Merge pull request #851 from PX4/hil_hotfix
HIL: Increased MAVLink link wait time based on previous experience that ...
2014-04-22 01:30:08 +02:00
Lorenz Meier 78bf7ed969 HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive. 2014-04-22 01:29:39 +02:00
Lorenz Meier 815e221c1f mavlink: Start the same in HIL mode as in normal mode. Requires all HIL tools to run sh /etc/init.d/rc.usb now. Improve UART error handling 2014-04-22 01:23:55 +02:00
Julian Oes d41a01483a fw_att_pos_estimator: lines were commented out by mistake 2014-04-21 22:48:12 +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
Julian Oes c3c0328e8b navigator: lot's of cleanup (WIP) 2014-04-21 17:36:59 +02:00
Julian Oes 488785250f fw_att_pos_estimator: added simple in-air/on-ground detector 2014-04-21 17:35:42 +02:00
Lorenz Meier 1196fb03c7 Merge pull request #844 from PX4/mavlink_batt_fix
mavlink: remaining battery scaling fixed
2014-04-21 12:19:07 +02:00
Anton Babushkin 1f2e972ea6 mavlink: remaining battery scaling fixed 2014-04-21 12:16:45 +02:00
Lorenz Meier f8232fa269 fw_config_fixes 2014-04-20 02:05:20 +02:00
Lorenz Meier 8305058ca3 Merge pull request #827 from PX4/mavlink_range_finder
Mavlink range finder
2014-04-20 02:04:33 +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
Lorenz Meier 2e38423426 Merge pull request #835 from TickTock-/blinkm_fix
Blinkm fix
2014-04-19 15:07:56 +02:00
Lorenz Meier d79b82b946 Merge pull request #829 from PX4/uploader_hotfix
Hotfix to PX4IO uploader. There are no known mishaps due to it, but very...
2014-04-19 15:06:51 +02:00
Julian Oes 654ab4635a navigator: wrong mission topic was copied, clearer naming of offboard mission now 2014-04-18 22:05:49 +02:00
Julian Oes e7594a75fb startup: cleanup of cox mixer files (Thanks Rune) 2014-04-18 22:05:48 +02:00
Lorenz Meier d7c4867898 mavlink: Updated protocol files 2014-04-18 22:05:48 +02:00
Lorenz Meier fde2878413 mavlink: Change to size optimization 2014-04-18 22:05:48 +02:00
Helen Oleynikova ebf0678333 More whitespace all the time. 2014-04-18 22:05:48 +02:00
Helen Oleynikova d6647d841a More whitespace all the time. 2014-04-18 22:05:48 +02:00
Helen Oleynikova 7accde9b5b Whtespace. 2014-04-18 22:05:48 +02:00
Helen Oleynikova e35d4cd491 Reverted logging. 2014-04-18 22:05:48 +02:00
Helen Oleynikova ff2e4732a0 Indentation. 2014-04-18 22:05:48 +02:00
Helen Oleynikova 0ed8a6d2da Reverted rcS 2014-04-18 22:05:48 +02:00
Helen Oleynikova 7d38af81d7 Fixed final parameters in rcS 2014-04-18 22:05:47 +02:00
Helen Oleynikova e09aed917d Finished adding a '-w' option. 2014-04-18 22:05:47 +02:00
Helen Oleynikova 32c57294d8 Set startup script to do mavlinks. 2014-04-18 22:05:47 +02:00
Helen Oleynikova 5c996065e2 Added vicon stream. 2014-04-18 22:05:47 +02:00
Julian Oes 705b10fcaf navigator: support DO_JUMP misison items 2014-04-18 22:05:47 +02:00
Julian Oes 665a2d6a92 mavlink and mission topic: added reading in DO_JUMP mission items 2014-04-18 22:05:47 +02:00
Helen Oleynikova b96669a531 Logging changes, baud rate changes. 2014-04-18 22:05:47 +02:00
Helen Oleynikova 99ab001a5a VICON -> VICN really this time. 2014-04-18 22:05:47 +02:00
Helen Oleynikova df0ab0ecd0 VICON -> VICN 2014-04-18 22:05:47 +02:00
Helen Oleynikova 18e47c0945 Tabs tabs tabs 2014-04-18 22:05:47 +02:00
Helen Oleynikova 746c5086b0 Added VICON logging, finally. 2014-04-18 22:05:47 +02:00
Lorenz Meier a96d83e4ec Revert "Merge pull request #816 from PX4/mavlink_commandlongstream"
This reverts commit 00ef10f307, reversing
changes made to d55e64d1e5.
2014-04-18 22:05:46 +02:00
Anton Babushkin 84aa96cf23 mavlink: minor comments and formatting fixes 2014-04-18 22:05:46 +02:00