24 Commits

Author SHA1 Message Date
Daniel Agar
4e32cb17df clang-tidy modernize-use-equals-default 2018-05-18 22:48:55 +02:00
acfloria
41de588a73 Move HIGH_LATENCY2 stream to separate file and update some comments" 2018-04-11 15:15:28 +02:00
acfloria
63cb895a1d MavlinkStream: Ensure that not multiple messages are sent after some time sending nothing 2018-04-11 15:15:28 +02:00
acfloria
22e234724f Update timestamp for last sent message im mavlink stream only if the message was sent 2018-04-11 15:15:28 +02:00
acfloria
cbe75188e9 Add the HighLatency2 mavlink stream 2018-04-11 15:15:28 +02:00
Lorenz Meier
3f048e8a87 MAVLink stream: Do not override interval too much 2017-07-29 16:12:41 +02:00
Lorenz Meier
07ced9895c MAVLink: Improve message handling / tracking
The message handling was not obeying action focused messages and high-rate messages properly before. With this change update rates track the desired rates closely. Critical high-rate messages such as ADS-B are queued additionally to guarantee that all received packets are being correctly forwarded.
2017-07-29 16:12:41 +02:00
Lorenz Meier
74b0e485e7 MAVLink stream: Ensure the message is not sent again if it was already dispatched. 2017-05-19 10:34:43 +02:00
Lorenz Meier
0b6e0c020e MAVLink stream: Guard against an interval value of zero 2016-12-25 21:34:19 +01:00
Lorenz Meier
6444988392 MAVLink app: Send messages on average at a more correct rate and send on first call
This patch fixes two issues:
  * It sends the message on the first call, making sure that the first update gets sent out.
  * It improves the rate scheduling. In an experiment with 0.5, 50 and 250 Hz all rates were correct within 0.3% of the intended rate.
2016-12-25 21:30:31 +01:00
Mark Charlebois
a1332e699c QuRT and POSIX changes - part 5
Last part of the main QuRT related changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:39:25 -07:00
Daniel Agar
c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
Anton Babushkin
7ecf66c06d mavlink: bugs fixed 2014-07-23 17:36:10 +02:00
Anton Babushkin
344a34bb72 mavlink: MavlinkStream API updated 2014-07-23 11:03:37 +02:00
Anton Babushkin
ee7cd04e4c mavlink: use send_message() method of Mavlink class instead of using helpers 2014-07-20 20:34:32 +02:00
Lorenz Meier
8e41cbfdfa mavlink: Warning fixes 2014-06-30 12:18:38 +02:00
Don Gagne
92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Lorenz Meier
c60561b705 mavlink: Compile warning fixes 2014-05-21 14:21:47 +02:00
Anton Babushkin
a1ea89ea2d mavlink: more precise message streams timing 2014-03-01 19:42:29 +04:00
Anton Babushkin
836f7c435f mavlink: code style and copyright fixes 2014-03-01 00:16:51 +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
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
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
Anton Babushkin
d8fdade6ab mavlink: major rewrite, prepare for dynamic mavlink streams configuration, WIP 2014-02-24 23:46:58 +04:00