Daniel Agar
a99f75dde2
Mavlink set last sent timestamp to space out initial publication
...
- remove QURT defines no longer required
2018-06-09 13:38:44 +02:00
Julian Oes
ba150566c6
mavlink_command_sender: add some log printfs
...
This improves the printfs which will be logged. This should improve to
debug the camera triggering. The debug printfs are disabled by default.
2017-08-16 09:47:50 +02:00
Julian Oes
31edab6d6d
mavlink_command_sender: remove unused include
2017-08-16 09:47:50 +02:00
Lorenz Meier
90fdc544fd
MAVLink app: Code style fix
2017-07-08 15:34:36 +02:00
Lorenz Meier
ddf32e14de
MAVLink app: More print improvements
2017-07-08 15:23:46 +02:00
Lorenz Meier
d15dd061f9
MAVLink app: More debug string formatting
2017-07-08 14:36:08 +02:00
Lorenz Meier
e8aa5a3172
MAVLink app: Fix non-enabled debug string output
2017-07-08 14:23:46 +02:00
Lorenz Meier
6f368f34d1
MAVLink: Remove non-required safety check
2017-07-08 13:59:35 +02:00
Lorenz Meier
8d8174ea0c
MAVLink command retransmission: Reduce RAM footprint and make debug output optional
2017-07-08 12:46:28 +02:00
Julian Oes
1576094d9f
mavlink_command_sender: use const ref
2017-07-08 11:52:23 +02:00
Julian Oes
893b7b5d46
mavlink_command_sender: instantiate in initialize
2017-07-08 11:52:23 +02:00
Julian Oes
c66af00753
mavlink_command_sender: fix NuttX build
2017-07-08 11:52:23 +02:00
Julian Oes
e6d31f951c
mavlink_command_sender: fix logic after first test
...
- change/add a few printfs so they make more sense
- don't accidentally ignore command_acks
- don't forward commands to the same component id, and don't forward
commands that are broadcast to all components (target component 0)
2017-07-08 11:52:23 +02:00
Julian Oes
af0107ae0a
mavlink: add class for command retransmission
...
This adds a class to allow for retransmission of outgoing commands.
The sent commands are kept in a timestamped list to check if they are
acked as required by the mavlink protocol.
If they are not acked within a timeout, they can be retransmitted.
2017-07-08 11:52:23 +02:00