IMU 3D mapping using matplotlib
Im quite new in the field of 3d mapping and vectors. I have arduino mega with a slighty modified example sketch to comunicates via I2C with a SparkFun SEN-15335 (ICM-20948) .I have been trying to map the serial data coming from IMU into a 3d plot using python. I’m also taking advantage of the DMP inside of the IMU to make sensor fusion and the data im retreiving is the INV_ICM20948_SENSOR_LINEAR_ACCELERATION(16-bit accel + 32-bit 6-axis quaternion) + SENSOR_ORIENTATION (32-bit 9-axis quaternion + heading accuracy). i have tested alot and i know the cube rotation itself is working flawless the problem is the cube translations or cube translation combined with rotation.