playerc++.h should be installed in /usr/local/include/player-3.0/libplayerc++ by default, unless you changed the install prefix.  The command pkg-config –cflags playerc++ should still work as long as /usr/local/lib/pkgconfig is on your PKG_CONFIG_PATH (again, unless you changed the install prefix).  Thus, there shouldn’t be any difference between what you do to compile a player-2.1 and a player-3.0 client program. 


The documentation on the website is very out of date, but you can generate new documentation from the source (search the mailing list, this came up a little while ago).  Playerc++ hasn’t changed too much between 2.1 and 3.0.  The hokuyo_aist driver uses the “ranger” interface instead of “laser”.  You might have to change your code or use “rangertolaser”.




From: Aslund []
Sent: Tuesday, March 23, 2010 11:13 AM
Subject: [Playerstage-users] Using Player 3.0.1


Hey everyone

I stand in a small problem, for previous projects have I used Player 2.1.3, but for my Hokuyo laser, Player 3.0.1 provides a better driver.
My problem is that the new player is soo confusing in its setup, make no sense to me, and I have been unable to find the playerc++.h file and seems no documentation is available. I is possible for someone to line up how to setup and compile a program with the new Player?

Is any change needed in my previous code for Player 2.1.3 to make it work under Player 3.0.1?