Jacob Walser
582ef7ca5c
GCS_MAVLink: handle reset params to defaults command
2018-02-20 10:49:09 +11:00
Andrew Tridgell
8f1e8e787a
GCS_MAVLink: added DATA96 hook for AP_Radio
2018-02-08 17:36:33 +11:00
James Stewart
ec5faed133
GCS_MAVLink: send mission item requests to correct destination for partial updates
...
The correct destination is the GCS which last requested to update the mission (full or partial), not just the last GCS to set the mission count (full only).
2018-02-07 07:01:32 -08:00
Holger Steinhaus
36f0b429fb
GCS_MAVLink: send BATTERY_STATUS.energy_consumed if current measurement is available
2018-02-06 20:00:16 -07:00
Dr.-Ing. Amilcar Do Carmo Lucas
596119bca3
GCS_MAVLink: do not use hardcoded array sizes
2018-01-11 09:52:13 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
24ad9e9dff
GCS_MAVLink: Adapt to upstream mavlink changes in autopilot_version message
2018-01-11 09:52:13 +11:00
Peter Barker
8d7c710e9b
GCS_MAVLink: panic in SITL if unknown message sent
2018-01-10 19:11:15 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
f6ab044161
GCS_MAVLink: add microseconds since boot to the home and origin Mavlink messages
2018-01-09 13:01:05 +11:00
Peter Barker
e39e8359b6
GCS_MAVLink: tighten result of handle_preflight_reboot
2017-12-01 17:01:10 +00:00
Peter Barker
269294754f
GCS_MAVLink: use gps singleton
2017-11-15 13:43:03 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
91b6404b13
GCS_MAVLink: Replace hardcoded duplicated end_mavlink_gps*_rtk() function with a flexible one
2017-10-30 18:28:20 +00:00
Peter Barker
bb2573f945
GCS_MAVLink: send mission item requests to correct destination
...
The correct destination is the GCS which last set the mission count,
not the last GCS that requested it!
2017-10-19 20:52:24 +11:00
Lucas De Marchi
ec935cf0fe
GCS_MAVLink: refactor send_banner() to use AP_FWVersion
2017-09-23 21:37:45 -07:00
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.
2017-09-23 21:37:45 -07:00
Randy Mackay
953adc506d
GCS_MAVLink: add break in default case
...
non-functional change but removes some warnings in eclipse editors
2017-09-20 12:14:38 +09:00
Peter Barker
d0c2898ebc
GCS_MAVLink: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00
Randy Mackay
07c195a865
GCS_MAVLink: add send_ekf_origin
2017-09-19 10:30:15 +09:00
Peter Barker
6bd7089718
GCS_MAVLink: implement handling of MAV_CMD_DO_SET_MODE
2017-09-19 01:24:11 +01:00
Peter Barker
8507763a1c
GCS_MAVLink: create _handle_set_mode for common msg and cmd-long code
2017-09-19 01:24:11 +01:00
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.
2017-09-12 17:24:31 -07:00
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.
2017-09-11 10:01:57 -07:00
Peter Barker
ac806b650f
GCS_MAVLink: move handling of do_send_banner up
2017-08-30 15:54:47 +01:00
Peter Barker
1544a92f8b
GCS_MAVLink: factor out a send_banner
2017-08-30 15:54:47 +01:00
Peter Barker
8a7a1b77dd
GCS_MAVLink: handle param_request_list in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
50242178b3
GCS_MAVLink: handle param_set in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
95ff94bfad
GCS_MAVLink: factor out a handle_common_param_message
2017-08-30 15:54:47 +01:00
Peter Barker
add1743c12
GCS_MAVLink: move send_autopilot_request calls up to GCS base class
2017-08-30 15:54:46 +01:00
Peter Barker
e9204a66ee
GCS_MAVLink: include version for AP_FWVersion
2017-08-30 15:54:46 +01:00
Peter Barker
921985fe27
GCS_MAVLink: allow statustext logging from any source system
...
Turns out this is terribly useful for companion computers if
you allow them to log things when they're not your GCS.
The original check was bogus; if someone is talking to you via
mavlink they can do much worse than fill your logs!
2017-08-23 15:58:47 +01:00
Peter Barker
154b212545
GCS_MAVLink: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
b17c0482fb
GCS_MAVLink: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
2a07a077d9
GCS_MAVLink: use GCS_MAVLINK subclasses to handle set_mode
2017-08-16 11:05:37 +10:00
Peter Barker
b6076bcb77
GCS_MAVLink: adapt to new rangefinder method name
2017-08-15 19:00:29 +01:00
Peter Barker
c79cbd71af
GCS_MAVLink: use rangefinder backend accessors
2017-08-15 18:31:58 +01:00
Michael du Breuil
067335f68d
GCS_MAVLink: Handle termination requests from the GCS
2017-08-15 15:14:56 +01:00
Peter Barker
bff31e8b42
GCS_MAVLink: remove CLI
2017-08-14 10:23:50 +09:00
Peter Barker
7aaabea4ea
GCS_MAVLink: send gps messages as separate queued messages
2017-08-09 16:18:22 +01:00
Peter Barker
ee5874ab32
GCS_MAVLink: move sending of gps_raw up
2017-08-09 16:18:22 +01:00
Peter Barker
4e3cc6fd27
GCS_MAVLink: move sending of system_time up
2017-08-09 16:18:22 +01:00
Peter Barker
d1a9128118
GCS_MAVLink: move sending of camera_feedback up
2017-08-09 16:18:22 +01:00
Peter Barker
d03c7389f7
GCS_MAVLink: move sending of meminfo up
2017-08-09 16:18:22 +01:00
Peter Barker
0c5f66dc59
GCS_MAVLink: refactor code into new retry_deferred method
2017-08-05 23:11:09 +01:00
Peter Barker
fdac13d3d3
GCS_MAVLink: tidy send_message function
2017-08-05 23:09:37 +01:00
Peter Barker
ad2c3d27ec
GCS_MAVLink: move try_send_message queued_param_send up
2017-08-03 14:34:33 +01:00
Peter Barker
679bb7f7a5
GCS_MAVLink: move try_send_message send_hwstatus up
2017-08-03 14:33:37 +01:00
Peter Barker
3b472ccc17
GCS_MAVLink: move try_send_message mission handling up
2017-08-03 14:24:47 +01:00
Peter Barker
b8cb758fac
GCS_MAVLink: move try_send_message compass message handling up
2017-08-03 14:24:46 +01:00
Peter Barker
b4688bd3d4
GCS_MAVLink: move common mavlink camera handling up
2017-07-28 14:32:58 +01:00
Peter Barker
60ffe00164
GCS_MAVLink: move gps inject handling up
...
Also, make AP_GPS responsible for decoding inject packets
2017-07-27 12:03:25 +01:00
Peter Barker
85a0da6178
GCS_MAVLink: handle common GPS messages in base GCS_MAVLINK class
2017-07-25 14:00:45 +01:00