Commit Graph

270 Commits

Author SHA1 Message Date
Anton Babushkin 09093b17da mavlink: commands stream implemented 2014-04-08 23:28:52 +04: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
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 de3efc0975 mavlink: publish SYS_STATUS at constant rate, don't look at update() result 2014-04-07 17:17:56 +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 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
Julian Oes f17c0b1335 mavlink: implemented multicasting between mavlink instances (two options: forwarding: forward received messages from self to other mavlink instances, passing: send out messages received from other mavlink intances over serial 2014-04-03 21:15:47 +02:00
Anton Babushkin fc757f9492 mavlink: is_published() fix 2014-04-02 15:38:49 +04:00
Lorenz Meier 506c16f12a Bring fixed wing HIL back to normal mode, keep multicopter unchanged 2014-03-25 17:37:44 +01:00
Lorenz Meier 2c2c4af599 mavlink / HIL: Split handling of actuator feedback between fixed wing and multicopters 2014-03-25 12:21:07 +01:00
Lorenz Meier 5053575e2f Merge branch 'master' of github.com:PX4/Firmware into hil_range_fix 2014-03-25 12:08:58 +01:00
Lorenz Meier 57fdb40a4e mavlink: Hotfixed HIL battery status publication 2014-03-23 16:57:01 +01:00
Lorenz Meier 6c9a40b714 Fixed the HIL actuator range to what it should be 2014-03-23 14:34:15 +01:00
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