Skip to main content
Skip table of contents

Network Settings

This section explains the network settings UI and the configuration methods for each communication protocol supported by the MORAI simulator.

 


Network Settings

 

To configure the Network Communication in the simulator, go to Edit > Network Settings at the top menu bar.

Or press the F4 key to open the Network Settings.

네트워크1.png

 

The Network Settings are divided into Ego Network and Simulator Network configurations.

Each menu allows you to set communication parameters such as IP, Port, and Frame Rate according to the supported communication targets and types.

After all settings done, click Connect on the bottom right of the Network Settings.

네트워크2.png

네트워크3.png

 

Ego Network

In Network Settings, the Ego Network is the network which dependent on the Ego-vehicle.

  • Cmd Control

  • Publish, Subscriber, Service

네트워크4.png

 

Simulator Network

In Network Settings, the Simulator Network is a network that connects to the simulator itself.

네트워크5.png

 

Save & Load Network

You can save the network settings information using Save Network.

네트워크6.png

 

The saved network settings information is displayed in the Network File Manager.

Click Load to load the saved settings information, and click the trash bin icon to delete it.

네트워크7.png

  

Network Settings for each Communication Protocol

In here you will learn how to manage the settings based on the communication supported by Network Settings.

 

ROS

Download the ROS Message File

We provide the GitHub link below for downloading the ROS Message file.

$ git clone https://github.com/MORAI-Autonomous/MORAI-ROS_morai_msgs.git

 

ROS Network Settings

Enter the key information for communication, such as the ROS communication cycle and the ROS Bridge server.

네트워크8-1.png

네트워크8-2.png
  • Bridge Setting

    • Enter the IP and Port address in the ROS Bridge.

  • Frame Rate Setting

    • Specify the Frame Hz in the ROS output message. (Max. 120 Hz)

      • It may be lower than the targeted FPS, depending on the FPS of the simulator.

 

ROS Message Setting

Configure the message types and topics exchanged between the Ego Network and the Simulator Network.

  • Ego Network Message Setting for ROS

네트워크9-1.png

Cmd Control

네트워크9-2.png

Publisher, Subscriber, Service

 

UDP

IP Setting

네트워크10-1.png

네트워크10-2.png
  • IP Setting

    • Enter the Host IP on the Simulator PC, and enter the Destination IP on the user algorithm PC.

    • Enter the Host IP/ Destination IP as 127.0.0.1 if you use both in a single PC, as above figure.

    • Enter the port to use (be cautious of port conflicts).

 

UDP Message Setting

Configure the Host/Destination PORT for each UDP message exchanged between the Ego Network and the Simulator Network.

  • Ego Network Message Setting for UDP

네트워크11-1.png

Cmd Control

네트워크11-2.png

Publisher, Subscriber, Service

gRPC

In the Network Settings > Simulator Network, configure the connection status and port for the gRPC server.

네트워크12.png
  • Frame Rate Setting

    • N/A

  • MORAI Service

    • The MORAI Service serves as the basic gRPC server for integration with MORAI SIM, and its default port value is 7789.

    • You can modify the setting after you disconnect it. 

 

Network List

This section describes how to view the Network status currently connected to the simulator in the Network List.


 

To view the current Network List, go to View > Network List.

네트워크13.png

 

  • View Network List :

    • Ego Network

      • Includes Cmd Controller, Publisher, Subscriber, Service, and Sensor.

      • Cmd Controller : Displays the Ego-ehicle's control message Network.

      • Publish(Sim → User) : The simulator displays the network connection information for published messages.

      • Subscriber(User → Sim) : The simulator displays the network connection information for subscribed messages.

      • Service : Displays the network connection information for the service messages.

      • Sensor : Displays the network connection information for the spawned sensors.

    • Simulator Network

      • Includes Publisher, Subscriber, and Provider.

    • You can confirm the number of networks spawned via Total in the Network List.

    • You can find the Network you want via Search.

  • How to connect the Network : The process is the same as others.

네트워크14.png

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.