-
Notifications
You must be signed in to change notification settings - Fork 4
Add UAVCAN IMU support #118
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
tridge
wants to merge
155
commits into
mttr-rebase-4.0
Choose a base branch
from
pr-can-imu-4.0
base: mttr-rebase-4.0
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 hidden or 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 fixes a bug where current limiting could fail if the current voltage is less than MOT_BAT_VOLT_MIN
this extend the prearm_healthy() check for rangefinders to ensure that all configured rangefinders are getting data
whereas gps1 logging 0's on unplugging
or more satellites for 5 sec. Earlier it was 2 or more sats
used as part of pre-takeoff checks for auto takeoff
this fixes preferance of GPS for 1st UAVCAN, 2nd M8 UART
UAVCAN rangefinders add themselves to the frontend drivers as the devices appear. If they turn up before RangeFinder::init() is run then this prevented init() from scanning for the other rangefinders as num_instances is non-zero This also fixes a race condition in updating num_instances in the UAVCAN backend
ESCs can send negative values
only continue with mission if MIS_OPTIONS bit is set
this fixes a problem where two different locations could both be mapped to the same disk block in the terrain/*.DAT files. That meant that pre-filled terrain on the microSD card would sometimes require a download in flight. It also means that a RTL with loss of GCS could sometimes fly through a region with no terrain data available This fixes the issue by using a fixed stride between rows in the disk format. Other changes in this patch: - allow for a 2cm discrepancy in the lat/lon of the grid corners. This is needed to allow for slightly different floating point rounding in tools that pre-generate terrain data to load on the microSD - added TERRAIN_OPTIONS parameter to allow the user to disable attempts to download new terrain data. This is mostly useful for testing to validate a terrain generator
useful for pre-populating a microSD card
adriennet823
approved these changes
Sep 18, 2020
Aksellence
approved these changes
Sep 18, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Can't wait to test it out.
AydenChubbic
approved these changes
Oct 13, 2020
5a0d982
to
c4a935c
Compare
bhiln
approved these changes
Apr 19, 2021
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.
This adds support for the Matternet CAN IMU module. It appears as the primary IMU