Tom Pittenger
12192f60e3
GCS_MAVLink: move ADSB mavlink handling from vehicles to common library
3 years ago
Peter Barker
07aa00f2b4
GCS_MAVLink: tidy sending of high-latency message
3 years ago
Peter Barker
3f37a21aaf
GCS_MAVLink: set message intervals from config files
3 years ago
Shiv Tyagi
5f94986af1
GCS_Common : Mavlink wrap when battery percentage is above 100
...
When calculated battery percentage is above 100 we wrap it to INT8_MAX
3 years ago
Peter Barker
9f6b9c7519
GCS_MAVLink: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Andrew Tridgell
ae615de4ce
GCS_MAVLink: added logging of NAMED_VALUE_FLOAT
...
this is useful when running sensors on a companion computer and
wanting values logged in main ArduPilot log.
4 years ago
olliw42
bacfe82c66
GCS_MAVLINK: add receiver_rssi() method, and use it
4 years ago
Andrew Tridgell
5c3056e50d
GCS_MAVLink: added MCU_STATUS message
4 years ago
Randy Mackay
2fba31332b
GCS_MAVLink: support MAV_CMD_SET_EKF_SOURCE_SET command
...
this allows external systems to set the active EKF source set
4 years ago
Peter Barker
a91d30369e
GCS_MAVLink: stop sending SENSOR_OFFSETS
...
Only works for first compass instance.
We have all of these in parameters anyway.
4 years ago
Peter Barker
784c56f6d0
GCS_MVALink: remove virtual from send_simstate
...
No longer overridden by anyone
4 years ago
bugobliterator
3d03979b16
GCS_MAVLink: add support for mavlink out on AP_Periph
4 years ago
Stephen Dade
035f65fe03
GCS_MAVLink: Add support for HIGH_LATENCY2 messages
4 years ago
Randy Mackay
3900a4f14a
GCS_MAVLink: send water depth and temp
4 years ago
Peter Barker
84603e2c85
GCS_MAVLink: add support for MAV_CMD_RUN_PREARM_CHECKS
4 years ago
Peter Barker
a23999d0f0
GCS_MAVLink: remove HIL support
4 years ago
Peter Barker
c43965f32e
GCS_MAVLink: correct decimation of SENSOR_STATUS message
...
static infers shared between all backends
4 years ago
Andrew Tridgell
96577b47f0
GCS_MAVLink: removed perf counters
4 years ago
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.
4 years ago
Andrew Tridgell
8444a3310d
GCS_MAVLink: added handle_command_landing_target()
...
used to allow vehicle handling of time corrected LANDING_TARGET msgs
4 years ago
Peter Barker
9471d8069c
GCS_MAVLink: move handling of last-seen-SYSID_MYGCS up to GCS base class
4 years ago
Peter Barker
1a2b960b0d
GCS_MAVLink: prune old statustexts from queue
4 years ago
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
4 years ago
Peter Barker
2d61ded1f3
GCS_MAVLink: add option to execute auxillary functions via mavlink
4 years ago
Peter Barker
5123b05b2b
GCS_MAVLink: add support for ATTITUDE_QUATERNION
4 years ago
Peter Barker
e3de88d1d4
GCS_MAVLink: handle MAV_CMD_DO_SET_MISSION_CURRENT
4 years ago
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.
4 years ago
Peter Barker
1afa0a7ff2
GCS_MAVLink: remove unused member
...
and a bogus comment
4 years ago
Peter Barker
eefcc92f24
GCS_MAVLink: take MAV_CMD_DO_SPRAYER as a mavlink command
4 years ago
Patrick José Pereira
e8e41c512e
GCS_MAVLINK: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Rishabh
a5fafe57d8
GCS_MAVLink: Add support for OBSTACLE_DISTANCE_3D
4 years ago
Pierre Kancir
30a4747898
GCS_MAVLink: send sim_state msg
4 years ago
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.
4 years ago
Peter Barker
0052500d67
GCS_MAVLink: split out a handle_command_component_arm_disarm
4 years ago
Brad Bosch
a2192eda5e
GCS_MAVLink: use RADIO_STATUS message txbuf field
...
this avoids overrunning radio buffer in queued_param_send()
4 years ago
Andrew Tridgell
8b5ff1a6de
GCS_MAVLink: enable GCS_SEND_TEXT() to send as CAN LogMessage messages
4 years ago
Andrew Tridgell
9c74474196
GCS_MAVLink: setup baudrates for passthru serial ports
4 years ago
Andrew Tridgell
e346cd3c80
GCS_MAVLink: fixed use of incorrect millis16() values
4 years ago
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.
4 years ago
yaapu
e7a49dd624
GCS_Mavlink: refactor zero_rc_outputs() out of GCS_Mavlink
4 years ago
Andy Piper
8b766efb0a
GCS_MAVLink: add support for updating OSD parameters over mavlink
4 years ago
Randy Mackay
1a3ef62b84
GCS_MAVLink: add virtual send_winch_status
5 years ago
Dr.-Ing. Amilcar do Carmo Lucas
7067cbdafd
GCS_Mavlink: Adapt to upstream mavlink changes to the SCALED_PRESSURE message
5 years ago
Andrew Tridgell
9466e7e71e
GCS_MAVLink: make correct_offboard_timestamp_usec_to_ms protected
...
for use by vehicle code
5 years ago
Peter Barker
e2056f56e3
GCS_MAVLink: support for sending generator message
5 years ago
Michael du Breuil
7fae084793
GCS_MAVLink: Only send a single battery status per call
5 years ago
chobits
991387dbfb
GCS_MAVLink: support covariance field in vis pose msg
5 years ago
Peter Barker
f158533fe9
GCS_MAVLink: allow private channels to also be active
...
This will allow for logging of private channels.
5 years ago
Peter Barker
b428f12913
GCS_MAVLink: add and use accessor for last-RADIO_STATUS.remrssi-ms
5 years ago
Peter Barker
07e3f1d48f
GCS_MAVLink: add RADIO_STATUS.rssi as an AP_RSSI telemetry source
5 years ago