Version 13 (modified by dc, 7 years ago) (diff)



Libbarrett is a real-time controls library written in C++ that runs Barrett Technology's products, including the WAM Arm and the BH8-280 BarrettHand.

This version of libbarrett is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Getting started

  1. Download the library, unzip it, then install it by following the directions in the README.txt file. Or simply run the following commands:
    cd ~
    tar xzvf libbarrett-1.1.0.tar.gz
    cd libbarrett-1.1.0/
    cmake .
    sudo make install
    cd ..
    rm -Rf libbarrett-1.1.0/ libbarrett-1.1.0.tar.gz
  2. After installation, look through the example code in your home directory: ~/libbarrett_examples/
  3. When you're ready, copy the ~/libbarrett_examples/CMakeLists.txt file to another directory to start writing your own code.

You may also want to calibrate your WAM using the bt-wam-zerocal and bt-wam-gravitycal programs that are installed with the library. Instructions for running bt-wam-zerocal can be found here:

Running bt-wam-gravitycal is pretty self-explanatory. Let us know if you have any problems.