There was a bug scaling rc rssi from rc_channels mavlink
message where it was scaled to 0-100 from 0-255, and this
was wrong because 255 is meant to be invalid, and AP uses
0-254 anyway. We must leave 255 as it is so the frontend
can understand if we don't have data.
Also, in RCRSSIIndicator, we don't show the indicator anymore
if data is not valid, there is no point
This enables two UI features when connected to an ArduPilot vehicle:
1. click the map in the Fly View and send an "ROI at Location" command; and
2. add an ROI as part of a Mission Plan.
Note that there is no way to determine if an ArduPilot build will accept
these commands. The commands will be accepted if the current connected
ArduPilot vehicle has both:
1. the Mount driver included (i.e. compiled with HAL_MOUNT_ENABLED); and
2. a Mount driver enabled (via the MNTn_TYPE parameter)
If ROIs are not supported, the ArduPilot vehicle will respond with a
MAV_RESULT_UNSUPPORTED command ack message.
Addresses #10640.
The current code would set the vehicle to guided,
then arm, and if fixed wing, then switch to auto.
This small time it remained in guided, until QGC
received feedback of vehicle armed and changed to
auto, was enough to cause dangerous situations,
because when arming in guided mode, if the
vehicle is a tilt rotor vtol, it would arm the
rotors in forward flight position.
This commit changes the behaviour of start mission,
so if it is an Ardupilot fixed wing or VTOL it will
set auto mode, and then arm, which is the intended
way of dealing with this in Ardupilot
* Remove the `LinkInterface::Channel` object
* Remove the reserved channel 0 and make channel 0 reservable
* Ensure that any user of the `reserveMavlinkChannel()` function will get a compiler error to note that a return of 0 no longer means error
* Make the `APMFirmwarePlugin` use a static channel member mutexed also by a static member
Hobbs meter is implemented differently for PX4 and
Ardupilot. This commit adds support for Ardupilot
and moves the method to firmware plugin instead
of being hardcoded in vehicle
More warnings cleanup
Android fix
More
More
More
Fix typo
Update android compiler warnings
Fix android compiler warnings
More android compiler warnings
This adds support for the new ArduSub 3.0 feature of automatically detecting
the thrusters directions and reverting the corresponding motor output if
necessary