Reference Point

This class describes a reference point that can be used to define areas for missions.

ATTRIBUTES

  • id: (str) unique identifier for the reference point.

    • Example: "f2c69876-986f-4eb2-aa09-da00125e0e09"

  • name: (str) name or designation of the reference point.

    • Example: "Reference Point #1175"

  • sideName: (str) side to which the reference point belongs (e.g., BLUE, RED).

    • Example: "BLUE"

  • sideColor: (str) color representing the side associated with the reference point.

    • Example: "blue"

  • latitude: (float) latitude coordinate of the reference point.

    • Example: 21.800061432629548

  • longitude: (float) longitude coordinate of the reference point.

    • Example: 149.8482617352473

  • altitude: (float) altitude of the reference point (usually 0 if it's a ground-based point).

    • Example: 0

METHODS

  • toJSON(): (str) returns this object as a JSON.

Last updated