From: Richard V. <va...@hr...> - 2002-06-24 20:44:36
|
Folks, I've added support for Stage's ground truth device [world-file tag: truth()] to Players's C++ library. It was previously only available in libplayerc. A patch is available from the P/S files page: http://sourceforge.net/project/showfiles.php?group_id=42445 Instructions are below. The patch is currently the only way to get to Player-1.2.1. The next release of a full code tree will be 1.2.2, which will include a bunch more functionality, notably support for RWI robots. cheers, Richard. * Patch instructions * 1. Download the patch to somewhere handy, say /tmp . 2. uncompress it $ gunzip /tmp/Player-1.2.1.diff.gz 3. go to your Player 1.2 source directory, for example: $ cd ~/Player-1.2-src 4. apply the patch: $ patch -p1 < /tmp/Player-1.2.1.diff You should see output very much like this: patching file client_libs/c++/Makefile patching file client_libs/c++/gpsproxy.cc patching file client_libs/c++/playerclient.h patching file client_libs/c++/test/Makefile patching file client_libs/c++/test/test.cc patching file client_libs/c++/test/test.h patching file client_libs/c++/test/test_truth.cc patching file client_libs/c++/truthproxy.cc patching file client_libs/c++/truthproxy.h 5. rebuild the c++ client library $ cd client_libs/c++; make clean; make OPTIONAL 6. test the library with the C++ test suite: $ cd test; make $ ./test --truth You should see the test complete successfully. To see all the tests: $ ./test --all OPTIONAL 7. install the patched c++ client libary: $ cd ~/Player-1.2; make install --------------------------------------------------------- cheers, Richard. -- Richard Vaughan HRL Laboratories [va...@hr...] |