This section will guide you to establish a UDP/IP connection between your ROS2 computer and RT Toolbox3 simulator. It is highly recommended to test your ROS2 applications on RT Toolbox3 simulator before testing it on a real robot. This is helpful as RT Toolbox3 simulator provides "near real" experience with 1-to-1 error conditions, velocity profiles and "close to actual" cycle times. RT Toolbox3 simulator works with Real Time Monitoring1 function which is useful for optimizing your ROS2 application.
➢ 1 Real Time Monitoring : found in CR750/CR751 Series Controller, CR800 Series Controller Ethernet Function Instruction Manual from Robot Industrial/Collaborative Robot MELFA Manual. Provides real time data at control cycle intervals, 3.5ms for CR800-R/D and 7.11ms for CR800-Q.
Sections:
- Verifying Local IP Address on Windows
- Verifying Local IP Address on Ubuntu 22.04LTS
- ROS2 Connection to Simulator
This section will guide you to find your local IP address on your Windows10 device.
- Go to control panel ⇒ Network and Internet ⇒ Network and Sharing Centre and select Change adapter settings. Your Network adapters will be displayed in a popup window.
- Select your network adapter that you wish to connect to your ROS2 computer. Select Properties ⇒ Internet Protocol Version 4 (TCP/IPv4). In the popup window, you can change your IP to your preferred IP address in your local network.
- Select Simulator to launch RT Toolbox3 simulator.
- On the Operation Panel (Green popup window for simulated robot), click on the Select button and select the robot Program you have created. Click OK. It is highly recommended to increase the filter value in the robot program to account jitter due to Windows not being real-time.
Servo On
Open "ENET: 192.168.0.100" As #1 'Insert your Linux Machine IP address in this line. Open stores the IP address into variable 1.
Mxt 1,1,200 'The first 1 refers to the IP address from the line above.
'The second 1 configures Mxt to expect Joint commands.
'The 200 refers to a 200ms low pass filter.
End
- On the Operation Panel (Green popup window for simulated robot), click on the blue START button
This section will guide you to find your local IP address on your Ubuntu 22.04LTS device. The process is similar on other Ubuntu versions.
- Go to Settings ⇒ Network ⇒ Wired (+) to create a new ethernet profile. Under IPv4 Method, select Manual and input your preferred IP address for your Linux computer.
- From your Windows computer, ping your Linux computer. You may not be able to ping your Windows computer from your Linux computer due to Windows settings. If ping is unsuccessful, verify your Windows and Linux IP addresses and try again.
#ping <Linux local IP address>
ping 192.168.3.150
- Assuming that ping is successful, you are now ready to connect your RT Toolbox3 simulator as if it is a real robot. For the purpose of this tutorial, run the following command in the terminal. This command will launch the bringup launch file for RV7FRL robot using the CR800-R robot controller.
The command argument "packet_lost_log:=0" turns off the warning message for packet losses. It is highly recommended to NOT turn it off when connecting to a real robot. However, connecting to a simulation is fine.
ros2 launch melfa_bringup rv7frl_control.launch.py use_fake_hardware:=false controller_type:="R" robot_ip:=192.168.3.100 packet_lost_log:=0
To launch MoveIt Servo use the following command instead
ros2 launch melfa_bringup rv7frl_control.launch.py use_fake_hardware:=false controller_type:="R" robot_ip:=192.168.3.100 packet_lost_log:=0 launch_servo:=true
2. To launch MoveIt. MELFA ROS2 moveit_config packages are natively compatible with OMPL, Pilz industrial planner, CHOMP and Moveit Servo.
ros2 launch melfa_rv7frl_moveit_config rv7frl_moveit.launch.py
- Home page
- MELFA ROS2 user guide : Usage and Installation of MELFA ROS2.
- RT Toolbox3 Setup : Create your first RT Toolbox3 Project File for ROS2.
- RT Toolbox3 Simulator Setup : Connect to RT Toolbox3 simulator as if it is a real robot.
- RT Toolbox3 Real Robot Setup: Connect to a MELFA robot.









