From: Kenneth M. <km...@at...> - 2005-07-12 13:46:55
|
I'm using Javaclient 1.6.4 (Player 1.6.4, simulating bot in stage) and having some problems getting either odometry data or the simulation 2d = pose back.=20 =20 When trying to get odom data (readData then getX, getY on the position interface) I keep getting garbage values (values jump all over the = place) without even moving my 'bot from its start position.=20 =20 When I try to use the simulation interface to get back a 2dPose and look = at the 'bot's co-ords that way, it just sits there waiting for a response = (did a get2DPose, kept waiting on isPose2DReady).=20 =20 At one point, I managed to get the simulation interface to connect to = stage (somehow; still not sure how) and got an error like "warning: No = permissions to configure device lf:0"....? I read somewhere in the P/S mailing = list that that error could be due to an old version of Player or Stage, but = I'm using the latest release... =20 Could someone please post a clear, working code example of how to do = either or both of these things (retrieve odometry data and retrive a simulation = 2d pose)?=20 =20 Thank you |