Skip to content
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

[imu] Multi IMU support #2890

Merged
merged 11 commits into from
Sep 26, 2022
Merged

[imu] Multi IMU support #2890

merged 11 commits into from
Sep 26, 2022

Conversation

gautierhattenberger
Copy link
Member

@gautierhattenberger gautierhattenberger commented Jul 23, 2022

Reopening #2883 in the paparazzi repository

Multi IMU support

  • fixing compilation in default "single" IMU case
  • fixing ekf2 integration
  • fixing compilation bugs

First pprzlink needs to be merged: paparazzi/pprzlink#161

@fvantienen
Copy link
Member

Thanks for changing it to the paparazzi repo. I will still make some small changes and will do that soon.

  • Fix the bitmask for calibrations
  • Fix the integrated values for EKF2

Copy link
Contributor

@OpenUAS OpenUAS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the git tag for airframes, this CDW introduced tag allowed us to easy re-testfly what once flew successfully to validate if hardware still works befroe we testfly e.g. new code.

@fvantienen fvantienen force-pushed the multi_imu branch 2 times, most recently from 567823e to a7246ee Compare September 19, 2022 14:18
@fvantienen fvantienen self-assigned this Sep 20, 2022
@gautierhattenberger
Copy link
Member Author

It needs an update of pprzlink. @fvantienen, tell me if you are ready for review.

@fvantienen
Copy link
Member

I will update the pprzlink, currently fixing the last parts hope to be finished today.

fvantienen and others added 9 commits September 20, 2022 14:37
- old airframe with single imu configuration will continue to work, ABI
id is automatically found
- mag modules require @imu to guarantee init order, multiple calls of
imu_init is no longer needed
- ABI_BROADCAST id is used by default and then replaced by correct ID
- imu_set_default_config will override user conf if params are not NULL
@fvantienen
Copy link
Member

@gautierhattenberger This is now ready for review and tested on the Cube Orange with 3 IMU's.

@Fabien-B
Copy link
Contributor

Tested OK on apogee with ChibiOs.

@gautierhattenberger
Copy link
Member Author

also tested on Tawaki

@gautierhattenberger gautierhattenberger merged commit b8647d7 into master Sep 26, 2022
@gautierhattenberger gautierhattenberger deleted the multi_imu branch September 26, 2022 14:31
@fvantienen
Copy link
Member

I can't see why master is failing now in semaphore. Can someone post the errors?

@fvantienen
Copy link
Member

Also the pprzlink repo was not merged, so that still has to be done.

@gautierhattenberger
Copy link
Member Author

I don't know why semaphore is failing, it is not even starting it seems. I have checked that it works by hand by starting a remote ssh session. We'll see after next commit.
First fix the pprzlink issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants