Peter Barker
69db7b040a
GCS_MAVLink: move try_send_message handling of EKF_STATUS_REPORT up
7 years ago
Peter Barker
0baee6f82b
GCS_MAVLINK: avoid pushing partial RC_CHANNEL message into uart
...
In the case we do not send RC_CHANNELS_RAW, we will not check to see if
RC_CHANNELS will fit. RC_CHANNELS is larger than RC_CHANNELS_RAW, so the
check in the caller is insufficient.
7 years ago
Peter Barker
1aaf7e96af
GCS_MAVLink: remove intermediate functions
...
GCS_MAVLink: remove comm_receive_ch
This is a lot of sanity checking in a static function which has been
called from a place where things are guaranteed
GCS_MAVLink: remove unused comm_is_idle
GCS_MAVLink: remove unused comm_send_ch
GCS_MAVLink: remove unused hal reference
GCS_MAVLink: remove unused #includes
7 years ago
Peter Barker
d8871078ff
GCS_MAVLink: create persist_streamrates() callback to indicate persistence
...
Removes the catching of the message in each vehicle separately.
7 years ago
Peter Barker
879f250fac
GCS_Common: return airspeed sensor value in vfr_hud_airspeed
7 years ago
Peter Barker
d1174bcf70
GCS_MAVLINK: move try_send_message handling of vfr_hud up
7 years ago
Pierre Kancir
053f124492
GCS_MAVLink: fix FALLTHROUGH warning
7 years ago
Randy Mackay
938dc2e47d
GCS_MAVLink: resolve compiler warnings correct_offboard_timestamp
...
applies only to SITL
7 years ago
Peter Barker
f668d0dc57
GCS_MAVLink: enhance TIMESYNC handling
...
GCS_MAVLink: use de-jittered timestamp for our timesync responses
GCS_MAVLink: periodically send timesync request packets
Currently no use is made of the result of these requests, however,
having the result present in telemetry logs will be useful data.
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
8427b569b6
GCS_MAVLink: replace /* fall through */ with FALLTHROUGH;
7 years ago
Peter Barker
e9d2be143a
GCS_MAVLink: moving sending of sim state up
7 years ago
Peter Barker
fe2d8f853b
GCS_MAVLink: add type-correctness for stream entries
7 years ago
Peter Barker
c5520cd995
GCS_MAVLink: eliminate MSG_LIMITS_STATUS
...
Only Sub used this, and it used it to send fence status, which we have a
separate ID for
7 years ago
Eugene Shamaev
b260a6ca7c
GCS_Mavlink: HAL_RCINPUT_WITH_AP_RADIO definition
7 years ago
Peter Barker
92927cd848
GCS_MAVLink: move try_send_message of servo-output-raw up
7 years ago
Peter Barker
0ca888d52a
GCS_MAVLink: move sending of POSITION_TARGET_GLOBAL_INT up
7 years ago
Peter Barker
da40ebaf70
GCS_MAVLink: use relative altitide from ahrs.get_relative_position_D_home()
...
This will return a barometer height if the EKF is not available.
7 years ago
Peter Barker
4440f7ec4a
GCS_MAVLink: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK
7 years ago
Peter Barker
217fd73100
GCS_MAVLink: remove arguments to send_home and send_ekf_origin
7 years ago
Peter Barker
514bc5c21d
GCS_MAVLink: move send_attitude up to GCS_MAVLINK
7 years ago
Peter Barker
695c52be05
GCS_MAVLink: allow sub to override sending of scaled_pressure3
7 years ago
Peter Barker
c887a5c188
GCS_MAVLink: move try_send_message sending of scaled_pressure up
7 years ago
Peter Barker
8cb2b5809f
GCS_MAVLink: move try_send_message sending of sensor offsets up
7 years ago
Peter Barker
b51ec1d346
GCS_MAVLink: move try_send_message of RAW_IMU up to GCS_MAVLINK
7 years ago
Peter Barker
fc1775df75
GCS_MAVLink: handle setting of ekf origin in GCS_MAVLink
7 years ago
Michael du Breuil
1b05a18b84
GCS_MAVLink: Wrap sending named float values
7 years ago
Michael du Breuil
805e9519d1
GCS_MAVLink: Send rangefinder data
7 years ago
Michael du Breuil
03fc653e62
GCS_MAVLink: Don't rely on instance data from rangefinders
7 years ago
Andrew Tridgell
f4f62ececa
GCS_MAVLink: take account of transport lag in vision timestamps
7 years ago
Andrew Tridgell
ab9ef01889
GCS_MAVLink: added function for correcting offboard timestamps
7 years ago
Randy Mackay
e04de34014
GCS_MAVLink: add local time to VISP message
...
Adding both local and remote time is useful for providing support for this message because misaligned clocks lead to our EKF discarding the message
7 years ago
Peter Barker
347ab96bf0
GCS_MAVLink: move sending of battery data up
...
Also, use singleton to get battery object
7 years ago
Peter Barker
417e9e9aaf
GCS_MAVLink: move data stream send up
7 years ago
Peter Barker
8d7fadfdfc
GCS_MAVLink: set _initialised as last thing
7 years ago
Peter Barker
b76fa57108
GCS_MAVLink: move try_send_message handling of RC_CHANNELS_RAW up
7 years ago
Peter Barker
eecdcacf3e
GCS_MAVLink: move sending of heartbeats up to GCS_MAVLINK
7 years ago
Peter Barker
e4b4a746e6
GCS_MAVLink: move try_send_message handling of VIBRATION up
...
Also, use singleton to get ins
7 years ago
Andrew Tridgell
a5fe798e7f
GCS_MAVLink: we don't need the conversion helpers
7 years ago
Peter Barker
bf124e9333
GCS_MAVLink: make send_parameter_value_all a GCS method rather than static
7 years ago
Randy Mackay
e5c0b1814a
GCS_MAVLink: remove underscore from method names
7 years ago
Vince Kurtz
2f81747112
GCS_MAVLink: fix VISP logging
...
log VISP messages for the ATT_POS_MOCAP mavlink message as well
7 years ago
Peter Barker
682679c68d
GCS_MAVLink: use AP_ServoRelayEvents singleton
7 years ago
Tom Pittenger
63e42e194f
GCS_MAVLink: send correct mission_ack result type
...
has no effect since the two typedef enums equated to same value
7 years ago
Michael du Breuil
6e9e9dcdfa
GCS_MAVlink: Use RC_Channels instead of hal.rcin
7 years ago
Andrew Tridgell
fd3037bbb7
GCS_MAVLink: add support for alternative protocol
...
this allows an alternative to MAVLink to be installed on a GCS
port. This is used for BLHeli passthru support
7 years ago
Randy Mackay
64be134f7b
GCS_MAVLink: add VISP logging
7 years ago
Francisco Ferreira
ac73fa9681
GCS_MAVLink: fix method shadowing
7 years ago
Peter Barker
4fd2ec1cef
GCS_MAVLink: factor vehicle's mavlink send_heartbeat
7 years ago
Peter Barker
1f862e8192
GCS_MAVLink: serial control: avoid nullptr dererences
7 years ago
Peter Barker
d2ab76b2c6
GCS_MAVLink: calibrate airspeed sensor if it is present
7 years ago