Code Monkey home page Code Monkey logo

mocap-bt's Introduction

mocap-bt

meta package for project mocap

git clone https://github.com/mocapNCTU/mocap-bt.git mocap

with the folder name "mocap" under ~/

ubuntu16.04 ROS kinetic

##Installation

Building

cd ~/mocap source install_software.sh

it will install ROS Kinetic, Apriltags-cpp, Pangolin, dso, LCM, drake motion planning library etc if you prefer manual install it. Just install 3 main library Pangolin, dso for GUI

Building apriltags-cpp

    cd $HOME/mocap/software/apriltags-cpp
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make
    sudo make install

Building Pangolin

    sudo apt-get install libglew-dev
    sudo apt-get install libsuitesparse-dev
    cd $HOME/mocap/software/Pangolin
    mkdir build                                                                                                                      
    cd build
    cmake ..
    make -j

Building dso

    cd $HOME/mocap/software/dso
    sudo apt-get install zlib1g-dev
    cd dso/thirdparty
    tar -zxvf libzip-1.1.1.tar.gz
    cd libzip-1.1.1/
    ./configure
    make
    sudo make install

    cd $HOME/mocap/software/dso
    cd dso 
    mkdir build
    cd build
    cmake ..
    make -j

Usage

Try launch apriltags detection without RVIZ msgs overhead

T1:roslaunch img_capture img_capture.launch

Try GUI base on Pangolin and dso

#Demo videos

mocap-gui

Open 2 terminal shows like this, you can utilize byobu tool. don't forget your /dev/video0 or /dev/video1 avalaible in usb_cam-test.launch

T1: roslaunch usb_cam usb_cam-test.launch

T2: rosrun dso_ros dso_live image:=/usb_cam/image_raw calib=/PATH_TO/dso_ros/camera.txt gamma=/PATH_TO/src/dso_ros/pcalib.txt vignette=/PATH_TO/src/dso_ros/vignette.png

for example

rosrun dso_ros dso_live image:=/usb_cam/image_raw calib=/home/rapyuta/dso_ws/src/dso_ros/camera.txt gamma=/home/rapyuta/dso_ws/src/dso_ros/pcalib.txt vignette=/home/rapyuta/dso_ws/src/dso_ros/vignette.png

Habonbon!

mocap-bt's People

Contributors

yuehchuan avatar

Watchers

James Cloos avatar  avatar

Forkers

mocap-tools

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.