FlightElementWaypointMission constructor

FlightElementWaypointMission({
  1. FlightLocation? pointOfInterest,
  2. double? maxFlightSpeed = 15.0,
  3. double? autoFlightSpeed = 8.0,
  4. FlightWaypointMissionFinishedAction? finishedAction = FlightWaypointMissionFinishedAction.noAction,
  5. FlightWaypointMissionHeadingMode? headingMode = FlightWaypointMissionHeadingMode.usingWaypointHeading,
  6. FlightWaypointMissionPathMode? flightPathMode = FlightWaypointMissionPathMode.curved,
  7. bool? rotateGimbalPitch = true,
  8. bool? exitMissionOnRCSignalLost = true,
  9. 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);