mi-lib / roki-fd

RoKi-FD - Robot Forward Dynamics simulation library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RoKi-FD - Robot Simulation library
Copyright (C) 2018 Tomomichi Sugihara (Zhidao)

master
CI-build

What is this?

RoKi-FD is a software library for robot forward dynamics simulation including:

  • contact force computation
  • joint friction computation

ZEDA, ZM, Zeo and RoKi are required.

Installation / Uninstallation

install

  1. Install ZEDA, ZM, Zeo and RoKi in advance.

  2. Clone this repository.

git clone https://github.com/n-wakisaka/roki-fd

  1. Enter the directory.

cd roki-fd

  1. Edit config file if necessary.
  • PREFIX

    directory where the library is installed. ~/usr as a default. In this case, header files and library are installed under ~/usr/include and ~/usr/lib, respectively.

  1. Make it.

make

  1. Install it.

make install

Or,

cp -a lib/libroki-fd.so $PREFIX/lib/
cp -a include/roki $PREFIX/include/
cp -a bin/* $PREFIX/bin/

uninstall

1.Uninstall it

make uninstall

Or,

delete $PREFIX/lib/libroki-fd.so, $PREFIX/include/roki-fd/roki-fd.h and $PREFIX/include/roki-fd/rkfd*.h.

How to use

You may need to set your PATH and LD_LIBRARY_PATH environment variables.
This is done by:
export PATH=$PATH:$PREFIX/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib if your working shell is Bourne shell (bash, zsh, etc.),

or by:
set path = ( $path $PREFIX/bin )
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:$PREFIX/lib
if your working shell is C shell (csh, tcsh, etc.).

When you want to compile your code test.c, for example, the following line will work.

gcc `roki-fd-config -L` `roki-fd-config -I` test.c `roki-fd-config -l`

Contact

zhidao@ieee.org

Contributor

Following people contributed to this library:

About

RoKi-FD - Robot Forward Dynamics simulation library

License:Other


Languages

Language:C 98.4%Language:Makefile 1.3%Language:Shell 0.3%