FlightElementWaypointMission constructor
FlightElementWaypointMission({
- FlightLocation? pointOfInterest,
- double? maxFlightSpeed = 15.0,
- double? autoFlightSpeed = 8.0,
- FlightWaypointMissionFinishedAction? finishedAction = FlightWaypointMissionFinishedAction.noAction,
- FlightWaypointMissionHeadingMode? headingMode = FlightWaypointMissionHeadingMode.usingWaypointHeading,
- FlightWaypointMissionPathMode? flightPathMode = FlightWaypointMissionPathMode.curved,
- bool? rotateGimbalPitch = true,
- bool? exitMissionOnRCSignalLost = true,
- required List<
FlightWaypoint> waypoints,
Implementation
FlightElementWaypointMission({
this.pointOfInterest,
this.maxFlightSpeed = 15.0,
this.autoFlightSpeed = 8.0,
this.finishedAction = FlightWaypointMissionFinishedAction.noAction,
this.headingMode = FlightWaypointMissionHeadingMode.usingWaypointHeading,
this.flightPathMode = FlightWaypointMissionPathMode.curved,
this.rotateGimbalPitch = true,
this.exitMissionOnRCSignalLost = true,
required this.waypoints,
}) : super(type: FlightElementType.waypointMission);