Julian Oes
c95c13985c
mavlink: better printf
2016-06-07 22:10:56 +02:00
Julian Oes
00bffeaf72
mavlink: whitespace only
2016-06-07 22:10:56 +02:00
Julian Oes
1dea9433b7
mavlink: don't complain if there is no mission
2016-06-07 22:10:56 +02:00
Julian Oes
67b2f68abd
mavlink: improved, updated usage
2016-06-07 22:10:56 +02:00
Julian Oes
ec5b2adfc0
mavlink: don't try broadcast 0, and less printfs
...
This removes a bunch of unneeded printfs and prevents broadcasting
packets of size 0 which just trigger a warning.
2016-06-07 22:10:56 +02:00
Beat Küng
1be3c0fe48
mavlink_main.cpp: fix race conditions in 'mavlink stop-all'
...
This had multiple issues:
- linked list was modified while other instances were still running and
accessing it (the used linked list is NOT thread-safe).
- Mavlink instance was deleted, but it was still in the linked list, and
thus could still be dereferenced by other threads
- the instance was deleted, but it was still accessed by the 'stop-all'
calling thread
What we do now is:
- wait for all threads to exit
- then remove the instances from the linked list and delete them
2016-06-07 10:05:59 +02:00
Beat Küng
1f55e23827
fix resource leak in mavlink_main.cpp: close the socket
2016-06-07 10:05:59 +02:00
Beat Küng
d8fbd8a6f6
fix MavlinkOrbSubscription: use orb_unsubscribe instead of close()
2016-06-07 10:05:59 +02:00
Beat Küng
0eb22823a6
fix resource leak in MavlinkParametersManager: call orb_unsubscribe
2016-06-07 10:05:59 +02:00
Beat Küng
d0ffb1acb8
fix resource leak in MavlinkReceiver: call orb_unsubscribe
2016-06-07 10:05:58 +02:00
Lorenz Meier
66db577c7d
Tone down mavlink message
2016-06-05 14:37:47 +02:00
Lorenz Meier
ff4f27b05e
MAVLink app: Add option to configure broadcast, default to off
2016-06-05 12:39:33 +02:00
Beat Küng
25cff52019
RTCM: use MAVLINK_MSG_ID_GPS_RTCM_DATA mavlink message (supports fragmentation)
2016-06-02 09:26:03 +02:00
Beat Küng
8c9b272545
mavlink udp: avoid spamming the console when disconnecting the Network or bcast addr not found ( #4611 )
2016-05-30 21:53:37 +02:00
Lorenz Meier
1b2043b929
MAVLink app: Allocate buffers only as they are needed
2016-05-29 16:14:33 +02:00
Paul Riseborough
2ce8056b8f
mavlink: publish values for vision system errors
...
Sets zero values as a placeholder until mavlink can be updated.
2016-05-28 14:54:14 +02:00
Lorenz Meier
7a0d43586f
MAVLink app: Only start transmitting when boot is complete ( #4666 )
2016-05-28 09:57:07 +02:00
Lorenz Meier
c4da55e40f
MAVLink app: Reduce excessive allocation
2016-05-22 15:03:22 +02:00
Daniel Agar
464e2f14c1
mavlink remove clang warning/error
2016-05-19 21:49:34 +02:00
Daniel Agar
1ecdb0f6fb
adjust stack sizes
2016-05-19 21:49:34 +02:00
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
2016-05-19 21:49:34 +02:00
Lorenz Meier
56e887c6c7
MAVLink app: Return result of network operation
2016-05-19 20:13:32 +02:00
Lorenz Meier
84800dfd87
MAVLink: Update complete app to support MAVLink 1 & MAVLink 2. Add MAV_PROTO_VER param to switch between them
2016-05-19 20:13:32 +02:00
Lorenz Meier
55750a0e7c
Fix GCC compile error
2016-05-19 20:13:32 +02:00
Lorenz Meier
0a597d0d62
MAVLink: Update to version 2 compaat API
2016-05-19 20:13:32 +02:00
Lorenz Meier
6eccfe3d14
MAVLink 2.0: Take a first stab at integration, enable heartbeat packets
2016-05-19 20:13:32 +02:00
Lorenz Meier
55c879a0ab
MAVLink: Use valid flag to initialize fields
2016-05-15 15:38:01 +02:00
Lorenz Meier
69f702fb6a
MAVLink: Remove unused function definitions
2016-05-15 14:27:59 +02:00
Daniel Agar
69c1ce1714
WIP logger serialization
2016-05-14 11:27:07 +02:00
Daniel Agar
eb29b33620
use gcc attributes to align and pack
2016-05-14 11:27:07 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Daniel Agar
27cd3af7fb
mavlink fix missing MavlinkStreamNavControllerOutput ( #4538 )
2016-05-14 00:39:17 +02:00
Daniel Agar
008354f935
testing cleanup
2016-05-13 13:01:41 +02:00
Daniel Agar
39d388051a
WIP posix_sitl_test
2016-05-13 13:01:41 +02:00
Daniel Agar
2bc74fd5d9
restore px4fmu-v2_test
2016-05-13 13:01:41 +02:00
Daniel Agar
eae726e345
FW add mavlink NAV_CONTROLLER_OUTPUT
2016-05-13 12:56:04 +02:00
Lorenz Meier
d89937502c
MAVLink: Clean up stream init
2016-05-13 10:34:25 +02:00
Julian Oes
afbdec1742
mavlink: whitespace
2016-05-12 08:16:36 +02:00
Jonathan Challinger
7ec37d5ffd
mavlink: subscribe to and use cpuload message instead of vehicle_status
2016-05-12 08:16:36 +02:00
Lorenz Meier
165f75589b
MAVLink app: Use proper C99 NaN define
2016-05-11 12:59:57 +02:00
Lorenz Meier
34baf01d7e
Fix altitude estimate
2016-05-11 10:02:03 +02:00
sander
e0a8571254
Use filtered voltage and current values for mavlink sys message
2016-05-10 21:34:11 +02:00
Lorenz Meier
06938064c1
MAVLink: Always accept commands to avoid corner case with USB power
2016-05-10 12:41:48 +02:00
Lorenz Meier
48d7295be6
Default to a multicopter
2016-05-06 07:28:36 +02:00
Lorenz Meier
ae75ba26b7
MAVLink: Remove excessive stack
2016-05-05 19:36:39 +02:00
Daniel Agar
7aa6e85563
enable Wshadow
2016-05-05 13:32:42 +02:00
Lorenz Meier
c958bfeaa3
MAVLink app: Report OS and Firmware version
2016-05-03 11:39:54 +02:00
Lorenz Meier
ae123d9e20
MAVLink app: Do not accept config commands on wireless links when USB is connected
2016-04-30 09:15:06 +02:00
Lorenz Meier
796af52df2
MAVLink app: Offer a little more RAM
2016-04-29 22:05:56 +02:00
Lorenz Meier
2a963dc3b7
Initialize MAVLink system to sane defaults
2016-04-29 22:00:00 +02:00