Commit Graph

2779 Commits

Author SHA1 Message Date
Lorenz Meier 96ddea0826 Introduce debug option for mTECS and silence it as default 2014-04-27 12:45:02 +02:00
Thomas Gubler 811dd12ac5 Merge remote-tracking branch 'upstream/master' into mtecs 2014-04-26 22:01:18 +02:00
Lorenz Meier 4a949a9565 Merge pull request #749 from DonLakeFlyer/ArmDisarm
Arm/Disarm duplication removal and support for Disarm in VEHICLE_CMD_COMPONENT_ARM_DISARM
2014-04-26 12:24:42 +02:00
Lorenz Meier 5bd8e6f6b3 Merge pull request #845 from PX4/mag_decl_hotfix
Mag declination hotfix
2014-04-26 12:23:48 +02:00
Lorenz Meier eb520e7dcd Merge pull request #849 from PX4/compile_pedantic
Compile pedantic
2014-04-26 12:22:13 +02:00
Lorenz Meier f0298e005a Merge pull request #852 from PX4/sensors_loop
sensors: Keep looping in sensors app even if gyros do not update any mor...
2014-04-25 16:52:53 +02:00
Thomas Gubler 437825a5a8 launchdetector: fix copyright header 2014-04-25 16:39:16 +02:00
Lorenz Meier 5ef57b8af6 Merge pull request #843 from PX4/sensor_err_handling
Sensor error handling
2014-04-25 10:14:08 +02:00
Thomas Gubler cfe346ddfa Merge remote-tracking branch 'upstream/master' into mtecs 2014-04-24 16:19:42 +02:00
Thomas Gubler d7d6a3d3b7 filter gps simulation hil gps message with sysid 2014-04-23 16:26:44 +02:00
Thomas Gubler a2940182ef add parameter to mavlink app to allow parsing of HIL GPS message even if not in HIL mode
Conflicts:
	src/modules/mavlink/mavlink_receiver.cpp
2014-04-23 15:53: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
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 ca77c380b5 sensors: Keep looping in sensors app even if gyros do not update any more. There are lots of other reasons we might want to keep clocking the system. This resolves the RC timeout dependency in HIL. 2014-04-22 01:25:25 +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
Lorenz Meier 267b78f072 Fix of errors triggered by more pedantic compile options 2014-04-21 21:31:30 +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
Thomas Gubler 671c7a115a simple underspeed protection for mtecs 2014-04-21 16:20:20 +02:00
Anton Babushkin 1f2e972ea6 mavlink: remaining battery scaling fixed 2014-04-21 12:16:45 +02:00
Thomas Gubler 938d6b1917 Merge remote-tracking branch 'upstream/master' into mtecs_takeoff 2014-04-21 11:18:16 +02:00
Lorenz Meier 6306644028 airspeed: Let the status check routine handle the initial state 2014-04-20 21:45:42 +02:00
Lorenz Meier 709d104de4 airspeed driver: Do not spam the console on error, report the system change only once 2014-04-20 21:43:18 +02:00
Lorenz Meier 071f9c648b HMC5883: Do not spam the console on error and make everything worse. 2014-04-20 21:42:10 +02:00
Lorenz Meier 2ea32b315f Merged master 2014-04-20 02:04:05 +02:00
Anton Babushkin 7372693fb9 attitude_estimator_ekf: added missing include 2014-04-19 22:56:58 +02:00
Anton Babushkin 3b9bfcc7a2 attitude_estimator_ekf: use degrees for ATT_MAG_DECL parameter to be consistent with documentation 2014-04-19 22:46:06 +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
Thomas Gubler 0d403820e0 Merge branch 'mtecs' into mtecs_takeoff 2014-04-18 11:31:16 +02:00
Thomas Gubler cc5fddd34e Merge remote-tracking branch 'upstream/master' into mtecs 2014-04-18 11:30:04 +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
TickTock- 967e9b6878 Fixed blinkm state indication (was not properly reporting flight mode). Added flashing orange safety disarmed state indicator and solid blue failsafe indicator. Changed safety on state to solid cyan. Increased LiPo cellcount support to 6. 2014-04-16 21:41:00 -07:00
Lorenz Meier 282f40d162 Hotfix to PX4IO uploader. There are no known mishaps due to it, but very clearly the IO firmware flashing process should be verified after an upload. 2014-04-15 19:25:07 +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 80cd2e6c9b Added fields to range finder clarifying sensor properties 2014-04-13 23:29:12 +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