GithubHelp home page GithubHelp logo

ozangungor12 / gilbreth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swri-robotics/gilbreth

0.0 1.0 0.0 18.43 MB

robotic product handling simulation

License: BSD 3-Clause "New" or "Revised" License

CMake 6.11% C++ 72.47% Shell 0.50% Python 20.92%

gilbreth's Introduction

Gilbreth

Robotic product handling simulation

Lillian Moller Gilbreth was an American psychologist and industrial engineer.

Getting Started

The project is based on Ubuntu 18.04, ROS Kinect, gazebo 9.0, wstool and catkin tools. Links to the instructions for installing ROS, Gazebo, etc. are provided below

Installation

  • Source the ROS environment script

     source /opt/ros/kinetic/setup.bash
    
  • Create a "gilbreth_ws" catkin workspace

     mkdir -p ~/gilbreth_ws/src
     cd ~/gilbreth_ws/
     catkin init
    
  • Fetch the gilbreth source code:

     cd ~/gilbreth_ws/src
     wstool init .
     wstool merge https://raw.githubusercontent.com/swri-robotics/gilbreth/kinetic-devel/gilbreth.rosinstall
     wstool update
     rosdep install --from-paths . --ignore-src -y
    
  • Build the workspace

     cd ~/gilbreth_ws
     catkin build
    

Visualize The Simulation Enviroment

Setup

  • Source the catkin workspace

     cd ~/catkin_ws
     source devel/setup.bash
    

View the URDF

   roslaunch urdf_tutorial display.launch model:=$(rospack find gilbreth_support)/urdf/gilbreth.xacro

It may be necessary to select "world" in the "Fixed Frame" drop down in the rviz window.

Run the Gazebo simulation environment

  1. Launch the gazebo simulation environment:

    roscd gilbreth_gazebo
    roslaunch gilbreth_gazebo gilbreth_environment.launch rviz:=false
    
    • Use "rviz:=true" to show rviz
  2. Activate the gripper:

    rosservice call /gilbreth/gripper/control "enable: true"
    

    Use "false" in order to turn off the gripper

  3. Activate the conveyor:

    rosservice call /gilbreth/conveyor/control "state: power: 100.0"
    

    The "power" can range from 0.0 to 100.0. Use 0.0 to stop the conveyor

  4. Start the part spawner:

    rosservice call /start_spawn "{}"
    

    This command will make parts appear on the conveyor at random intervals. The frequency, types of parts and other properties can be configured in this yaml file

  5. Stop the part spawner

    rosservice call /stop_spawn "{}"
    
    

Run the Main Application

gilbreth's People

Contributors

jrgnicho avatar marip8 avatar lianjunli avatar alex07zzz avatar ben-greenberg avatar mv5guva avatar mbharatheesha avatar

Watchers

James Cloos 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.