const classafParrotSdk2::NetworkConfig

sys::Obj
  afParrotSdk2::NetworkConfig

Default network configuration when communicating with the drone.

actionTimeout

Source

const Duration actionTimeout := 10sec

The timeout used when waiting for actions to complete, such as takeOff or hover.

cmdInterval

Source

const Duration cmdInterval := 25ms

The interval to wait in between sending repeated commands to the drone, such as takeOff or moveLeft.

cmdPort

Source

const Int cmdPort := 5556

The UDP port that Command packets are transmitted on.

configCmdAckClearTimeout

Source

const Duration configCmdAckClearTimeout := 1sec

The timeout used when waiting for the config command acknowledgement flag to clear. See NavDataFlags.controlCommandAck.

configCmdAckTimeout

Source

const Duration configCmdAckTimeout := 1sec

The timeout used when waiting for a config command acknowledgement. See NavDataFlags.controlCommandAck.

controlPort

Source

const Int controlPort := 5559

The port that TCP config data is received on.

droneIpAddr

Source

const IpAddr droneIpAddr := IpAddr.<ctor>("192.168.1.1")

The drone's IP address.

ftpConnectTimeout

Source

const Duration ftpConnectTimeout := 2sec

The timeout used when waiting to receive data on a FTP port.

ftpPort

Source

const Int ftpPort := 5551

Used to retrieve version.txt on drone connect.

ftpReceiveTimeout

Source

const Duration ftpReceiveTimeout := 2sec

The timeout used when waiting to receive data on a TCP port.

make

Source

new make(|This? f := null)

Standard it-block ctor should you wish to change any config.

config := DroneConfig {
    it.droneIpAddr = "2.121.135.58"
}

Source

const Int navDataPort := 5554

The UDP port that NavData packets are received on.

tcpConnectTimeout

Source

const Duration tcpConnectTimeout := 2sec

The timeout used when opening a TCP connection.

tcpReceiveTimeout

Source

const Duration tcpReceiveTimeout := 2sec

The timeout used when waiting to receive data on a TCP port.

udpReceiveTimeout

Source

const Duration udpReceiveTimeout := 1sec

The timeout used when waiting to receive data on a UDP port.

videoPort

Source

const Int videoPort := 5555

The TCP port that Video data is streamed over.

videoRecPort

Source

const Int videoRecPort := 5553

The TCP port that Record Video is streamed over.