Coder Social home page Coder Social logo

robotkin's Introduction

RobotKin

A robot kinematics C++ library.

In order to parse URDFs, compile the dependencies in the following manner :

In RobotKin folder

mkdir libraries/install
cd libraries

# You can set the install path to any you want (e.g /usr/local)
export ROBOTKIN_DEP_INSTALL_PATH=`pwd`/install 
export CMAKE_PREFIX_PATH=$ROBOTKIN_INSTALL_PATH:$CMAKE_PREFIX_PATH

# Set the following for runtime
export LD_LIBRARY_PATH=$ROBOTKIN_INSTALL_PATH/lib:$LD_LIBRARY_PATH

Then :

hg clone https://bitbucket.org/osrf/urdfdom_headers
mkdir urdfdom_headers/build && cd urdfdom_headers/build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$ROBOTKIN_DEP_INSTALL_PATH ..
make install
cd ../..

git clone https://github.com/ros/console_bridge.git
mkdir console_bridge/build && cd console_bridge/build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$ROBOTKIN_DEP_INSTALL_PATH .. 
make install
cd ../..

hg clone https://bitbucket.org/osrf/urdfdom
mkdir urdfdom/build && cd urdfdom/build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$ROBOTKIN_DEP_INSTALL_PATH ..
make install
cd ../..

If you encounter an error about visual_array or collision_array missing in the last step, you probably have ROS Groovy installed and sourced. Try removing it from your ~/.bashrc or ~/.zshrc (you may need to log out and log back in). Personally, I had to resort to manually deleting certain headers from the ROS source tree. Let me know if you get hung up at this stage: [email protected]. After the above steps are complete, RobotKin should automatically detect the installed packages. Simply run cmake again and recompile.

mkdir build
cmake ..
make
cd ../bin

Run program:

  ./robotTest

This will run a tutorial program that is helpful if you are also looking at the code located at:

  robotKin/test/robotTest.cpp

robotkin's People

Contributors

mxgrey avatar rowoflo avatar hubobackup avatar a-price avatar ana-gt avatar

Watchers

Neil T. Dantam avatar James Cloos avatar Daniel Lofaro avatar

Forkers

jtritell

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.