Mark Charlebois
1f84c348fc
fix for segv if topic has not been published
...
If the topic has not been published, orb_copy returns a
negative number which causes update() to memset the data
contents to zero.
In some instances data is a null pointer. This causes a
segment violation crash.
Added a check for data != 0
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:15:12 -07:00
Lorenz Meier
dcf03a2594
mavlink app: Use actuator controls message
2015-02-13 09:33:12 +01:00
Lorenz Meier
cbe3783d5e
Support topic groups in MAVLink subscription handling
2015-01-29 16:33:53 +01:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Thomas Gubler
f9d5cf332c
Revert "Hotfix: Only orb_copy items in mavlink app if the timestamp changed"
...
This reverts commit a9653fa10d .
2014-06-25 17:05:20 +02:00
Lorenz Meier
a9653fa10d
Hotfix: Only orb_copy items in mavlink app if the timestamp changed
2014-06-23 13:51:05 +02:00
Anton Babushkin
342e08977a
MavlinkOrbSubscription API reworked
2014-06-11 14:00:44 +02:00
Lorenz Meier
fbb3adde06
mavlink app: Clean up allocations
2014-05-16 14:00:58 +02:00
Anton Babushkin
fc757f9492
mavlink: is_published() fix
2014-04-02 15:38:49 +04: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
3874bca208
mavlink: Only send messages when we have updates for them.
2014-03-16 13:48:33 +01: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
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
cf7ac7e660
mavlink_orb_subscription: bug fixed
2014-02-25 00:04:44 +04:00
Anton Babushkin
d8fdade6ab
mavlink: major rewrite, prepare for dynamic mavlink streams configuration, WIP
2014-02-24 23:46:58 +04:00