Package io.fleetcoreplatform.Models
Class MissionFile
java.lang.Object
io.fleetcoreplatform.Models.MissionFile
Acts as the structured representation of a standard drone `.plan` file. Compatible with
QGroundControl mission schemas, defining flight items, geofences, and safety parameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMaps explicit restricted bounds, utilizing shapes like circular radii or standard polygons.static classRepresents a discrete command or navigational waypoint interpreted by the flight controller.static classEncapsulates the runtime variables assigned for the overarching flight routine, linking specific waypoints.static classContains emergency return coordinates that bypass standard RTL behavior if triggered. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMissionFile(MissionFile.GeoFence geoFence, MissionFile.Mission mission, String groundStation, MissionFile.RallyPoints rallyPoints) Initializes the root mission container. -
Method Summary
Modifier and TypeMethodDescriptiontoStream()Serializes the object model into a standard JSON byte stream for file writing.
-
Field Details
-
fileType
- See Also:
-
geoFence
-
groundStation
-
mission
-
rallyPoints
-
version
public final int version- See Also:
-
-
Constructor Details
-
MissionFile
public MissionFile(MissionFile.GeoFence geoFence, MissionFile.Mission mission, String groundStation, MissionFile.RallyPoints rallyPoints) Initializes the root mission container.- Parameters:
geoFence- The bound area within which the drone is restricted.mission- The core sequential flight plan structure.groundStation- The software client producing the file (e.g., "FleetCoreServer").rallyPoints- Defined fallback locations for emergencies.
-
-
Method Details
-
toStream
Serializes the object model into a standard JSON byte stream for file writing.- Returns:
- A valid UTF-8 input stream comprising the JSON payload.
-