/** @addtogroup clientlibs Client Libraries */ /** @{ */ /** @defgroup player_clientlib_libplayerc libplayerc libplayerc is a client library for the Player robot device server. It is written in C to maximize portability, and in the expectation that users will write bindings for other languages (such as Python and Java) against this library; @ref player_clientlib_libplayerc_py "Python bindings" are already available. @section libplayerc_usage General usage libplayerc is based on a device proxy model, in which the client maintains a local proxy for each of the devices on the remote server. Thus, for example, one can create local proxies for the position and laser devices. There is also a special client proxy, used to control the Player server itself. Programs using libplayerc will generally have the following structure: @include simpleclient.c This example can be built using the commands:
$ gcc -c simple.c -o simple.o
$ gcc -lm -lplayerc simple.o -o simple
Make sure that playerc.h is installed somewhere in you include path, and that libplayerc.a is in your library path.

The above program can be broken into six steps, as follows.

@section libplayerc_ref Proxy reference Detailed information for each proxy can be found in the Reference section. */