GeekIMU/4.Software/GeekIMU Manager GUI 1.2/GeekIMUDriver 1.2/Src/IMU_CAPI.h

43 lines
824 B
C
Raw Normal View History

2024-11-09 21:39:20 +08:00
#ifndef _IMU_SENSOR_API_
#define _IMU_SENSOR_API_
#include <string>
#ifdef __cplusplus
extern "C"{
__declspec(dllexport) int Init(char* );
__declspec(dllexport) int CheckDevice(void);
__declspec(dllexport) int GyroCali(void);
__declspec(dllexport) Vector3 GetGyroCali(void);
_declspec (dllexport) MagCaliParam GetMagCali();
__declspec(dllexport) int MagCalibrate(void);
__declspec(dllexport) int FinishMagCali(void);
__declspec(dllexport) int SetMagCali(float x, float y, float z, float x0, float y0, float z0);
__declspec(dllexport) MagCaliParam CalculateMagParam();
__declspec(dllexport) Vector3 GetPoint(void);
__declspec(dllexport) Vector3 GetEulerianAngle(void);
__declspec(dllexport) int Correction(void);
__declspec(dllexport) Quaternion GetQuaternion(void);
}
#else
#endif
#endif