José Roberto de Souza
4462869432
Add support to new fields in command_ack
2017-08-19 09:04:52 +02:00
José Roberto de Souza
925efe990d
Initialize all outgoing vehicle_command_ack_s and vehicle_command_s
...
This will initialize those structs with zero in all fields not set
and all fields set will only be change once to the final value not
wasting CPU time zeroing it.
This will guarantee that no non-unitialized structs will have
a trash value on from_external causing it to be sent to the
MAVLink channel without need it.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
a8cfd6f36a
msg: Use the correctly data types on vehicle_command
...
Lets save a few bytes using the right data types.
2017-08-08 21:46:30 +02:00
Beat Küng
3b64be44f4
ModuleBase: add wait_until_running() method
2017-07-14 11:57:11 +02:00
Beat Küng
053eb12329
Module documentation: switch to Markdown
2017-07-14 11:57:11 +02:00
Beat Küng
5bdbfa9b5c
send_event: convert to use ModuleBase
2017-07-14 11:57:11 +02:00
Beat Küng
30841ee6bf
send_event: separate initialization and wait until started for 'send_event start_listening'
2017-03-12 00:08:35 +01:00
Beat Küng
1a81b64d49
VEHICLE_CMD_PREFLIGHT_CALIBRATION: update temperature_calibration param definition
2017-02-17 23:01:25 +01:00
yaoling
0e34de08fb
Update send_event.cpp
...
do same as command module
2017-02-16 09:33:16 +01:00
Lorenz Meier
7fbc71f054
send event: Do use nullptr, not NULL
2017-02-04 14:46:51 +01:00
Beat Küng
c4a8aa9c68
temperature_calibration: refactor to separate code & reduce code duplication
2017-02-02 23:54:06 +01:00
Beat Küng
b6f3cf9425
events: refactor temperature_calibration command to take options and use a single vehicle_command
...
This makes it easier to start calibration for all sensors at once.
2017-02-02 23:54:06 +01:00
Beat Küng
603cd1e6dc
refator events: move temperature calibration implementation into subdirectory
2017-02-02 23:54:06 +01:00
Paul Riseborough
4d163eebb9
events: Add accelerometer and baro thermal calibration
2017-02-02 23:54:06 +01:00
Paul Riseborough
f0c456dd54
events: give gyro cal unique names in preparation for other sensor types
2017-02-02 23:54:06 +01:00
Beat Küng
ab8ac8f63a
events: add new module events
...
It uses the LP worker queue to periodically check for vehicle commands (30hz),
useful for several housekeeping tasks.
Currently the only task is temperature calibration.
Commands can be started via command line or via vehicle_command (from
Mavlink)
TODO: need to spec & extend the mavlink command.
2017-01-25 22:43:29 +01:00