Player Stage

From wikidb
Revision as of 16:44, 26 November 2008 by Edc (Talk | contribs)

Jump to: navigation, search

Building

  • 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

  • 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