Releasing a hat button did not lead to _executeButtonAction being called with BUTTON_UP. This adds the hat buttons to lastBbuttonValues, such that the button-up transitions for hat buttons are recorded.
* Fix for #10574
* This will affect everywhere which uses the QGCFlickable base control. This is the majority of everywhere but may be mission in some places. If fast scrolling is seen in specific spot it needs to changes to use QGCFlickable instead of Flickable.
When metadata was loaded from JSON and decimal places weren't
specified it was set to 0 when it should have been set to
kUknownDecimalPlaces (which will in turn default to 3).
---------
Co-authored-by: Don Gagne <dongagne@outlook.com>
The whole point of COMMAND_INTs is that they have better resolution for
coordinates leveraging int32 for degrees*10^7. This resolution is lost
if we use float while handling the data instead of double.
Signed-off-by: Julian Oes <julian@oes.ch>
Github workflow image ubuntu-20.04 version 20230109.1 have added Android
SDK Platform android-33-ext4. Something, possible the gradle version
bundled with qt does not parse this correctly, and sets
androidCompileSdkVersion in android-build/gradle.properties to "ext4"
instead of expected "33". This commit is a quick fix to the problem, so
the build will revert to android-33 wich was used before 20230109.1.
People wants to usue fullscreen without some text on the mididle of the screen,
10 seconds is enough to get the message.
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
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