How can I use Mission Planner simulator to connect via udp?

Hi, I’m trying to use the simulator integrated in Mission Planner to do some tests but I’m having some trouble using it for udp connection.

I know this should be possible because it is indicated here: Using SITL — Dev documentation however I haven’t been able to replicate it.

I know it has to be some parameters inserted inside the box “Extra command line” in the simulation tab but I have no idea what should I write there.

Thanks for your time.

the extra command line is " -A “–serial1=udpclient::14550”, but there is a catch, since the SITL used by MP is hardwired to provide connection via TCP:5760 MP will connect to it right after you started the SITL. And when you disconnect the sitl instance will terminated. So if you want to connect via the UDP port created above, you have a second instance of Misson Planner, started after the SITL is started and connected.
OR
You can go directly to the Documents/Mission Planner/sitl folder and start the SITL by hand. The minimal config will be something like this ;
./arducopter -M + --serial0=udpclient::14550

Thanks for the reply. The option to start the SITL by hand is giving me some problems. The command ./arducopter -M + --serial0=udpclient::14550 returns the following error:

\Documents\Mission Planner\sitl>  ./arducopter -M + --serial0=udpclient::14550

Suggested EK3_DRAG_BCOEF_* = 16.288, EK3_DRAG_MCOEF = 0.209
Starting sketch 'ArduCopter'
Starting SITL input
Using Irlock at port : 9005
UDP connection 14550:14550
udp connect failed on port 14550 - Network is unreachable

OS is Windows 11 and the firewall is deactivated, how can this be solved?

./arducopter -M + --serial0=udpclient:<your host ip address>:14550

That works like a charm. Thank you!