The complete RT Toolbox3 manual can be downloaded at RT ToolBox3/RT ToolBox3 mini User's Manual from Robot Industrial/Collaborative Robot MELFA Manual. MELFA ROS2 Driver is developed using the Real Time External Control function. For more information, refer to Ethernet Function Instruction Manual from Robot Industrial/Collaborative Robot MELFA ManualThis chapter will cover the basics of project file creation, setting up a robot in simulation and connecting to a physical robot in the context of operating MELFA ROS2.
If you have completed this guide, please take a look at real robot setup or RT Toolbox3 simulator setup.
Sections:
- Project File Setup
- Program Creation
This section will guide you on creating an RT Toolbox3 project file in the context of ROS2.
- Create a project file by selecting New, and give your workspace a name and a title, as shown below.
- Select Robot Model from the popup window and select your robot. For this tutorial, RV-7FRL-R will be used.
- Select Communication and select your preferred robot connection method.
- For CRnQ_R USB connection, it is recommended to use a USB cable with a ferrite core such as GT09-C30USB-5P
- For TCP/IP connection, it is recommended to use a CAT5e or above ethernet cable, for detailed instructions, for communicating with the robot via TCP/IP, refer to Ethernet Function Instruction Manual from Robot Industrial/Collaborative Robot MELFA Manual
- Select Travel Axis to configure robot travel axis. For this tutorial, the travel axis will not be used. To learn more about setting up the travel axis, refer to RT ToolBox3/RT ToolBox3 mini User's Manual from Robot Industrial/Collaborative Robot MELFA Manual.
- Select Finish.
- Select Cancel
- Creating program for external control
- Right-click Program and select New.
- Give your program a name. For this tutorial, it is named "ROSMXT".
- Copy and paste the following and replace "192.168.0.100" with your IP address of your ROS2 computer. The MXT command takes three arguments; the third argument is the low pass filter in milliseconds. It is recommended to use a 10ms low pass filter. If the application requires slow motion, it is recommended to increase this value. Ctrl + S to save.
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,10 'The first 1 refers to the IP address from the line above.
'The second 1 configures Mxt to expect Joint commands.
'The 10 refers to a 10ms low pass filter.
End
You are ready to move on to a real robot setup or a RT Toolbox3 simulator setup
- 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.