GithubHelp home page GithubHelp logo

gaze_arm's Introduction

Gaze Arm

Gaze Arm is a cheap robot arm controlled with ROS. Gaze Arm

Hardware

Software

Launch

Both PC and Edison

  1. Install ROS (PC: Desktop-Full, Edison: Bare Bones), libmraa.
  2. Add ros_gpio node.
  3. $ cd ros_source_folder
  4. $ wstool set --git ros_gpio https://github.com/yoneken/ros_gpio.git
  5. $ wstool update ros_gpio

on PC

  1. Install Gazebo.
  2. Add gaze_arm node.
  3. $ cd ros_source_folder
  4. $ wstool set --git gaze_arm https://github.com/yoneken/gaze_arm.git
  5. $ wstool update gaze_arm
  6. Make nodes.
  7. $ make_catkin_isolated --install --pkg ros_gpio gaze_arm
  8. Set ROS_MASTER_URI and ROS_IP. For example, IP address of your PC is XXX.XXX.XXX.XXX:
  9. $ export ROS_MASTER_URI="http://XXX.XXX.XXX.XXX:11311"
  10. $ export ROS_IP="XXX.XXX.XXX.XXX"
  11. Set parmeter for gscam.
  12. $ export GSCAM_CONFIG="v4l2src device=/dev/video0 ! video/x-raw-rgb ! ffmpegcolorspace"
  13. Launch gaze_arm node.
  14. $ roslaunch gaze_arm gaze_arm.launch

on Edison

  1. Make ros_gpio node.
  2. $ make_catkin_isolated --install --pkg ros_gpio
  3. Set ROS_MASTER_URI and ROS_IP. For example, IP address of your Edison is YYY.YYY.YYY.YYY:
  4. $ export ROS_MASTER_URI="http://XXX.XXX.XXX.XXX:11311"
  5. $ export ROS_IP="YYY.YYY.YYY.YYY"
  6. Connect servo motors' signal pin to Edison's 5 and 6 pin.
  7. Run ros_gpio node.
  8. $ rosrun ros_gpio srv_server

Now. You can control the arm to type "i", ",", "j", and "l" keys. In gazeno, the simulation model is moved synchronously with the real robot.

Arm structure

Gaze Arm Structure

gaze_arm's People

Contributors

yoneken avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

sichitong

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.