Player Stage
From wikidb
Building
- The player that worked with Phidgets
- Player Stage site
- player-2.1.0rc1.tar.gz
- After untarred mv to that directory and do
./configure make make install
Hardware
Start up the player client
- Create the following config file in phidgetIFK.cfg
driver ( name "phidgetIFK" provides ["aio:0" "dio:0"] serial -1 alwayson 1 samplingrate 16 alarmtime 21 )
- From root
player phidgetIFK.cfg &
Simple Test Program
- The Basic Phidget Sonar Example source in sonar.cc
- Setting the path
export PKG_CONFIG_PATH=/home/eepp/robotics/player/player-2.1.0rc1/libplayercore/:/home/eepp/robotics/player/player-2.1.0rc1/client_libs/libplayerc/:/home/eepp/robotics/player/player-2.1.0rc1/libplayerxdr:/home/eepp/robotics/player/player-2.1.0rc1/client_libs/libplayerc++/
- Put it in a file named path and type
. ./path
- make
Asus Eee
<base> = path to player-2.1.0rc1 Use sudo in front of each command
- cp <base>/server/.libs/player to Eee /usr/local/bin
- cp <base>/server/libplayerdrivers/.lib/libplayerdrivers.so.2.1.0 to Eee /usr/local/lib
- ln -s libplayerdrivers.so.2.1.0 libplayerdrivers.so.2
- cp <base>/libplayercore/.libs/libplayercore.so.2.1.0 to Eee /usr/local/lib
- ln -s libplayercore.so.2.1.0 libplayercore.so.2
- dido with libplayererror.so.2.1.0
- dido with libplayerutils.so.2.1.0
- dido with <base>/libplayertcp/.libs/libplayertcp.so.2.1.0
- dido with <base>/libplayertcp/.libs/libplayerudp.so.2.1.0
- dido with <base>/libplayerxdr/.libs/libplayerxdr.so.2.1.0