Peter Barker
cd98fcec87
GCS_MAVLink: rename OpticalFlow class to AP_OpticalFlow
...
Brings us in-line with other classes in ArduPilot.
Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
3 years ago
Randy Mackay
1a54236862
GCS_MAVLink: forward mav-cmd-do-gimbal-manager-pitchyaw to AP_Mount
3 years ago
Randy Mackay
c8996c04e1
GCS_MAVLink: replace send-mount-status with send-gimbal-device-attitude-status
3 years ago
Peter Barker
35c2653a87
GCS_MAVLink: stop using GCS_MAVLINK.h in header files
...
... by passing through a reference to a link object instead
3 years ago
Andrew Tridgell
2a95ced697
GCS_MAVLINK: pass OPEN_DRONE_ID_SYSTEM_UPDATE to library
3 years ago
Peter Barker
26d3ffc27d
GCS_MAVLink: correct INS_generic example
...
segfaults due to lack of singletoin objects in examples
3 years ago
Roel Schiphorst
3bd792295c
GCS_MAVLINK: add OpenDroneID messages
3 years ago
Iampete1
31bc6d9ec4
GCS_MAVLink: change AC_FENCE to AP_FENCE_ENABLED
3 years ago
Iampete1
5fa29eb01a
GCS_MAVLink: fix complation without fence
3 years ago
Peter Barker
cf915a0f35
GCS_MAVLink: ensure payload space for ACK before sending
...
Attempting to fix instance of the ACK not arriving on SITL reboot. We already have a lot of code around trying to get this out, but there's been at least once instance it hasn't.
3 years ago
Peter Barker
cbd591f2ba
GCS_MAVLink: save some bytes by removing empty methods based on #ifs
3 years ago
Peter Barker
34f2599479
GCS_MAVLink: remove transitive include dependencies
3 years ago
Peter Barker
ba2b7b8014
GCS_MAVLink: remove mavlink-specific methods from AP_SerialManager
3 years ago
Peter Barker
d768bcc904
GCS_MAVLink: eliminate get_mavlink_channel
...
there's no dependence on any SerialManager stuff when determining this. The protocol passed through was always mavlink...
3 years ago
Peter Barker
38119e17c7
GCS_MAVLink: correct gcs_out_of_space_to_send methodname
...
the "_count" is incorrect given the method which this calles on the link object
3 years ago
Iampete1
e8607c09f1
GCS_MAVLink: send ais message
3 years ago
Andrew Tridgell
a92161cd18
GCS_MAVLink: improved start battery cell monitoring
...
this fixes two issues:
1) we are not reporting the sag corrected voltage to GCS when we are
sending individual cells
2) we don't cope with having more than AP_BATT_MONITOR_CELLS_MAX
cells (or 12 for low flash boards, 14 for 2M boards)
it fixes this by distributing the extra voltage over the calls.
This change is particularly important for high cell count DroneCAN
smart batteries, where we currently would not handle more than 14
cells and the GCS would display the wrong voltage
the PR also cleans up the use of volts vs mVolts for the local
variables
3 years ago
Peter Barker
5f095304cf
GCS_MAVLink: add AP_LTM_TELEM_ENABLED
3 years ago
Randy Mackay
1fca72a831
GCS_MAVLink: add comment re sending locations to mounts
3 years ago
Randy Mackay
f83b4cdb40
GCS_MAVLink: support sending AUTOPILOT_STATE_FOR_GIMBAL_DEVICE
3 years ago
bugobliterator
4dd66fed4b
GCS_MAVLink: forward gimbal-device-information to AP_Mount
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
also forward gimbal_device_attitude_status
3 years ago
Randy Mackay
85b9e6e57c
GCS_MAVLink: remove ToshibaCAN support
3 years ago
Randy Mackay
3ac5ad8e33
GCS_MAVLink: remove unused send_gimbal_report
3 years ago
Randy Mackay
8c19af72e0
GCS_MAVLink: learn routes even on private channels
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
3 years ago
Peter Barker
be21091619
GCS_MAVLink: pass mavlink_command_ack_t to accelcal library
...
The library needs to look at the content of the packet. Given that GCS_MAVLink is already within handle_command_ack, decoding it there makes sense.
3 years ago
Ruffalo-sunghwan
51451d29e1
GCS_MAVLink : correct comment spelling
3 years ago
Iampete1
7d3368fa33
GCS_MAVLink: send servo raw 17-32 using port 1
3 years ago
murata
970af16251
GCS_MAVLink: Console output can be disabled
3 years ago
Andrew Tridgell
ab4772c9b7
GCS_MAVLink: support symlinks as files
...
this allows for use of symlinks with ftp and scripts
3 years ago
Peter Barker
17ad710866
GCS_MAVLink: tidy includes
3 years ago
Andrew Tridgell
973befa5d8
GCS_MAVLink: prevent devop larger than buffer
3 years ago
Peter Barker
f023f0443d
GCS_MAVLink: move logging of RPM into RPM library
3 years ago
Andrew Tridgell
73eabb1fd0
GCS_MAVLink: send GCS voltage to GCS
...
may be resting voltage of option enabled
3 years ago
Peter Barker
f1ec657c41
GCS_MAVLink: correct compilation with HAL_INS_ACCELCAL_ENABLED false
3 years ago
Peter Barker
e0561b0ca1
GCS_MAVLink: split AP_HAL_SITL and HAL_SIM_ENABLED
3 years ago
Andrew Tridgell
d28cecf25b
GCS_MAVLink: support CANFD_FRAME messages
3 years ago
bugobliterator
e996392671
GCS_MAVLink: disable CANTester by default
3 years ago
Stephen Dade
1344a0f41a
GCS_MAVLink: Add support for High Latency MAVLink protocol
3 years ago
Peter Barker
7638cbf001
GCS_MAVLink: include cleanups
3 years ago
Peter Barker
2d96842490
GCS_MAVLink: correct out-of-space-to-send count
3 years ago
Peter Barker
87439eec80
GCS_MAVLink: stop taking semaphore aorund statustext queue loop
...
we're taking it in the loop
3 years ago
Andrew Tridgell
890ef5679c
GCS_MAVLink: handle CAN_FILTER_MODIFY call
3 years ago
Andrew Tridgell
cce89099c5
GCS_MAVLink: fixed mavlink packet corruption with multiple threads
...
this ensures we don't try to send more data to a uart than is
available in the tx buffer
3 years ago
Andrew Tridgell
44d9d410a1
GCS_MAVLink: fixed mavlink packet corruption with multiple threads
...
this ensures we don't try to send more data to a uart than is
available in the tx buffer
3 years ago
Andrew Tridgell
ba502b462f
GCS_MAVLINK: support CAN_FRAME and MAV_CMD_CAN_FORWARD
3 years ago
Peter Barker
29a469432e
GCS_MAVLink: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION
3 years ago
Peter Barker
f25755a05f
GCS_MAVLink: mark MAV_CMD_DO_REPOSITION as having a location
3 years ago
Peter Barker
2e804bb0d5
GCS_MAVLink: mark MAV_CMD_DO_SET_ROI_LOCATION as having a location
3 years ago
Peter Barker
dffec9325e
GCS_MAVLink: create and use location_from_command_t
3 years ago
Andrew Tridgell
a32ecfbf29
mavlink: added read size limits on FTP read
...
thanks to Michael Oborne for spotting this:
https://github.com/ArduPilot/MissionPlanner/issues/2784
3 years ago