forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Copter 4.0.5 merge #3
Open
itzsaket
wants to merge
27
commits into
Copter-4.0.4merge
Choose a base branch
from
copter-4.0.5-merge
base: Copter-4.0.4merge
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This implements a max quota of GPIO interrupts per 100ms period to prevent high interrupt counts from consuming all CPU and causing a lockup. The limit is set as 10k interrupts per 0.1s period. That limit should be high enough for all reasonable uses of GPIO interrupt handlers while being below the level that causes significant CPU loads and flight issues This addresses issue ArduPilot#15384
This allows more channels to be passed to RCInput_UDP protocol while also allowing less than 8 channels - this is similar to the approach used by SITL in which the packet size is used to figure out the number of channels. (cherry picked from commit 29d8586)
this allows for ignoring SBUS failsafe on boards using an IOMCU
this fixes an issue a RTK GPS gives 1cm horizontal and vertical accuracy and that causes the variances to get too small
this fixes an issue a RTK GPS gives 1cm horizontal and vertical accuracy and that causes the variances to get too small
this prevents mis-calculation of the angle when RC input goes outside of the configured range. This impacted on throttle nudge in plane when reverse thrust was enabled thanks to Pompecukor for reporting!
used in plane arming check
this SPI bus on this board can't handle 8MHz
the RCIN issue is not there in the final production boards
when we are looking for FPort input, we normally switch UART3 on the IOMCU to 115200 to look for inverted inputs at 115200 baudrate. We need to disable this switching when we have SBUS output enabled to prevent a change in the SBUS output baudrate Many thanks to afishman for finding this bug Fixes ArduPilot#15522
this fixes an issue seen on one board which caused a watchdog on high uart DMA load. We have reproduced the issue on another board by forcing a very high DMA transfer rate on the same DMA channel while also requesting very high transfer rates on the UART. The likely race is in the DMA transmit timeout code, and the simplest fix is to lock out interrupts during the DMA setup to ensure the tx timeout cannot trigger during the setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.