Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
2db7d30400 Do not work on USB UARTs 2014-03-16 19:43:09 +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
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
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
Anton Babushkin
efca2d158a mavlink: commanl line streams configuration implemented 2014-02-28 00:45:59 +04:00
Anton Babushkin
2159f948ea mavlink: -r (datarate) parameter implemented, minor fixes 2014-02-27 18:31:41 +04:00
Anton Babushkin
141982a3ac mavlink: minor refactoring and cleanup, rate limiter class implemented, new messages added 2014-02-27 13:54:55 +04:00
Anton Babushkin
18f72f8dd7 mavlink: GPS_GLOBAL_ORIGIN message added, set message rate depending on baudrate 2014-02-26 23:02:53 +04:00
Anton Babushkin
85dc422d98 mavlink: more streams implemented, stack size returned to 2048 2014-02-26 22:47:19 +04:00
Anton Babushkin
7310fd6085 mavlink: use inherited classes instead of callbacks for mavlink messages formatting, fixes and cleanup 2014-02-26 21:28:35 +04:00
Anton Babushkin
769a2af1f8 mavlink: HIGHRES_IMU message added, default message streams added 2014-02-26 00:38:21 +04:00
Anton Babushkin
e291af990f mavlink: adding message stream by name implemnted, mavlink streams definitions and formatters moved to mavlink_messages.h/cpp, mavlink_orb_listener class and thread removed 2014-02-26 00:24:14 +04:00
Julian Oes
926c4701c7 mavlink: set current WP working as expected, report current WP with 0.5 Hz 2014-02-24 15:17:13 +01:00
Julian Oes
73edc02016 mavlink: fix verbose mode and actually publish mission 2014-02-23 13:42:15 +01:00
Julian Oes
b596bf6aa5 Mavlink: gotten rid of some warnings 2014-02-16 13:24:02 +01:00
Julian Oes
30dacbd154 Mavlink and navigator: handle current waypoint onboard 2014-02-15 11:29:36 +01:00
Julian Oes
71cd132663 Mavlink: Don't support mavlink stop so that QGC doesn't stop mavlink before it starts rc.usb 2014-02-14 14:24:26 +01:00
Julian Oes
523637e0f1 Mavlink: Start multiple uart listeners, HIL working 2014-02-14 13:36:59 +01:00
Julian Oes
346ae5b9f4 Mavlink: allow to stop (WIP) 2014-02-13 19:13:10 +01:00