Release 0.1.1
Table of Contents
ROS2 Solution for FANUC robots
- pycomm
pip3 install pycomm
- Put Fanuc TP programs on controller
- 'ros2_eip_back.tp' needs to be running in the background
- 'ros2_eip_mainv2.tp' runs in the foreground when you want to use ROS
-
Source ROS2 Environment
source /opt/ros/humble/setup.bash
-
Create a new directory
mkdir -p ~/ros2_ws/ cd ~/ros2_ws/
-
Clone repo
git clone https://github.com/UofI-CDACS/fanuc_ros2_drivers/ --branch v1.1
-
Resolve Dependencies
rosdep install -i --from-path src --rosdistro humble -y
-
Build the workspace with colcon
colcon build
Full guide here: ROS2 Humble Documentation
Installation Complete
- Open new terminal and go to workspace
- Source overlay
source install/setup.sh
- Run launch
ros2 launch launch/start.launch.py robot_name:=NAME_OF_ROBOT robot_ip:=0.0.0.0 # Parameters must be formated this way or the command will give you an error
- This script only works for one robot. If you need to start more than 1 robot, this should be done in mulitple terminals. (WIP)
- Open new terminal and go to workspace
- Source overlay
source install/setup.sh
- Start using!
For more examples, please refer to the Documentation
- More ROS2 Packages
See the open issues for a full list of proposed features (and known issues).
Distributed under the GNU General Public License v3. See LICENSE.txt
for more information.
Project Link: https://github.com/UniversityOfIdahoCDACS/FANUC-ROS2_Drivers