Randy Mackay
8722bb7ff9
GCS_MAVLink: send water depth and temp
2021-07-04 08:19:11 +10:00
Peter Barker
8d9d3ca437
GCS_MAVLink: add support for MAV_CMD_RUN_PREARM_CHECKS
2021-07-04 08:19:10 +10:00
Peter Barker
43cce260a0
GCS_MAVLink: remove HIL support
2021-07-04 08:19:10 +10:00
Peter Barker
3101b08489
GCS_MAVLink: correct decimation of SENSOR_STATUS message
...
static infers shared between all backends
2021-07-04 08:19:10 +10:00
Andrew Tridgell
96577b47f0
GCS_MAVLink: removed perf counters
2021-06-07 14:29:27 +10:00
Peter Barker
09f4961a63
GCS_MAVLink: increase statustext queue size to 7 on low-mem boards
...
... and SITL....
Copter currently spits out so many messages on a banner-send (e.g what
we do when parameters are fetched) that it puses the first sent message
straight out of the queue before it gets a chance to be sent from the
queue.
2021-05-27 12:39:04 +10:00
Andrew Tridgell
8444a3310d
GCS_MAVLink: added handle_command_landing_target()
...
used to allow vehicle handling of time corrected LANDING_TARGET msgs
2021-04-13 17:30:19 +10:00
Peter Barker
9471d8069c
GCS_MAVLink: move handling of last-seen-SYSID_MYGCS up to GCS base class
2021-04-07 17:54:21 +10:00
Peter Barker
1a2b960b0d
GCS_MAVLink: prune old statustexts from queue
2021-04-06 09:10:43 +10:00
Peter Barker
4027ed6070
GCS_MAVLink: make servicing statustext more efficient
...
We should only need to do a single PAYLOAD_SIZE check for each mavlink
backend now.
- stop iterating over all channels, only do instantiated mavlink
backends
- if we don't have space for a statustext on a channel, break
immediately and don't do remaining texts
- resposibility is now on the GCS_MAVLINK backend for sending texts
- that's a timing change
- only iterate over entries actually in the queue rather than maximum
queue size
- it's likely to be the full length anyway as we don't expire things
from the queue and most setups will have full channels
2021-04-06 09:10:43 +10:00
Peter Barker
2d61ded1f3
GCS_MAVLink: add option to execute auxillary functions via mavlink
2021-03-31 11:36:09 +11:00
Peter Barker
5123b05b2b
GCS_MAVLink: add support for ATTITUDE_QUATERNION
2021-03-13 09:44:12 +11:00
Peter Barker
e3de88d1d4
GCS_MAVLink: handle MAV_CMD_DO_SET_MISSION_CURRENT
2021-03-04 11:59:33 +11:00
Peter Barker
cfe9dc32d1
GCS_MAVLink: only send distance_sensor messages if valid data seen
...
In the case you only have a forward-pointing LIDAR we'd send messages
for each of the other orientations from proximty's horizontal-distances
array, chewing up bandwidth and processing time.
2021-02-23 10:02:47 +09:00
Peter Barker
1afa0a7ff2
GCS_MAVLink: remove unused member
...
and a bogus comment
2021-02-20 21:48:25 +11:00
Peter Barker
eefcc92f24
GCS_MAVLink: take MAV_CMD_DO_SPRAYER as a mavlink command
2021-02-16 22:36:43 +11:00
Patrick José Pereira
e8e41c512e
GCS_MAVLINK: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Rishabh
a5fafe57d8
GCS_MAVLink: Add support for OBSTACLE_DISTANCE_3D
2021-02-01 14:34:13 +09:00
Pierre Kancir
30a4747898
GCS_MAVLink: send sim_state msg
2021-01-19 10:40:43 +11:00
Peter Barker
3d577d94e8
GCS_MAVLink: add do_disarm_checks boolean to disarm call
...
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Peter Barker
0052500d67
GCS_MAVLink: split out a handle_command_component_arm_disarm
2021-01-12 08:48:44 +09:00
Brad Bosch
a2192eda5e
GCS_MAVLink: use RADIO_STATUS message txbuf field
...
this avoids overrunning radio buffer in queued_param_send()
2021-01-12 10:46:15 +11:00
Andrew Tridgell
8b5ff1a6de
GCS_MAVLink: enable GCS_SEND_TEXT() to send as CAN LogMessage messages
2020-12-04 15:16:21 +11:00
Andrew Tridgell
9c74474196
GCS_MAVLink: setup baudrates for passthru serial ports
2020-11-17 10:26:14 +11:00
Andrew Tridgell
e346cd3c80
GCS_MAVLink: fixed use of incorrect millis16() values
2020-10-12 13:48:15 +11:00
Peter Barker
7cb8cde417
GCS_MAVLink: move orderly rebooting code from GCS into AP_Vehicle
...
Several places we reboot the vehicle we should probably do several of
the things done in this code - flushing parameters, forcing safety on
etc.
2020-09-29 18:07:59 +10:00
yaapu
e7a49dd624
GCS_Mavlink: refactor zero_rc_outputs() out of GCS_Mavlink
2020-09-29 18:07:59 +10:00
Andy Piper
8b766efb0a
GCS_MAVLink: add support for updating OSD parameters over mavlink
2020-09-09 20:36:42 +10:00
Randy Mackay
1a3ef62b84
GCS_MAVLink: add virtual send_winch_status
2020-08-07 21:55:07 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
7067cbdafd
GCS_Mavlink: Adapt to upstream mavlink changes to the SCALED_PRESSURE message
2020-07-29 14:34:22 +10:00
Andrew Tridgell
9466e7e71e
GCS_MAVLink: make correct_offboard_timestamp_usec_to_ms protected
...
for use by vehicle code
2020-07-10 13:28:38 +10:00
Peter Barker
e2056f56e3
GCS_MAVLink: support for sending generator message
2020-07-03 08:21:42 +09:00
Michael du Breuil
7fae084793
GCS_MAVLink: Only send a single battery status per call
2020-06-23 09:18:56 +10:00
chobits
991387dbfb
GCS_MAVLink: support covariance field in vis pose msg
2020-06-09 13:31:21 +09:00
Peter Barker
f158533fe9
GCS_MAVLink: allow private channels to also be active
...
This will allow for logging of private channels.
2020-06-09 10:37:32 +10:00
Peter Barker
b428f12913
GCS_MAVLink: add and use accessor for last-RADIO_STATUS.remrssi-ms
2020-06-09 10:20:29 +10:00
Peter Barker
07e3f1d48f
GCS_MAVLink: add RADIO_STATUS.rssi as an AP_RSSI telemetry source
2020-06-09 10:20:29 +10:00
chobits
ff6e4c4f9a
GCS_MAVLink: support VISION_SPEED_ESTIMATE
2020-06-01 17:51:24 +09:00
Andrew Tridgell
87c2858bde
GCS_MAVLink: give banner on param download with ftp
...
thanks to Peter for noticing
2020-05-10 15:10:21 +10:00
Andrew Tridgell
7cd901fa5b
GCS_MAVLink: enable ftp without filesystem
...
allows for @PARAM and @SYS
2020-04-29 07:36:55 +10:00
Andrew Tridgell
6811d79b6f
GCS_MAVLink: define GCS_SEND_TEXT() globally
...
used to avoid linking GCS in AP_Periph
2020-04-29 07:36:55 +10:00
Peter Barker
26b88823f4
GCS_MAVLink: correct out-of-space-to-send call in HAVE_PAYLOAD_SPACE
2020-04-27 15:30:30 +10:00
Randy Mackay
6f8176c71e
GCS_MAVLink: remove ahrs3
2020-04-22 14:11:17 +09:00
Peter Barker
8b9281eaa1
GCS_MAVLink: log number of times message not sent due to no space
2020-04-17 22:21:14 +10:00
Peter Barker
41ada7f8f4
GCS_MAVLink: document the payload-space macros
2020-04-17 10:20:49 +10:00
Randy Mackay
c39fef6c56
GCS_MAVLink: pass vision-position-estimate reset_counter to AP_VisualOdom handler
2020-04-14 10:28:03 +10:00
Randy Mackay
a9c1eb5af4
GCS_MAVLink: fill in sys_status vision position bits
2020-04-09 19:41:08 +09:00
Randy Mackay
728e8b45a9
GCS_MAVLink: use AP_VisualOdom to handle vision-position-estimate messages
2020-04-09 19:41:08 +09:00
Peter Barker
ca7fcc093c
GCS_MAVLink: correct return type on get_stream_slowdown_ms
...
Only used in one place. On slow links may have caused us to re-request
a waypoint too often. "Too often" is still >1s intervals.
2020-03-31 11:15:04 +11:00
Randy Mackay
ecf5abc1f2
GCS_MAVLink: minor format fix
2020-03-30 20:20:08 +09:00