Changes between Initial Version and Version 1 of Libbarrett/ExamplePrograms


Ignore:
Timestamp:
Apr 9, 2012, 11:57:41 PM (12 years ago)
Author:
dc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Libbarrett/ExamplePrograms

    v1 v1  
     11. Open a terminal on the realtime computer that will run the WAM.
     21. Checkout a copy of the libbarrett library:
     3{{{
     4svn co http://web.barrett.com/svn/libbarrett/branches/1.x/ ~/libbarrett
     5}}}
     61. Use the "cmake" program (http://www.cmake.org/cmake/help/cmake2.6docs.html) to generate Makefiles for your system:
     7{{{
     8cd ~/libbarrett/
     9cmake .      <-- IMPORTANT: Notice the '.' at the end of this command.
     10}}}
     111. Use the "make" program to compile the library and important calibration utilities:
     12{{{
     13cd ~/libbarrett/
     14make
     15}}}
     16   This creates the following files:
     17     * src/libbarrett.so
     18     * programs/bt-wam-gravitycal
     19     * programs/bt-wam-zerocal
     201. Compile an example program:
     21{{{
     22cd ~/libbarrett/examples/
     23make ex01_initialize_wam
     24}}}
     25   This uses the "examples/ex01_initialize_wam.cpp" file to create the "examples/ex01_initialize_wam" program.
     261. Run the program:
     27{{{
     28cd ~/libbarrett/examples/
     29./ex01_initialize_wam
     30}}}