Skip to content

Conversation

mcsauder
Copy link

@mcsauder mcsauder commented Feb 24, 2019

This RFC is to evaluate the impacts of adding a sensor index field to the definition of mavlink_scaled_imu_t so that a single typdef can be used for multiple IMU hardware instances.

Currently there exist typedefs for mavlink_scaled_imu2_t and mavlink_scaled_imu3_t because of the limitation of the mavlink_scaled_imu_t definition to address multiple instances.

This PR adds a field to the typedef, updates the message length, augments the CRC, and implies remaining implementation aspects within mavlink_msg_scaled_imu.h

Adding this field would allow for the deprecation of mavlink_msg_scaled_imu2.h and mavlink_msg_scaled_imu3.h and would allow for additional code reduction in projects utilizing the protocol.

Please let me know how this RFC can be improved, and to clue me in where I might not understand the workflow in this RFC process. Thanks.

-Mark

@mcsauder mcsauder changed the title Added RFCS_0013 - Add sensor_index field to mavlink_scaled_imu_t typedef RFCS_0013 - Add sensor_index field to mavlink_scaled_imu_t typedef Feb 24, 2019
@dayjaby
Copy link

dayjaby commented Mar 1, 2020

The same applies for SCALED_PRESSURE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants