From: Radu B. R. <ve...@in...> - 2005-04-29 10:38:58
|
Javaclient 1.6.2d is up at SF. Changes: - added support for the Map, Planner and Log interfaces; - added a PlayerClient.stopOnEOFException property (use SetProperty before you create the PlayerClient object to set it) which will stop the Javaclient if the Player server is stopped, thus an EOFException occurs; - some bugfixes. There is a bug in player 1.6.2 and player-head (as of 29.04.05), so you won't be able to use the Map interface properly unless you patch it yourself. I already sent the small fix to playerstage-developers@ and hopefully it will be merged into HEAD. The fix consists in adding a "memcpy(&info, request, len); " call in the "HandleGetMapInfo(void *client, void *request, int len)" function from the three *.cc files (mapcspace.cc, mapfile.cc and mapscale.cc) in the server/drivers/map subdirectory. You need to add that call somewhere around the following lines: ... // convert to pixels / kilometer info.scale = htonl((uint32_t)rint(1e3 / this->resolution)); info.width = htonl((uint32_t) (this->size_x)); info.height = htonl((uint32_t) (this->size_y)); ... After that issue a "make" call in the same subdirectory, and then another "make" call in the server/ directory to rebuild the player binary. Or you can just wait for Brian or someone else to merge the fix and then just CVS :) Your choice. The CVS repository has not been updated since 1.6.2c, so please do not use it until later next week when hopefully I will be able to update it. Thanks for understanding. PS. Does anyone feel like writing a few examples for each interface we support? I'd do it, but my time is sort of limited until June. Thanks. Yours sincerely, Radu Bogdan Rusu -- | Radu Bogdan 'veedee' Rusu | http://www.rbrusu.com | PhD student/teaching assistant | Faculty of Automation & Computer Science @ UTCluj , Romania | The optimist sees a task in every problem. | The pessimist sees a problem in every task. |