-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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] convert imu subsystems to modules #1788
Conversation
@gautierhattenberger any ideas on the recursive autoload problem? |
regarding the settings (basically body_to_imu), it is possible to reference a file, but then generated doc is not as informative. Otherwise, a common imu module seems a good idea. |
4f418e3
to
f94246e
Compare
2bcbc97
to
2bbc502
Compare
Tested and working on Apogee. |
IMU on Ardrone2 should be fixed, although I can't test that... |
Also - get rid of explicit imu init|event|periodic calls in main - each imu implementation has their own imu_x_init/event/periodic
and put body_to_imu settings in imu_common module
@gautierhattenberger @kirkscheper @fvantienen or anyone else interested: |
@podhrmic @gautierhattenberger any more tests/comments here? |
OK, so I did some tests. First of all, if I start GCS I get these errors:
So that probably should be fixed... Otherwise:
|
Thanks for testing. Sounds like you were you using your own outdated conf.xml. |
* [imu] convert imu subsystems to modules Also - get rid of explicit imu init|event|periodic calls in main - each imu implementation has their own imu_x_init/event/periodic * [imu] fix some imu modules * [imu] fix bad paths * [imu] add imu_common module that every implementation autoloads and put body_to_imu settings in imu_common module * [imu] fix imu_ardrone2 * [conf] add imu_common settings module in conf_example and conf_tests
Also
Reviews and tests appreciated!
TODO:
imu_lisa_m_v2.1
works, but notimu_lisa_mx_v2.1
which is just intended as an alias and autoloadsimu_lisa_m_v2.1
(fixed with 1973131)should we really keep this orupdate the failing LPC airframes to explicitly set the devices?