GithubHelp home page GithubHelp logo

ourobotics-ou / snp_blending Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ros-industrial-consortium/snp_blending

0.0 0.0 0.0 2.34 MB

Scan 'N Plan Implementation for SwRI Blending Cell

Shell 1.82% Python 94.23% CMake 3.94%

snp_blending's Introduction

SNP Implementation for Robotic Blending Milesone 5

This demo uses a Motoman MH180 with an Intel RealSense camera to reconstruct the surface of an arbitrary part and generate motion plans for grinding the part in a raster pattern

Build Setup

  1. Follow the build setup instructions for the main repository

  2. Clone the application-specific ROS2 dependencies into the same workspace

    cd <snp_workspace>
    vcs import src < snp_automate_2022/dependencies.repos
    

Build

colcon build --cmake-args -DTESSERACT_BUILD_FCL=OFF

ROS1 Hardware Interface Software Installation

Install the requisite ROS1 driver software to run the application on hardware

Note: this step is not required to run the application in simulation only

  1. Build the ros1_bridge

    • Create a new workspace, clone this branch of the ros1_bridge repository
      git clone -b action_bridge https://github.com/ipa-hsd/ros1_bridge.git
    • Source the both ROS distros
      source /opt/ros/foxy/setup.bash
      source /opt/ros/noetic/setup.bash
    • Build the bridge
      colcon build --symlink-install --packages-select ros1_bridge --cmake-force-configure
  2. Build the ROS1 workspace

    • Create a new workspace, clone this commit of the motoman repository
      git clone -b 63c94ec https://github.com/ros-industrial/motoman.git
    • Source the ROS1 installation
      source /opt/ros/noetic/setup.bash
    • Build the repo
      catkin build

Running the system

Simulation

ros2 launch snp_blending start.launch.xml

On Hardware

  1. Start the ROS1 launch file in a new terminal
    cd <ros1_workspace>
    source devel/setup.bash
    roslaunch motoman_hc10_support robot_interface_streaming_hc10.launch robot_ip:=192.168.1.31 controller:=yrc1000
  2. Run the bridge in a second terminal
    cd <bridge_workspace>
    source install/setup.bash
    ros2 run ros1_bridge dynamic_bridge --bridge-all-1to2-topics
  3. Start the ROS2 launch file in a third terminal
    cd <snp_workspace>
    source install/setup.bash
    ros2 launch snp_blending start.launch.xml sim_robot:=false sim_vision:=false

snp_blending's People

Contributors

marip8 avatar yolnan avatar davidspielman avatar marrts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.