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] directly send ABI messages from implementation #1154

Merged
merged 3 commits into from
Apr 14, 2015
Merged

[IMU] directly send ABI messages from implementation #1154

merged 3 commits into from
Apr 14, 2015

Conversation

flixr
Copy link
Member

@flixr flixr commented Mar 31, 2015

and remove on_gyro|accel|mag_event from main.

Based on #1153 which already does this for GPS.

AHRS aligner subscribes to gyro message but still accesses the global imu struct for now...

@flixr flixr added this to the v5.6 milestone Mar 31, 2015
@flixr
Copy link
Member Author

flixr commented Mar 31, 2015

Should we keep separate ABI sender ids for each IMU implementation that is tied to a specific board?
Or use an IMU_BOARD_ID for all of them?

@gautierhattenberger
Copy link
Member

The number of IMU with have is really crazy...
I think using a generic ID for board integrated IMUs make sense, since there is no point in requesting for instance APOGEE_IMU data on an other board. But knowing immediately that you are using the internal IMU (or that you're not using it) is probably more helpful.

@flixr
Copy link
Member Author

flixr commented Apr 1, 2015

consolidated some IDs in a common IMU_BOARD_ID...

@flixr
Copy link
Member Author

flixr commented Apr 14, 2015

@gautierhattenberger is this good to merge from your side now?

flixr added a commit that referenced this pull request Apr 14, 2015
* imu_abi:
  [imu] use IMU_BOARD_ID for for onboard IMUs
  [imu] directly send ABI messages from implementation
  [gps] directly send ABI messages from implementation
@gautierhattenberger
Copy link
Member

It looks fine for me. I couldn't test it before leaving for vacations thought, I'll be back in 10 days.

@flixr flixr merged commit f5eeedd into master Apr 14, 2015
@flixr flixr deleted the imu_abi branch April 14, 2015 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants