RobotHardware-UESTC/Hardware/银星机器人底盘/PiRobot-YH_Firmware v1.0/STM32/Lib/IMU/imu.h

12 lines
151 B
C++

#ifndef PIBOT_IMU_H_
#define PIBOT_IMU_H_
class IMU
{
public:
virtual bool init() = 0;
virtual void get_data(float* imu_data) = 0;
};
#endif