Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Pablo Rivera <rivera@cs...> - 2007-06-19 22:33:01
|
Toby, thanks, I was able to build from CVS. After "bootstrap" I ran "configure" with the option "prefix=/var/cvsroot/player_build". I did this because I did not want to disturb the stable player build on my machine. make and make install ran fine. I copied "/usr/lib/libstageplugin.so" to "/var/cvsroot/player_build/lib". All this was done as non-root. I can run "/var/cvsroot/player_build/bin/player" no problem, also with a cfg file in a distant directory, but the following happens: 1. If I run it with a standard "stage.cfg" file, no gui appears. Running a client will then crash. 2. I tried it with my roboteq driver and config file, and it starts fine: ------------------------ trying to load /home/rivera/Desktop/trunk/player_drivers/roboteq/./roboteq.so...success invoking player_driver_init()... Roboteq driver initializing Roboteq driver done success Roboteq: using a max translational speed of 6.000000 m/s and max rotational speed of 4.000000 rad/s to scale motor commands Listening on ports: 6665 ------------------------ but when I run "/var/cvsroot/player_build/bin/playerjoy -k -speed 0.5" it crashes: ------------------------ Connecting to Player at localhost:6665 - calling connect done accepted TCP client 0 on port 6665, fd 6 Configuring Roboteq serial port at /dev/ttyS0.. Successfully initialized Roboteq connection. Done. playerc error : recv failed with error [Success] warning : failed to reconnect terminate called after throwing an instance of 'PlayerCc::PlayerError' [1]+ Done /var/cvsroot/player_build/bin/player roboteq.cfg Aborted ------------------------ Seems like maybe this is a network permissions (or linking?) problem.. If I manage to get this cvs build running and make my driver patch I am planning to write a player driver patch howto. Am I going about the cvs build wrong? thanks. -Pablo |