Connection to PX4 simulator (PX4)
PX4 VSM can be configured to connect to PX4 simulator via UDP connection on port 14550. Add this line to vsm-px4.conf file:
connection.udp_in.local_port = 14550
Please refer to PX4 documentation on how to install and configure SITL (Software In The Loop) simulation.
Warning PX4 simulator must be launched before PX4 VSM is launched. Otherwise, if VSM is already running it will terminate the VSM when launched. This applies only to the case when VSM is running on the same host as simulation.