Arduino-I2C-KM1
2.0.2
KeiganMotor Arduino Library
|
IMU measurement data of KeiganMotor [詳解]
#include <KM1_I2C.h>
公開変数類 | |
bool | isValid |
int16_t | accelX |
int16_t | accelY |
int16_t | accelZ |
int16_t | temp |
int16_t | gyroX |
int16_t | gyroY |
int16_t | gyroZ |
IMU measurement data of KeiganMotor
Call KeiganMotor::readIMUMeasurement() to get
You can convert the raw value to the actual value as follows.
int16_t imu_meas_t::accelX |
Acceleration of x-axis
int16_t imu_meas_t::accelY |
Acceleration of y-axis
int16_t imu_meas_t::accelZ |
Acceleration of z-axis
int16_t imu_meas_t::gyroX |
Angular velocity around x-axis
int16_t imu_meas_t::gyroY |
Angular velocity around y-axis
int16_t imu_meas_t::gyroZ |
Angular velocity around z-axis
bool imu_meas_t::isValid |
true when the received data is valid (without error)
int16_t imu_meas_t::temp |
Temperature