I just finished a java code and now want to run it with P/S. But i have
go some confusions about it. My target is to move the a robot to a specific
point in a map.
my code is like this:
PlayerClient robot = new PlayerClient("localhost", 6665);
PositionInterface position = robot.requestInterfacePosition(0,
SimulationInterface simulation =
MapInterface map = robot.requestInterfaceMap(0, 'm');
position.setPosition(x, y, yaw);
simulation.set2DPose(NAME, start.getX(), start.getY(),
Questions are these:
1. i don't understand where the map comes from and how the PlayerClient gets
the data of map. does it come from World file? if yes, how the MapInterface
gets the data? do i need to write the code for reading the data from World
2. what is the difference between PositionInterface and
PlayerSimulationPose2D? since from the API, i think i can use
PositionInterface and PlannerInterface to move the robot to a specific
point, why PlayerSimulationPose2D?
I am a beginner to the robot simulation. So there are such naive questions.
Any one get some idea?
Use MSN Messenger to send music and pics to your friends