C++ examples to utilize RBDyn.
$ source install.bash
$ sudo apt-get install git cmake pkg-config doxygen g++ libboost1.58-dev libboost1.58-all-dev libeigen3-dev libyaml-cpp-dev python-pip python2.7-dev make libtinyxml2-dev libnotify-bin -y
$ git clone --recursive https://github.com/jrl-umi3218/Eigen3ToPython.git
$ cd Eigen3ToPython
$ mkdir build
$ cd build
$ cmake .. -DPYTHON_BINDING_USER_INSTALL=ON
$ make -j`nproc`
$ sudo make install
$ git clone --recursive https://github.com/jrl-umi3218/SpaceVecAlg.git
$ cd SpaceVecAlg
$ mkdir build
$ cd build
$ cmake .. -DPYTHON_BINDING=ON -DPYTHON_BINDING_USER_INSTALL=ON
$ make -j`nproc`
$ sudo make install
$ git clone --recursive https://github.com/jrl-umi3218/RBDyn.git
$ cd RBDyn
$ mkdir build
$ cd build
$ cmake .. -DPYTHON_BINDING=ON -DPYTHON_BINDING_USER_INSTALL_DEFAULT=ON -DPYTHON_BINDING_USER_INSTALL=ON
$ make -j`nproc`
$ sudo make install
$ git clone --recursive https://github.com/jrl-umi3218/mc_rbdyn_urdf.git
$ cd mc_rbdyn_urdf
$ mkdir build
$ cd build
$ cmake .. -DPYTHON_BINDING=ON -DPYTHON_BINDING_USER_INSTALL=ON
$ make -j`nproc`
$ sudo make install
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
$ cd rbdyn_examples
$ source compile.bash
$ rbdynrun <TAB>
$ rbdynrun robot_config_example
Just load the robot description from source code.
$ rbdynrun yaml_test
Just load YAML file from yaml/test.yaml
$ rbdynrun urdf_fk
Load robot description from URDF file.
Then solve the FK and print the homogeneous matrix for each links in the world frame.
$ rbdynrun urdf_ik
Load robot description from URDF file.
Then solve the IK and print the homogeneous matrix for each links in the world frame.
$ rbdynrun urdf_jacobian
Load robot description from URDF file.
Then solve the FK and FV based on being set parameters.
After that, get the jacobians & velocities for each body (link).