Communication properties
COM
Stores the serial port address. In Mac it looks like /dev/tty.usbxxx
. In Windows, it looks like COMxx
. To display the content, simply type,
object.COM
To set this property, use set_COMPORT
method.
BAUD
Stores the baudrate of the serial connection. Examples, 57600
, 115200
object.BAUD
To set thi property, use set_BAUDRATE
method.
AvaiablePorts
Stores the available serial ports. Use the obj.findPorts
method to populate this property.
UDP_dest
Stores the IPs and ports of target vehicles. This is a cell array of the following structure:
>>obj.UDP_dest
{'IP1', port1;
'IP2', port2};
To set this property, use the set_UDPREMOTEADDR
method. You can set one vehicle's address at a time.
UDP_localPort
Stores the local UDP port. To set this property, use set_UDPLOCALPRT
method.