ROS 2 packages for the KUKA LBR, including communication to the real robot via the Fast Robot Interface (FRI) and Gazebo simulation support. Included are the iiwa7
, iiwa14
, med7
, and med14
.
LBR IIWA 7 R800 | LBR IIWA 14 R820 | LBR Med 7 R800 | LBR Med 14 R820 |
---|---|---|---|
Full documentation available on Read the Docs.
-
Install ROS 2 development tools
sudo apt install ros-dev-tools
-
Create a workspace, clone, and install dependencies
source /opt/ros/humble/setup.bash export FRI_CLIENT_VERSION=1.15 mkdir -p lbr-stack/src && cd lbr-stack vcs import src --input https://raw.githubusercontent.com/idra-lab/lbr_fri_ros2_stack/humble/lbr_fri_ros2_stack/repos-fri-${FRI_CLIENT_VERSION}.yaml rosdep install --from-paths src -i -r -y
-
Build
colcon build --symlink-install
-
In terminal 1, launch a the real setup via
source install/setup.bash ros2 launch lbr_bringup hardware.launch.py ctrl:=cartesian_impedance_controller
Tip
List all arguments for the launch file via ros2 launch lbr_bringup mock.launch.py -s
-
In terminal 2, visualize the setup via
source install/setup.bash ros2 launch lbr_bringup rviz.launch.py \ rviz_cfg_pkg:=lbr_bringup \ rviz_cfg:=config/hardware.rviz
Now, run the demos. To get started with the real robot, checkout the Hardware Setup.
If you experience ILLEGAL AXIS DELTA DETECTED
on the teach pendant, make sure that open_loop
is set to false
in lbr_system_config.yaml
If you enjoyed using this repository for your work, we would really appreciate ❤️ if you could leave a ⭐ and / or cite it, as it helps us to continue offering support.
@article{Huber2024,
doi = {10.21105/joss.06138},
url = {https://doi.org/10.21105/joss.06138},
year = {2024},
publisher = {The Open Journal},
volume = {9},
number = {103},
pages = {6138},
author = {Martin Huber and Christopher E. Mower and Sebastien Ourselin and Tom Vercauteren and Christos Bergeles},
title = {LBR-Stack: ROS 2 and Python Integration of KUKA FRI for Med and IIWA Robots},
journal = {Journal of Open Source Software}
}
We would like to acknowledge all contributors 🚀
lbr_fri_ros2_stack
fri
We would further like to acknowledge following supporters:
Logo | Notes |
---|---|
This work was supported by core and project funding from the Wellcome/EPSRC [WT203148/Z/16/Z; NS/A000049/1; WT101957; NS/A000027/1]. | |
This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 101016985 (FAROS project). | |
Built at RViMLab. | |
Built at CAI4CAI. | |
Built at King's College London. |