Release 0.1.0
Table of Contents
ROS2 Solution for FANUC robots
- pycomm
pip3 install pycomm
-
Source ROS2 Environment
source /opt/ros/humble/setup.bash
-
Create a new directory
mkdir -p ~/ros2_ws/src cd ~/ros2_ws/src
-
Clone repo
https://github.com/UofI-CDACS/fanuc_ros2_drivers.git
-
Resolve Dependencies
# cd if you're still in the ``src`` directory cd .. rosdep install -i --from-path src --rosdistro humble -y
-
Build the workspace with colcon
colcon build
-
Source the overlay
source /opt/ros/humble/setup.bash
Go into the root of your workspace
cd ~/ros2_ws
In the root, source the overlay
source install/local_setup.bash
Full guide here: ROS2 Humble Documentation
Installation Complete
!Note: Always source when opening new terminal
- Open new terminal
- Source the overlay
Go into the root of your workspace
source /opt/ros/humble/setup.bash
In the root, source the overlaycd ~/ros2_ws
source install/local_setup.bash
- Navigate to desired package
#example: cd ~/ros2_ws/src/fanuc_ros2_driver/fanuc_ros2_driver/fanuc_ros2_driver/
- Spin up action servers
Action server is now waiting to receive goals
#example: pass robot IP python3 write_joint_pose_server.py 129.1.1.1
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