Thought I'd start playing with the latest version of Stage a bit today. I won't
get a chance to make a new version of MobileSim, and in the process update old
patches and add new features, for a little while though. Nice to see the
beginnings of that preferences dialog to change the intervals, that was on my
todo list also; also I was going to implement bumpers today but I noticed
they're already there! Great!
The diff below against CVS includes fixes the checks for Player and rgb.txt in
the configure script. If Player isn't found, then it prints warnings (including
one at the end of configure) and disables building of the driver plugin (just
builds libstage). It also adds /etc/X11/rgb.txt to the list of possible
locations for rgb.txt. I guess this is where Debian keeps it now. (Sometime in
the future I will also be updating all my old patches from 2.0.0a, which will
include a small hardcoded list of colors to fall back on if rgb.txt doesn't
exist, instead of aborting stage.)
I also hacked stest.c a bit if you want those changes to exit with an error
message if you give it a nonexistant robot name or the robot doesn't have a laser.
Finally, I needed to add a declaration for "extern void
stg_rtk_fig_calc_selection(stg_rtk_fig_t *fig);" to rtkprivate.h to build (I'm
using GCC 4).
cvs diff: Diffing .
RCS file: /cvsroot/playerstage/code/stage/configure.ac,v
retrieving revision 1.12
diff -r1.12 configure.ac
< AC_DEFINE(INCLUDE_PLAYER,1,[building Player plugin]),
< AC_MSG_ERROR([Stage 2.0.1 requires Player-2.0.1 to be installed first.
Available at http://playerstage.sourceforge.net.])
> AC_DEFINE(INCLUDE_PLAYER,1,[building Player plugin])
> AC_MSG_WARN([Stage 2.0.1 requires Player-2.0.1 to be installed to create the Player plugin (Available at http://playerstage.sourceforge.net). Only libstage will be built.])
> AM_CONDITIONAL(HAVE_PLAYER, [test $have_player = yes])
> if test "x$have_player" = "xno"
> AC_MSG_RESULT([WARNING: The Player plugin driver will NOT be built since Player is not])
> AC_MSG_RESULT([ installed; only libstage.a will be built. If you want to use Stage])
> AC_MSG_RESULT([ with Player, you must install Player, and re-run this configure script.])
> AC_MSG_RESULT([The Player driver plugin will be built.])
cvs diff: Diffing src
RCS file: /cvsroot/playerstage/code/stage/src/Makefile.am,v
retrieving revision 1.139
diff -r1.139 Makefile.am
> if HAVE_PLAYER
> lib_LTLIBRARIES = libstage.la