Skip to content

Rudder arming up - test PR for CodeQL scanning #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 107 commits into
base: master
Choose a base branch
from

Conversation

peterbarker
Copy link
Owner

No description provided.

peterbarker and others added 29 commits June 7, 2025 11:15
.... which strikes me as sketchy if the camera is on a mount or not mounted along the lines of the aircraft axes
The HolybroG4_GPS accidentally got assigned the same ID when it was
introduced. The CarbonixL496 was obscure enough to delete entirely and
reassign the ID to the HolybroG4_GPS.
this allows the sim_arming_pos.lua screen to be used to setup
screnarios for testing the glider model
the driver supports three different compasses with similar names
we had a deadlock between the mutex in HAL_ChibiOS CAN layer and the
MAVLinkCAN object

the deadlock arose because the low level CAN layer holds the HAL CAN
mutex before it calls up to the MAVLinkCAN frame callback

on the mavlink side, it took the MAVLinkCAN mutex before calling down
to the CAN send layer, this meant it took the 2 mutexes in the
opposite order

the symptoms were:

 - failure to boot if we have active MAVCAN during reboot as we
 deadlock during the scheduler delay callback

 - deadlock during heavy MAVCAN usage
relying on failsafe means that we first feed in several bind-time values into these routines, which isn't good
the arm/disarm cases were identical, so reuse the code
stops uwarning the user instantly
we do not run the arming checks if ARMING_CHECK is zero
this was ineffective as Blimp was not enforcing the parameter.  We do now
as required by PR feedback (ArduPilot#16091) and my DevCall decision.
it was decided that your throttle-is-zero check was really part of the gesture and thus belonged in RC_Channels, not in AP_Arming.
it was decided that your throttle-is-zero check was really part of the gesture and thus belonged in RC_Channels, not in AP_Arming.
 - does it really matter if the user does this when they can just throttle up to take off?
 - stops spreading oymode stuff through the code
 - kind of weird doing this in Arming anyway
@peterbarker peterbarker force-pushed the pr/rudder-arming-up branch from be42b69 to 2f65c15 Compare June 11, 2025 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.