Skip to content

UofI-CDACS/fanuc_ros2_drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3

FANUC ROS2 Drivers

Release 0.1.1


Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. License
  6. Contact

About The Project

ROS2 Solution for FANUC robots

(back to top)

Built With

  • Python

(back to top)

Getting Started

Prerequisites

  • 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

Installation (Linux)

Create a ROS2 Workspace

  1. Source ROS2 Environment

    source /opt/ros/humble/setup.bash
  2. Create a new directory

    mkdir -p ~/ros2_ws/
    cd ~/ros2_ws/
  3. Clone repo

    git clone https://github.com/UofI-CDACS/fanuc_ros2_drivers/ --branch v1.1
  4. Resolve Dependencies

    rosdep install -i --from-path src --rosdistro humble -y
  5. Build the workspace with colcon

    colcon build

    Full guide here: ROS2 Humble Documentation

    Installation Complete

(back to top)

Usage

Running Nodes

  1. Open new terminal and go to workspace
  2. Source overlay
    source install/setup.sh
  3. 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)

Using Nodes

  1. Open new terminal and go to workspace
  2. Source overlay
    source install/setup.sh
  3. Start using!

For more examples, please refer to the Documentation

(back to top)

Roadmap

  • More ROS2 Packages

See the open issues for a full list of proposed features (and known issues).

(back to top)

License

Distributed under the GNU General Public License v3. See LICENSE.txt for more information.

(back to top)

Contact

Project Link: https://github.com/UniversityOfIdahoCDACS/FANUC-ROS2_Drivers

(back to top)