Latest versions

Javaclient - SVN
Player - CVS/SVN
Java (JDK) - 6.29
Eclipse - 3.7.1

Examples :: 3.x

All the examples were tested using Player 3.1.0, Stage 4.0, and Javaclient 3.0 (Try with latest javaclient version! - svn co https://java-player.svn.sourceforge.net/svnroot/java-player/javaclient3 javaclient3).

  • Basic tests for several interfaces example.
    A basic Javaclient3 test showing how to read data, send commands and interpret replies from the Player 3.x server. Download from /examples/3.x/Javaclient3Test.java

  • Space Wanderer example.

    The example shows a basic Space Wanderer algorithm for a Pioneer-like mobile robot with 16 sonars. The Stage world and the Player configuration files are also available in the archive. Download from /examples/3.x/SpaceWandererExample.tgz

  • Wall Follower example.

    The example shows a very simple implementation of a Wall Follower behavior, by using only the information from the left and front SONAR sensors. The Stage world and the Player configuration files are also available in the archive. Download from /examples/3.x/WallFollowerExample.tgz

  • Blobfinder example.

    A basic example on how to use the Blobfinder interface together with Stage, for a Pioneer-like mobile robot. The robot navigates around using the basic SpaceWanderer algorithm presented above. The Stage world and the Player configuration files are also available in the archive. Download from /examples/3.x/BlobfinderExample.tgz

  • Navigator example.

    The example allows experiencing with some Player’s navigation capabilities for a Pioneer-like mobile robot equipped with a Sick laser. It uses the wavefront planner and the amcl localizer Player drivers, and tests map, localize and planner interfaces. It can also be used as a java equivalent of the playernav utility, as it has the same functionality:

    - To specify a new goal to the planner, press the secondary mouse button in the desired location and drag the pointer to signal the desired heading.
    - To specify a new pose to the localize interface, do the same with the central mouse button.
    - Press h to see on-screen help.

    WARNING: If you experience poor performance or crashes on GUI redrawing, try hiding localize particles and/or localize hypothesis, or remove the alpha component of the color constants defined at the beginning of the code.

    The Stage world and the Player configuration files are also available in the archive. Launch two Player instances, the first one with the stage.cfg file and the second with other.cfg configuration file.
    Download from /examples/3.x/NavigatorExample.tgz

SourceForge.net Logo PlayerStage Logo Eclipse Logo Java Logo