C# Class MissionPlanner.CurrentState

Inheritance: ICloneable
Exibir arquivo Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Properties

Property Type Description
DistanceUnit string
KIndexstatic int
MovingBase MissionPlanner.Utilities.PointLatLngAlt
SpeedUnit string
firmware MainV2.Firmwares
hilch5 int
hilch6 int
hilch7 int
hilch8 int
multiplierdist float
multiplierspeed float

Private Properties

Property Type Description
CurrentState System

Public Methods

Method Description
Clone ( ) : object
GetNameandUnit ( string name ) : string
ResetInternals ( ) : void
UpdateCurrentSettings ( System bs ) : void

use for main serial port only

UpdateCurrentSettings ( System bs, bool updatenow, MAVLinkInterface mavinterface ) : void

Use the default sysid

UpdateCurrentSettings ( System bs, bool updatenow, MAVLinkInterface mavinterface, MAVState MAV ) : void
dowindcalc ( ) : void
fromDistDisplayUnit ( double input ) : double
fromSpeedDisplayUnit ( double input ) : double
toDistDisplayUnit ( double input ) : double
toSpeedDisplayUnit ( double input ) : double

Private Methods

Method Description
CurrentState ( ) : System

Method Details

Clone() public method

public Clone ( ) : object
return object

GetNameandUnit() public method

public GetNameandUnit ( string name ) : string
name string
return string

ResetInternals() public method

public ResetInternals ( ) : void
return void

UpdateCurrentSettings() public method

use for main serial port only
public UpdateCurrentSettings ( System bs ) : void
bs System
return void

UpdateCurrentSettings() public method

Use the default sysid
public UpdateCurrentSettings ( System bs, bool updatenow, MAVLinkInterface mavinterface ) : void
bs System
updatenow bool
mavinterface MAVLinkInterface
return void

UpdateCurrentSettings() public method

public UpdateCurrentSettings ( System bs, bool updatenow, MAVLinkInterface mavinterface, MAVState MAV ) : void
bs System
updatenow bool
mavinterface MAVLinkInterface
MAV MAVState
return void

dowindcalc() public method

public dowindcalc ( ) : void
return void

fromDistDisplayUnit() public static method

public static fromDistDisplayUnit ( double input ) : double
input double
return double

fromSpeedDisplayUnit() public static method

public static fromSpeedDisplayUnit ( double input ) : double
input double
return double

toDistDisplayUnit() public static method

public static toDistDisplayUnit ( double input ) : double
input double
return double

toSpeedDisplayUnit() public static method

public static toSpeedDisplayUnit ( double input ) : double
input double
return double

Property Details

DistanceUnit public_oe static_oe property

public static string DistanceUnit
return string

KIndexstatic public_oe static_oe property

public static int KIndexstatic
return int

MovingBase public_oe property

public PointLatLngAlt,MissionPlanner.Utilities MovingBase
return MissionPlanner.Utilities.PointLatLngAlt

SpeedUnit public_oe static_oe property

public static string SpeedUnit
return string

firmware public_oe property

public MainV2.Firmwares firmware
return MainV2.Firmwares

hilch5 public_oe property

public int hilch5
return int

hilch6 public_oe property

public int hilch6
return int

hilch7 public_oe property

public int hilch7
return int

hilch8 public_oe property

public int hilch8
return int

multiplierdist public_oe static_oe property

public static float multiplierdist
return float

multiplierspeed public_oe static_oe property

public static float multiplierspeed
return float