Commit Graph

252 Commits

Author SHA1 Message Date
Lorenz Meier 69bc0c8e39 Reduced param rate - as long as we do not have proper QoS (= reducing all rates at once if link becomes lossy) we need to open-loop match the link 2014-03-21 18:12:02 +01:00
Anton Babushkin 1c49d768fb mavlink: code style fixed 2014-03-21 20:06:34 +04:00
Julian Oes 3d47ba14f3 Merge remote-tracking branch 'px4/beta_mavlink2' into beta_mavlink2_camera
Conflicts:
	src/modules/mavlink/mavlink_messages.cpp
2014-03-21 11:19:26 +01:00
Lorenz Meier 2988136e7e Implemented last missing messages, added stream config for USB, made stream config fails for non-existing mavlink links non-fatal 2014-03-21 10:44:31 +01:00
Lorenz Meier 055e459355 Remove unneeded headers 2014-03-21 08:33:49 +01:00
Lorenz Meier b8afcf5863 Ensure that the mavlink start call only returns once the new instance is fully initialized. This avoids race conditions in getopt() and it ensures that the mavlink debug fd is ready when other processes start 2014-03-21 08:32:54 +01:00
Julian Oes bf69a7b647 mavlink: camera mode rate is now correct 2014-03-20 14:26:45 +01:00
Julian Oes a989dd6eec mavlink: correct verbose info, bytes not bits 2014-03-20 14:23:23 +01:00
Julian Oes 952fd1ec6c mavlink: camera mode with rate multiplier 2014-03-20 11:38:41 +01:00
Julian Oes 8fe3475b41 mavlink: add onboard function for camera capture commands 2014-03-17 20:12:12 +01:00
Lorenz Meier 67298d47c1 Merge branch 'beta_mavlink2' of github.com:PX4/Firmware into mavlink2_hil 2014-03-17 15:09:15 +01:00
Lorenz Meier 75ad1c4a13 Completely and properly populate battery status message in HIL 2014-03-17 14:35:07 +01:00
Lorenz Meier 8cb5a12cc7 Remove now unused hil_counter 2014-03-17 13:33:23 +01:00
Lorenz Meier 2db7d30400 Do not work on USB UARTs 2014-03-16 19:43:09 +01:00
Anton Babushkin 762e8f5289 mavlink_orb_subscription: minor optimization and comment fix 2014-03-16 17:28:34 +04:00
Anton Babushkin df5d702bae mavlink: MavlinkOrbSubscription.update() result fixed 2014-03-16 17:10:56 +04:00
Lorenz Meier 7a4efc81b9 Merge branch 'beta_mavlink2' of github.com:PX4/Firmware into mavlink2_hil 2014-03-16 13:50:50 +01:00
Lorenz Meier 3874bca208 mavlink: Only send messages when we have updates for them. 2014-03-16 13:48:33 +01:00
Anton Babushkin 82389e9702 Merge branch 'beta_mavlink2' into mavlink2_hil 2014-03-16 11:08:54 +04:00
Lorenz Meier 3d766575cd Merge pull request #738 from PX4/beta_mavlink2_stream
mavlink stream: do not use getopt as it leads to problems with the global optarg variable
2014-03-14 18:10:27 +01:00
Thomas Gubler 6b79f53338 mavlink stream: do not use getopt as it leads to problems with the global optarg variable 2014-03-14 14:42:35 +01:00
Lorenz Meier 45a18587fc Fine tuning for flow control disable to stop firing after change is effective 2014-03-12 17:53:25 +01:00
Lorenz Meier 7604518db4 Fixed HW flow control enable / disable scheme, console output cleanup on start 2014-03-12 10:29:39 +01:00
Lorenz Meier 069cba6338 Merge branch 'beta_mavlink2' into beta_mavlink2_flow_control 2014-03-12 10:02:22 +01:00
Lorenz Meier 2d2ecbad00 Fixed more wrong usages of encoding channel 2014-03-12 09:56:26 +01:00
Lorenz Meier 76af0970f5 Increased param rate, fixed wrong usage of MAVLink chan. 2014-03-12 09:46:02 +01:00
Lorenz Meier 023c7069c4 Fix FIONWRITE usage 2014-03-12 09:36:12 +01:00
Lorenz Meier f66b0ad8ac Added hardware flow control to mavlink app. Auto-disables if nothing can be written to the port 2014-03-12 09:04:30 +01:00
Lorenz Meier a37e539647 Correctly initialize mission count 2014-03-11 22:26:12 +01:00
Anton Babushkin 1fd7b89d3c mavlink: use "normal" mode for HIL operation, only add HIL_CONTROLS stream when HIL enabled 2014-03-11 23:03:49 +04:00
Anton Babushkin 9e41f6af18 mavlink: memory leaks on exit fixed, minor fixes 2014-03-11 19:28:48 +04:00
Anton Babushkin 09f18408fc mavlink: msg buffer size fixed 2014-03-11 17:21:03 +04:00
Anton Babushkin 35b8d00e17 mavlink: task_main noreturn attribute removed 2014-03-11 16:20:37 +04:00
Anton Babushkin 0ad38a7323 mavlink: task stop fixes, WIP 2014-03-11 15:34:27 +04:00
Anton Babushkin b3839afbbc mavlink: channel ID allocation fixed 2014-03-11 11:12:39 +04:00
Anton Babushkin 39b1f7244c mavlink: RC_CHANNELS_RAW added to default streams set 2014-03-08 11:37:49 +04:00
Anton Babushkin e1742eea7d mavlink: code style fixed 2014-03-04 13:03:17 +04:00
Anton Babushkin 2ec4ee6fc0 mavlink_receiver: split message handlers to separate methods 2014-03-04 13:02:45 +04:00
Anton Babushkin 190eb6205d mavlink: OPTICAL_FLOW stream implemented 2014-03-04 11:45:58 +04:00
Anton Babushkin 14ddf1804a mavlink: code style fixed 2014-03-04 00:48:20 +04:00
Anton Babushkin 3107f4d62c mavlink: UART receiver major cleanup 2014-03-04 00:26:26 +04:00
Anton Babushkin 624ff01018 mavlink: HIL fixes, send 0 when disarmed 2014-03-02 12:53:46 +04:00
Anton Babushkin 63bdb749ad mavlink: unused include removed 2014-03-01 22:41:27 +04:00
Anton Babushkin 85001b52ae mavlink: VFR_HUD message added to default message sets 2014-03-01 20:09:02 +04:00
Anton Babushkin a1ea89ea2d mavlink: more precise message streams timing 2014-03-01 19:42:29 +04:00
Anton Babushkin 6948defdb2 mavlink: HIL fixes, performance optimization 2014-03-01 19:27:53 +04:00
Anton Babushkin 256cc2b411 mavlink: cleanup and refactoring, rcS: EXIT_ON_END fix 2014-03-01 18:30:30 +04:00
Anton Babushkin c10ef78753 mavlink: stop fixes 2014-03-01 17:12:46 +04:00
Anton Babushkin 1b8004cd8e mavlink: add new streams in main loop, minor cleanup and fixes 2014-03-01 16:43:04 +04:00
Anton Babushkin 836f7c435f mavlink: code style and copyright fixes 2014-03-01 00:16:51 +04:00