This repository provides a comprehensive ROS 1 Noetic package tailored for the XR4Human project. It integrates the Franka Emika Panda robot with MoveIt! for motion planning, facilitates Unity-ROS communication via ros_tcp_endpoint, and supports advanced functionalities for human-robot interaction in extended reality (XR) environments.
Ensure your system meets the following requirements:
- Operating System: Ubuntu 20.04 LTS (Focal Fossa)
- ROS Distribution: ROS Noetic Ninjemys
- Robot Hardware: Franka Emika Panda
Follow the official ROS Noetic installation guide for Ubuntu 20.04:
sudo apt update
sudo apt install curl gnupg2 lsb-release
curl -sSL http://packages.ros.org/ros.key | sudo apt-key add -
echo "deb [arch=amd64] http://packages.ros.org/ros/ubuntu $(lsb_release -c | awk '{print $2}') main" | sudo tee /etc/apt/sources.list.d/ros-latest.list
sudo apt update
sudo apt install ros-noetic-desktop-fullInitialize rosdep:
sudo rosdep init
rosdep updateSet up the ROS environment:
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrcInstall the Franka ROS interface:
sudo apt install ros-noetic-franka-rosFor detailed setup instructions, refer to the Franka ROS Interface documentation.
Install MoveIt!:
sudo apt install ros-noetic-moveitFor more information, visit the MoveIt! installation guide.
Clone the panda_moveit_config repository:
cd ~/catkin_ws/src
git clone https://github.com/moveit/panda_moveit_config.git
cd ..
catkin_make
source devel/setup.bashFor setup assistance, refer to the MoveIt! Setup Assistant tutorial.
Clone the ros_tcp_endpoint repository:
cd ~/catkin_ws/src
git clone https://github.com/Unity-Technologies/ROS-TCP-Endpoint.git
cd ..
catkin_make
source devel/setup.bashFor detailed instructions, visit the ROS-TCP-Endpoint GitHub repository.
In another terminal:
roslaunch panda_moveit_config franka_control.launch robot_ip:=<robot_ip> load_gripper:=trueIn a new terminal:
roslaunch ros_tcp_endpoint endpoint.launch tcp_ip:=<ros_host>Ensure that Unity is configured to connect to the ROS endpoint.
In a new terminal:
rosrun XR4Humna_ROS_PKG robot_rack_picking.pyThis project is licensed under the MIT License. See the LICENSE file for details.
For support or inquiries, please contact knezevic@etf.rs.