From: Radu B. R. <ru...@cs...> - 2006-03-12 08:26:19
|
Following Fred's advice, Javaclient2 2.0.1 is up at SF. If any other bugs will be discovered, and/or player 2.0.1 will bring something new, I'll build Javaclient2 2.0.2. Changes: * PULL mode + AddReplaceRule finally works fine. Example on how to use it: <PlayerClient>.requestDataDeliveryMode (PlayerConstants.PLAYER_DATAMODE_PULL); <PlayerClient>.readAll (); <PlayerClient>.requestAddReplaceRule (-1, -1, PlayerConstants.PLAYER_MSGTYPE_DATA, -1, 1); <PlayerClient>.readAll (); * Changed Position1dInterface to match Brian's refactorization. * All reads are blocking now (read -> readFully) so at least the client gets THE data (get/setTimeout disabled for now). * Several bugs fixed, including <Position>.setSpeed (thanks to Hugo Marques), <Sonar>.read (the last value of the sonar values array wasn't being read), and <PlayerClient>.readAll (sometimes in.available () doesn't return anything - delay between Player sending data and the client receiving it => get/setTimeout) Enjoy, Radu. Radu Bogdan Rusu wrote: > I forgot to mention that... > > To be consistent with the Player/Stage versions, I will wait until > Brian releases a bugfix version of player later this week and then > build one for Javaclient too. > > Until then, CVS is our friend :) > > Radu. -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |