SPIKE-RT C API Reference [Japanese]
An RTOS-based software platform for LEGO® Education SPIKE™.
|
API for the hub built-in IMU. [詳解]
#include <stdint.h>
#include <pbio/error.h>
関数 | |
pbio_error_t | hub_imu_init (void) |
IMUドライバを初期化する. [詳解] | |
void | hub_imu_get_acceleration (float accel[3]) |
IMUから加速度を取得する. [詳解] | |
void | hub_imu_get_angular_velocity (float angv[3]) |
IMUから角速度を取得する. [詳解] | |
float | hub_imu_get_temperature (void) |
IMUから温度を取得する. [詳解] | |
API for the hub built-in IMU.