This repository provides ROS 2 packages for controlling single and dual Franka Emika Panda arms using joint position, velocity, torque and impedance controllers. You can use the launch files for real hardware as well as for a simulated environment with fake hardware.
Ensure you have ROS 2 Humble installed on your system. If not, refer to the official ROS 2 installation guide: ROS 2 Humble Installation
Follow the commands below to install and build the workspace:
sudo apt install ros-dev-tools
source /opt/ros/humble/setup.sh
mkdir -p ~/franka_ros2_ws/src
cd ~/franka_ros2_ws/src
git clone https://github.com/frankaemika/franka_ros2.git
vcs import franka_ros2 < franka_ros2/franka.repos --recursive --skip-existing
cd ..
rosdep install --from-paths src --ignore-src --rosdistro humble -y
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
cd ~/franka_ros2_ws/src
git clone https://github.com/shr-eyas/fr3_controllers.git
cd ..
colcon build
source ~/franka_ros2_ws/install/setup.bash