23 lines
607 B
C#
23 lines
607 B
C#
|
namespace TaskTools.Utilities
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Struct as used in Ardupilot
|
|||
|
/// </summary>
|
|||
|
#if PRIVATE
|
|||
|
public struct Locationwp
|
|||
|
#else
|
|||
|
internal struct Locationwp
|
|||
|
#endif
|
|||
|
{
|
|||
|
public byte id; // command id
|
|||
|
public byte options;
|
|||
|
public float p1; // param 1
|
|||
|
public float p2; // param 2
|
|||
|
public float p3; // param 3
|
|||
|
public float p4; // param 4
|
|||
|
public double lat; // Lattitude * 10**7
|
|||
|
public double lng; // Longitude * 10**7
|
|||
|
public float alt; // Altitude in centimeters (meters * 100)
|
|||
|
};
|
|||
|
}
|