const classafParrotSdk2::NetworkConfig
sys::Obj afParrotSdk2::NetworkConfig
Default network configuration when communicating with the drone.
- actionTimeout
const Duration actionTimeout := 10secThe timeout used when waiting for actions to complete, such as
takeOfforhover.- cmdInterval
const Duration cmdInterval := 25msThe interval to wait in between sending repeated commands to the drone, such as
takeOfformoveLeft.- cmdPort
const Int cmdPort := 5556The port that UDP Command packets are transmitted on.
- configCmdAckClearTimeout
const Duration configCmdAckClearTimeout := 1secThe timeout used when waiting for the config command acknowledgement flag to clear. See
NavDataFlags.controlCommandAck.- configCmdAckTimeout
const Duration configCmdAckTimeout := 1secThe timeout used when waiting for a config command acknowledgement. See
NavDataFlags.controlCommandAck.- controlPort
const Int controlPort := 5559The port that TCP config data is received on.
- droneIpAddr
const IpAddr droneIpAddr := IpAddr.<ctor>("192.168.1.1")The drone's IP address.
- ftpConnectTimeout
const Duration ftpConnectTimeout := 2secThe timeout used when waiting to receive data on a FTP port.
- ftpPort
const Int ftpPort := 5551Used to retrieve
version.txton drone connect.- ftpReceiveTimeout
const Duration ftpReceiveTimeout := 2secThe timeout used when waiting to receive data on a TCP port.
- make
new make(|This? f := null)Standard it-block ctor should you wish to change any config.
config := DroneConfig { it.droneIpAddr = "2.121.135.58" }const Int navDataPort := 5554The port that UDP NavData packets are received on.
- tcpConnectTimeout
const Duration tcpConnectTimeout := 2secThe timeout used when opening a TCP connection.
- tcpReceiveTimeout
const Duration tcpReceiveTimeout := 2secThe timeout used when waiting to receive data on a TCP port.
- udpReceiveTimeout
const Duration udpReceiveTimeout := 1secThe timeout used when waiting to receive data on a UDP port.
- videoPort
const Int videoPort := 5555The port that TCP Video data is received on.