Player 3.0 Upgrade
From The Player Project
Upgrading from Player 2.1 to Player 3.0
The following interfaces have had changes, you should check the specific interfaces out if you have been using them
- PLAYER_BLACKBOARD_REQ_GET_ENTRY request added
- PLAYER_BLOBFINDER_GET_COLOR request added
- PLAYER_IMU_DATA_FULLSTATE message added
- ir (now deprecated)
- data structure changed
- laser (now deprecated)
- New PLAYER_LASER_DATA_SCANANGLE message added
- mcom (removed)
- ranger (reowrked)
- PLAYER_SIMULATION_CMD_PAUSE command added
- PLAYER_SIMULATION_CMD_RESET command added
- PLAYER_SIMULATION_CMD_SAVE command added
- sonar (now deprecated)
- stereo (new interface)
The following interfaces were added
The following interfaces were deprecated. You should update your clients to use their replacements.
- ir (use ranger)
- sonar (use ranger - a conversion driver, sonartoranger, is available for using drivers that have not yet been updated to the new interface.)
- laser (use ranger - a conversion driver, sonartoranger, is available for using drivers that have not yet been updated to the new interface.)
With the exception of changes to support the interface changes above, there are no changes needed to use the Client Libraries.
There is a new Ruby wrapper around the c client library, and experimental Python and Ruby wrappers around the c++ client library.
Non threaded drivers should not need modified.
Threaded drivers have a slight modified API which should make resource management easier.
- Threaded drivers should now inherit from the ThreadedDriver class.
- Their Setup method should be renamed MainSetup and have the call to StartThread removed.
- Their Shutdown method should be renamed MainQuit and have the call to StopThread removed.
- MainSetup and MainQuit are called in the drivers thread context.
There have been some small changes to the names of player libraries and their headers. Code using pkg-config should be most unaffected by this.
- playererror and some utility code are now libplayercommon
- All interface related code (the interfaces themselves, xdr methods and the interface utils) are not in libplayeritnerface
- All server and driver code remains in libplayercore
- libplayertcp is unchanged.
- The client libraries are unchanged.
- All replacement code is now contained in a library, libplayerreplace, rather than being compiled in everywhere it is needed.