From: kevinl <liu...@gm...> - 2009-04-30 06:24:10
|
Hi everyone, I have a problem in using the HeadingControl, these are part of my code. static HeadingControl p2hc=null; robot = new PlayerClient ("localhost", 6665); posi = robot.requestInterfacePosition2D (0, PlayerConstants.PLAYER_OPEN_MODE); //position2d interface p2hc = new HeadingControl(posi); //HeadingControl p2hc.setDiffHeading(90); After call the "p2hc.setDiffHeading(90);", the robot in stage will continue change its heading randomly. I am working on the player2.05, stage2.04 and Javaclient2.0. I use the robot simulated in stage2.04. Could you give me some advice on this problem? Thanks a lot, kevin -- View this message in context: http://www.nabble.com/Problems-with-HeadingControl-tp23310594p23310594.html Sent from the java-player-users mailing list archive at Nabble.com. |