I get a method call back and give me the Swift "Data" struct, I need to convert it into this struct below, how can it do?
struct ins_gyro_info {
int64_t timestamp; //millisecond
double gravity_x;
double gravity_y;
double gravity_z;
double rotation_x;
double rotation_y;
double rotation_z;
};
#pragma