You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-38Lines changed: 40 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,15 @@
5
5
6
6
For ROS2 users to easily work with [RDK](https://github.com/flexivrobotics/flexiv_rdk), the APIs of RDK are wrapped into ROS packages in `flexiv_ros2`. Key functionalities like real-time joint torque and position control are supported, and the integration with `ros2_control` framework and MoveIt 2 is also implemented.
7
7
8
-
## License
9
-
10
-
Flexiv RDK is licensed under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.html).
11
-
12
8
## References
13
9
14
10
[Flexiv RDK main webpage](https://rdk.flexiv.com/) contains important information like RDK user manual and network setup.
**NOTE**: the instruction below is only a quick reference, see the [Flexiv ROS2 Documentation](https://rdk.flexiv.com/manual/ros2_packages.html) for more information.
90
82
91
-
*(Details about the launch file can be found in [flexiv_bringup](/flexiv_bringup))*
83
+
The prerequisites of using ROS2 with Flexiv Rizon robot are [enable RDK on the robot server](https://rdk.flexiv.com/manual/getting_started.html#enable-rdk-on-robot-server) and [establish connection](https://rdk.flexiv.com/manual/getting_started.html#establish-connection) between the workstation PC and the robot.
84
+
85
+
The main launch file to start the robot driver is the `rizon.launch.py` - it loads and starts the robot hardware, joint state broadcaster, controllers and opens RViZ. The arguments for the launch file are as follows:
92
86
93
-
1. Start robot, simulator or fake hardware:
87
+
- `robot_ip` (*required*) - IP address of the robot server (remote).
88
+
- `local_ip` (*required*) - IP address of the workstation PC (local).
89
+
- `rizon_type` (default: *rizon4*) - type of the Flexiv Rizon robot.
90
+
- `use_fake_hardware` (default: *false*) - starts `FakeSystem` instead of real hardware. This is a simple simulation that mimics joint command to their states.
91
+
- `start_rviz` (deafult: *true*) - starts RViz automatically with the launch file.
92
+
- `fake_sensor_commands` (default: *false*) - enables fake command interfaces for sensors used for simulations. Used only if`use_fake_hardware` parameter is true.
93
+
- `robot_controller` (default: *rizon_arm_controller*) - robot controller to start. Available controllers: *forward_position_controller*, *rizon_arm_controller*, *joint_impedance_controller*.
94
+
95
+
*(Details about other launch files can be found in [`flexiv_bringup`](/flexiv_bringup))*
The launch file loads and starts the robot hardware, controllers and opens RViZ. Stop RViZ from auto-start use `start_rviz:=false` launch file argument.
102
-
103
107
**NOTE**: Getting the following output in terminal is OK: `Warning: Invalid frame ID "link1" passed to canTransform argument source_frame - frame does not exist`. This happens because `joint_state_broadcaster` node need some time to start.
104
108
105
109
- Test with fake hardware (`ros2_control` capability):
`use_fake_hardware` argument starts `FakeSystem` instead of real hardware. This is a simple simulation that mimics joint command to their states.
112
-
113
115
2. Publish commands to controllers
114
116
115
-
- The default controller in the launch file is `rizon_arm_controller`. To send the goal position to the controller by using the node from `flexiv_test_nodes`, start the following commandin a new terminal:
117
+
- To send the goal position to the controller by using the node from `flexiv_test_nodes`, start the following commandin a new terminal:
**NOTE**: The command starts the robot in the joint torque mode. In this mode, gravity and friction are compensated **only**for the robot **without** any attached objects (e.g. the gripper, camera).
0 commit comments