welcome: please sign in
location: HATP / libhatp

--DEPRECATED-- libhatp, a C++ library to handle solution plans --DEPRECATED--

This module is no longer independant, it is integrated in the hatp_msgs library with the messages.

This page presents hatptester, a library that allow to handle the solution found by HATP.

/!\ There are several methods to install libhatp, we advise you to use the robotpkg method.

{i} A quick setup guide (working with robotpkg) can be found here.

1. Prepare dependencies

libhatp depends on:

If you are not used to install via commands, see the short summary in this Appendix.

If you use robotpkg (see below and recommended solution) all dependencies are correctly tackled.

2. Install libhatp

2.1. Using robotpkg (recommended)

{i} If you want to use robotpkg, you can jump to hatpconsole install using robotpkg because libhatp is automatically installed if missing.

robotpkg is a set of build and packaging tools, inspired by pkgsrc, designed to build and install OpenRobots packages.

To get complete documentation on how-to use robotpkg please refer to: http://robotpkg.openrobots.org/install.html.

As of now (March 2014) libhatp is a work in progress in robotpkg/wip: see http://robotpkg.openrobots.org/robotpkg-wip.html.

cd <robotpkg>/wip/libhatp
make update

2.2. Prepare with archive packages

This method uses the tar.gz archive of the modules.

The archive is available at : http://www.openrobots.org/distfiles/libhatp/libhatp-LAST.tar.gz

tar -xzf libhatp-LAST.tar.gz
cd libhatp-<version>
mkdir build
cd build
cmake .. [-DCMAKE_INSTALL_PREFIX=<some/install/path>]
make install

N.B. You may need root privileges to do make install if you did not use the -DCMAKE_INSTALL_PREFIX

2.3. Prepare from the Git repository

As last solution you can prefer to install libhatp from the Git repository to be up to date.

git clone git://git.openrobots.org/robots/hatp/libhatp
cd libhatp
mkdir build
cd build
cmake .. [-DCMAKE_INSTALL_PREFIX=<some/install/path>]
make install

N.B. You may need root privileges to do make install if you did not use the -DCMAKE_INSTALL_PREFIX

3. API of libhatp

Under construction !

To see the current API, compile it from the Git or archive package version. Once libhatp is properlly compiled call:

cd <libhatp>/build
make doc

Now the documentation main page can be found in <libhatp>/doc/html/index.html.

4. Changelog

4.1. Version 1.0.0

4.2. Version 1.0.2

4.3. Version 1.1.0

5. License, Troubleshooting and Maintainer

HATP is distributed under 2-clause BSD license. (See here for details.)

The page to report problems or for pull request: Openrobots/hatptester.

Current maintainer(s):

OpenrobotsWiki: HATP/libhatp (last edited 2016-07-28 13:29:17 by rlalleme)