C# Class MAVLink.MavlinkParse, MissionPlanner

Exibir arquivo Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Properties

Property Type Description
badCRC int
badLength int
packetcount int

Public Methods

Method Description
GenerateMAVLinkPacket10 ( MAVLINK_MSG_ID messageType, object indata ) : byte[]
GenerateMAVLinkPacket20 ( MAVLINK_MSG_ID messageType, object indata, bool sign = false ) : byte[]
ReadPacket ( Stream BaseStream ) : MAVLinkMessage
ReadWithTimeout ( Stream BaseStream, byte buffer, int offset, int count ) : void

Method Details

GenerateMAVLinkPacket10() public method

public GenerateMAVLinkPacket10 ( MAVLINK_MSG_ID messageType, object indata ) : byte[]
messageType MAVLINK_MSG_ID
indata object
return byte[]

GenerateMAVLinkPacket20() public method

public GenerateMAVLinkPacket20 ( MAVLINK_MSG_ID messageType, object indata, bool sign = false ) : byte[]
messageType MAVLINK_MSG_ID
indata object
sign bool
return byte[]

ReadPacket() public method

public ReadPacket ( Stream BaseStream ) : MAVLinkMessage
BaseStream Stream
return MAVLinkMessage

ReadWithTimeout() public static method

public static ReadWithTimeout ( Stream BaseStream, byte buffer, int offset, int count ) : void
BaseStream Stream
buffer byte
offset int
count int
return void

Property Details

badCRC public_oe property

public int badCRC
return int

badLength public_oe property

public int badLength
return int

packetcount public_oe property

public int packetcount
return int