Add drone state window
This commit is contained in:
@ -15,7 +15,10 @@ namespace DroneData
|
||||
DataAcc = 1001, DataGyr = 1002, DataMag = 1003, DataRange = 1004, DataLocal = 1005, DataBar = 1006,
|
||||
|
||||
// Input
|
||||
DataMotor4 = 2001, DataMotor6 = 2002
|
||||
DataMotor4 = 2001, DataMotor6 = 2002,
|
||||
|
||||
// State
|
||||
DataQuat = 3001,
|
||||
};
|
||||
|
||||
public struct DataHead
|
||||
@ -107,4 +110,12 @@ namespace DroneData
|
||||
|
||||
static public int StrLen = Marshal.SizeOf(typeof(DroneData.DataMotor6));
|
||||
}
|
||||
|
||||
public struct DataQuat
|
||||
{
|
||||
public DataHead Head;
|
||||
public float X, Y, Z, W;
|
||||
|
||||
static public int StrLen = Marshal.SizeOf(typeof(DroneData.DataQuat));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user