How to add emulator vehicles

From UgCS
Jump to: navigation, search

Main Page UgCS How to add emulator vehicles

Download this page as a PDF file


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

1
C:\Program Files (x86)\UgCS\server\emulator\emulator.properties
Add 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 vehicle 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 position.
If you need to add Plane emulator, specify emu3.model=plane

2
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 vehicle, increase connection.tcp_out.X and port by one.

3
C:\Program Files (x86)\UgCS\server\emulator\emulator.properties
You need to add at the end of line vhicles, emuX, like below.

#vehicles=emu1
vehicles=emu1,emu2,emu3