From: Radu B. R. <ru...@in...> - 2005-09-13 08:52:00
|
Hellos, Steffen, I just commited a patched PlayerClient.java to the CVS SF repository. Please download/CVS it and see if it solves your (or anyone else's) problem with the interface index. Now calls like requestInterface... (X , 'a'); should work (X=1..10). Sorry it took so long. Cheers, Radu. Radu Bogdan Rusu wrote: >Hello Steffen, > >On Tue, Aug 30, 2005 at 07:40:38AM +0200, Steffen Jaensch wrote: > > >>In order to get access to the position device at index 0 I simply do: >>ppd = playerClient.requestInterfacePosition(0, 'a'); >> >>To get access to vfh which runs at index 3, however, it does not suffice to >>request the PositionInterface at index 3, but I have to do the request three >>times. The first call returns position:1 (which does not exist), the second >>returns position:2 and finally the third call returns the desired >>PositionInterface for vfh. This is independend of what indices I speficy in >>the request method. >> >>vfh = playerClient.requestInterfacePosition(3, 'a'); >>vfh = playerClient.requestInterfacePosition(3, 'a'); >>vfh = playerClient.requestInterfacePosition(3, 'a'); >> >>Is it a bug or do I do something wrong? >> >> > >Unfortunately, it is a bug. It has been on my "to fix" list for too long >now. I will do it asap. > > > >>Many thanks, >>Steffen. >> >> > >Cheers, >Radu. >-- >| Radu Bogdan Rusu | http://www.rbrusu.com >| Intelligent Autonomous Systems Group >| Technische Universitaet Muenchen > > > Yours sincerely, Radu Bogdan Rusu -- | Radu Bogdan Rusu | http://www.rbrusu.com | Intelligent Autonomous Systems Group | Technische Universitaet Muenchen |