Giter Club home page Giter Club logo

dds-robot-arm's Introduction

dds-robot-arm

Build Status

Control robotic arm with leap motion via DDS

component

Demo SOP

  1. Power on two PCs
  2. Plug-in usb cable and turn on AP Router
  3. Check whether notebook connect to AP router automatically
  4. Open terminal, split the console window
    1. run goleap
    2. run dds_motion
    3. ssh ad; run dds_robot
    4. ssh ad; run dds_robot2

INSTALL LIBS

System update

sudo apt-get update
sudo apt-get install git libssl-dev libc-ares-dev build-essential libtool autoconf automake uuid-dev cmake

Install DDS Library

Download Vortex Lite, then install it.

Install libzmq(zeromq) 3.2.5

wget http://download.zeromq.org/zeromq-3.2.5.tar.gz
tar xvzf zeromq-3.2.5.tar.gz
cd zeromq-3.2.5
./configure
make
sudo make install
sudo ldconfig
#sudo ln -sf /usr/local/lib/libzmq.so /usr/lib/libzmq.so

Install czmq (high-level C binding for zeromq)

git clone git://github.com/zeromq/czmq.git
cd czmq
./autogen.sh
./configure
make
sudo make install
sudo ldconfig

Install librs232 (cross-platform serial library)

git clone https://github.com/taka-wang/librs232.git
cd librs232
./autogen.sh
./configure --prefix=/usr
make
sudo make install
sudo ldconfig

Install golang 1.6 & zmq binding (for goleap)

sudo apt-get install pkg-config
curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
tar -xvf go1.6.linux-amd64.tar.gz
sudo mv go /usr/local
nano ~/.profile
export PATH=$PATH:/usr/local/go/bin

go get github.com/taka-wang/zmq3
go get github.com/taka-wang/gomotion

BUILD

# build dds_motion, dds_robot, dds_robot2
cd dds-robot-arm
mkdir build
cd build
cmake ..
make

# build goleap
cd dds-robot-arm/goleap
go build

# build mqtt_motion, mqtt_robot
cd dds-robot-arm/mqtt
mkdir build
cd build
cmake ..
make

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.