C# Class MissionPlanner.Script

Exibir arquivo Open project: ArduPilot/MissionPlanner

Private Properties

Property Type Description

Public Methods

Method Description
ChangeMode ( string mode ) : bool
ChangeParam ( string param, float value ) : bool
GetParam ( string param ) : float
Script ( bool redirectOutput = false ) : System
SendRC ( int channel, ushort pwm, bool sendnow ) : bool
Sleep ( int ms ) : void
WaitFor ( string message, int timeout ) : bool
mavlink_connection ( string device, int baud = 115200, int source_system = 255, bool write = false, bool append = false, bool robust_parsing = true, bool notimestamps = false, bool input = true ) : object
recv_match ( string condition = null, string type = null, bool blocking = false ) : object
runScript ( string filename ) : void

Method Details

ChangeMode() public method

public ChangeMode ( string mode ) : bool
mode string
return bool

ChangeParam() public method

public ChangeParam ( string param, float value ) : bool
param string
value float
return bool

GetParam() public method

public GetParam ( string param ) : float
param string
return float

Script() public method

public Script ( bool redirectOutput = false ) : System
redirectOutput bool
return System

SendRC() public method

public SendRC ( int channel, ushort pwm, bool sendnow ) : bool
channel int
pwm ushort
sendnow bool
return bool

Sleep() public method

public Sleep ( int ms ) : void
ms int
return void

WaitFor() public method

public WaitFor ( string message, int timeout ) : bool
message string
timeout int
return bool

mavlink_connection() public method

public mavlink_connection ( string device, int baud = 115200, int source_system = 255, bool write = false, bool append = false, bool robust_parsing = true, bool notimestamps = false, bool input = true ) : object
device string
baud int
source_system int
write bool
append bool
robust_parsing bool
notimestamps bool
input bool
return object

recv_match() public method

public recv_match ( string condition = null, string type = null, bool blocking = false ) : object
condition string
type string
blocking bool
return object

runScript() public method

public runScript ( string filename ) : void
filename string
return void