Commit Graph

284 Commits

Author SHA1 Message Date
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 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
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
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
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