techie66 / EngineDataLogger

Data logger and master controller for Raspberry Pi based ECU that communicates with various external MCUs
GNU General Public License v3.0
5 stars 0 forks source link

imu support #3

Closed techie66 closed 2 years ago

techie66 commented 5 years ago

add support for inertial measurement unit. use to calculate lean angle, acceleration, power, torque etc...

techie66 commented 4 years ago

Particularly interested in an MPU6050

techie66 commented 2 years ago

PR #29 adds framework for this coming in over CAN. Alternate code for FrontControls is easily reading and sending this data from MPU6050. Just need to add the data members to bike_data and options to log it.

techie66 commented 2 years ago

just pushed commits to development branch for this. see imu_can.dbc for the CAN frame formats.