From: Radu B. R. <ve...@in...> - 2005-05-01 08:56:22
|
On Fri, Apr 29, 2005 at 09:46:14AM -0500, Matthew Johnson wrote: > I am using your JavaClient 1.6.2a for Player 1.6.2 with a Pioneer in > gazebo 0.5.1. I can get the ranges, but not the geometry. There is a > queryGeometry method, but when I handle the response, it is always zero. > Has this worked for anybody? If so, what am I missing? Hello Matt, Sorry for replying so late. I'm away in a short vacation in Germany, so reading mails has to go to level 2 priority. :) About your problem... In order to get the sonar geometry you should query it first with queryGeometry (), then check in a loop if the geometry has been read from the Player server using isPGSTReady (). If isPGSTReady returns true you should be able to get it using getPLCT () as a PlayerSonarGeomT object (don't forget to import javaclient.structures.* !). That said, it would be best to upgrade to JavaClient 1.6.2d, since I'm fixing bugs on a daily basis nowadays. The CVS has been left behind, but I will upgrade it as soon as I get back to the campus, sometime at the end of next week. Cheers, Radu. > > > > Matt > -- Yours sincerely, Radu Bogdan Rusu -- | Radu Bogdan 'veedee' Rusu | http://www.rbrusu.com | PhD student/teaching assistant | Robotics Research Group, Technical University of Cluj-Napoca[.ro] | The optimist sees a task in every problem. | The pessimist sees a problem in every task. |