HomeGuides
Log In
Guides

How to add emulator vehicles

There are two Emulator vehicles in the default UgCS configuration. It is possible to add vehicles.
To do that you need to do the following modifications in the configuration files:

  1. C:\Program Files (x86)\UgCS\server\emulator\emulator.properties
    Add the following configuration at the file end:
    emu3.name=EmuCopter
    emu3.model=copter
    emu3.protocol_system_id=103
    emu3.transport_port=14557
    emu3.home_position=46.7749205, 8.3527437, 1853.8

For additional vehicles and the same block again and increase change emu3 to emu4, for emu4
update emu4.protocol_system_id=104, emu4.transport_port=14558. Specify different home positions.
If you need to add a Plane emulator, specify emu3.model=plane

  1. C:\Program Files (x86)\UgCS\bin\vsm-emulator.conf
    At the end add:
    connection.tcp_out.3.address = 127.0.0.1
    connection.tcp_out.3.port = 14557

For additional vehicles, increase connection.tcp_out.X and port by one.

  1. C:\Program Files (x86)\UgCS\server\emulator\emulator.properties
    You need to add at the end of line vehicles, emuX, like below.
#vehicles=emu1

vehicles=emu1,emu2,emu3