Peter Barker
e9ecc11b00
GCS_MAVLink: use baro singleton
7 years ago
Peter Barker
9d381c26a7
GCS_MAVLink: use AHRS singleton
7 years ago
Andrew Tridgell
8f1e8e787a
GCS_MAVLink: added DATA96 hook for AP_Radio
7 years ago
Peter Barker
e39e8359b6
GCS_MAVLink: tighten result of handle_preflight_reboot
7 years ago
Peter Barker
269294754f
GCS_MAVLink: use gps singleton
7 years ago
Lucas De Marchi
ed2b8d3476
GCS_MAVLink: refactor send_autopilot_verison() to use AP_FWVersion
...
Make the method use the getter directly to get a reference of
AP_FWVersion and work out everything that needs to be sent. This allows
us to remove ifdefs and replace with runtime if/else.
Note that there's also a bug fix: we were not setting flight_custom_version
to zero in case GIT_VERSION wasn't defined.
7 years ago
Peter Barker
d0c2898ebc
GCS_MAVLink: move handling of SET_GPS_GLOBAL_ORIGIN up
7 years ago
Randy Mackay
07c195a865
GCS_MAVLink: add send_ekf_origin
7 years ago
Peter Barker
6bd7089718
GCS_MAVLink: implement handling of MAV_CMD_DO_SET_MODE
7 years ago
Peter Barker
8507763a1c
GCS_MAVLink: create _handle_set_mode for common msg and cmd-long code
7 years ago
Lucas De Marchi
58dec08b29
GCS_MAVLink: fix non static perf counter
...
Commit b9877e0d38
(GCS_MAVLink: make per channel perf counter non-static) made the
perf counters to be available per instance but missed the fact that
the perf infra doesn't copy the string.
Fix this by maintaining a the string inside the object.
8 years ago
Peter Barker
b4e536b424
GCS_MAVLink: move gcs_out_of_time into GCS object
8 years ago
Lucas De Marchi
b9877e0d38
GCS_MAVLink: make per channel perf counter non-static
...
Otherwise the perf counter from one channel may affect the other if
during an update of one channel the update function of the other gets
called.
8 years ago
Peter Barker
ac806b650f
GCS_MAVLink: move handling of do_send_banner up
8 years ago
Peter Barker
1544a92f8b
GCS_MAVLink: factor out a send_banner
8 years ago
Peter Barker
50242178b3
GCS_MAVLink: handle param_set in GCS_MAVLINK base class
8 years ago
Peter Barker
95ff94bfad
GCS_MAVLink: factor out a handle_common_param_message
8 years ago
Peter Barker
add1743c12
GCS_MAVLink: move send_autopilot_request calls up to GCS base class
8 years ago
Jacob Walser
e8f5967682
GCS_MAVLink: Add MSG_NAMED_FLOAT ap_message id
8 years ago
Peter Barker
154b212545
GCS_MAVLink: move serial_control case to base class
8 years ago
Peter Barker
2a07a077d9
GCS_MAVLink: use GCS_MAVLINK subclasses to handle set_mode
8 years ago
Peter Barker
c79cbd71af
GCS_MAVLink: use rangefinder backend accessors
8 years ago
Michael du Breuil
067335f68d
GCS_MAVLink: Handle termination requests from the GCS
8 years ago
Peter Barker
bff31e8b42
GCS_MAVLink: remove CLI
8 years ago
Peter Barker
7aaabea4ea
GCS_MAVLink: send gps messages as separate queued messages
8 years ago
Peter Barker
4e3cc6fd27
GCS_MAVLink: move sending of system_time up
8 years ago
Peter Barker
d1a9128118
GCS_MAVLink: move sending of camera_feedback up
8 years ago
Peter Barker
a841fddb3e
GCS_MAVLink: rename MSG_RETRY_DEFERRED to MSG_LAST and clarify comments
8 years ago
Peter Barker
0c5f66dc59
GCS_MAVLink: refactor code into new retry_deferred method
8 years ago
Peter Barker
679bb7f7a5
GCS_MAVLink: move try_send_message send_hwstatus up
8 years ago
Peter Barker
3b472ccc17
GCS_MAVLink: move try_send_message mission handling up
8 years ago
Peter Barker
b8cb758fac
GCS_MAVLink: move try_send_message compass message handling up
8 years ago
Peter Barker
b4688bd3d4
GCS_MAVLink: move common mavlink camera handling up
8 years ago
Peter Barker
60ffe00164
GCS_MAVLink: move gps inject handling up
...
Also, make AP_GPS responsible for decoding inject packets
8 years ago
Peter Barker
85a0da6178
GCS_MAVLink: handle common GPS messages in base GCS_MAVLINK class
8 years ago
khancyr
8abcb7a0e3
GCS_MAVLink: simplify send_proximity
8 years ago
khancyr
ec2ea1c903
GCS_MAVLink: move send_proximity to GCS common code (NFC)
...
Also clean two comments
8 years ago
Peter Barker
eb1cf0e73a
GCS_MAVLink: remove MSG_STATUSTEXT entirely
8 years ago
Peter Barker
06647cde2c
GCS_MAVLink: move handling of PREFLIGHT_SET_SENSOR_OFFSETS up
8 years ago
Peter Barker
bd28bdd907
GCS_MAVLink: move handling of MAG_CAL command longs up
8 years ago
Peter Barker
a7e57aa3fc
GCS_MAVLink: move MAV_CMD_START_RX_PAIR handling to base class
8 years ago
Peter Barker
318861e824
GCS_MAVLink: move mavlink support for servo/relay up
8 years ago
Peter Barker
cfc8d7feba
GCS_MAVLink: add common handling of mavlink command messages
8 years ago
Peter Barker
ebe3dcef6f
GCS_MAVLink: move rally-point handling up
8 years ago
Peter Barker
3338de827e
GCS_MAVLink: remove unneeded telemetry_delayed parameter
...
Also make it protected
8 years ago
Peter Barker
129d7220e6
GCS_MAVLink: move handling of incoming statutext messages up
8 years ago
Peter Barker
5c0aa27b2f
GCS_MAVLink: remove global static send_statustext_chan
8 years ago
Peter Barker
a599bc9031
GCS_MAVLink: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Peter Barker
731aaed8af
GCS_MAVLink: eliminate global static GCS_MAVLINK::send_home_all
8 years ago
Peter Barker
726007efde
GCS_MAVLink: move common mission handling up to GCS_MAVLINK
8 years ago