Tuesday, March 24, 2009

Execute samples for robot and laser sensor in Player and Stage - Notes fo task

In this task will be required to execute a sample control program for the Pioneer robot and Sick sensor.
The sample program can be executed by running an already done CFG file: “$PLAYER_PATH/config/pioneer.cfg”.

It is also required to set the correct path value for the SERIAL connector for the robot and sick sensor. The connection path is normally known as “tty0” or “tty1”. The Player can be executed in a terminal by the command:
“$ player $STAGE_PATH/worlds/pioneer.cfg”

After executing the Player framework with the correct configuration file, the robot and sensor can be accessed by the “playerv” utility, contained in Player installation path: “$PLAYER_PATH/utils”. The application can be executed by setting the HOST of where is executed the player service. In this case the Player service will be executed in the same computer in which the Player service has been initialized. So, the command has to be execute in terminal is:
“$ playerv –h localhost” or
“$ playerv –h 127.0.0.1”

The player user interface is described in:
http://playerstage.sourceforge.net/doc/Player-2.1.0/player/group__util__playerv.html

No comments:

Post a Comment