//****************************************************************************//
//-- Packages ----------------------------------------------------------------//
//----------------------------------------------------------------------------//
package eu.visualize.ini.retinamodel;
import net.sf.jaer.Description;
//-- end packages ------------------------------------------------------------//
//****************************************************************************//

//****************************************************************************//
//-- Description -------------------------------------------------------------//
//----------------------------------------------------------------------------//
// Java Ros Node, sending to master node
// @author diederik
//-- end description ---------------------------------------------------------//
//****************************************************************************//
@Description("RosJava node sending commands to Ros master")

public class RosNodePublisher {
    int xCoordinate;
    int yCoordinate;
    float zCoordinate;
//----------------------------------------------------------------------------//
//-- X coordinate set --------------------------------------------------------//
//----------------------------------------------------------------------------// 
    public void setXcoordinate(int xCoord) {//receive the x pixel coordinate of center of mass
        this.xCoordinate = xCoord;
        System.out.println(xCoordinate);
    }
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
    
//----------------------------------------------------------------------------//
//-- X coordinate get --------------------------------------------------------//
//----------------------------------------------------------------------------// 
    public int getXcoordinate() {//get the x pixel coordinate of center of mass
        return xCoordinate;
    }
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
    
//----------------------------------------------------------------------------//
//-- Y coordinate set --------------------------------------------------------//
//----------------------------------------------------------------------------// 
    public void setYcoordinate(int yCoord) {//receive the y pixel coordinate of center of mass
        this.yCoordinate = yCoord;
        System.out.println(yCoordinate);
    }
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
    
//----------------------------------------------------------------------------//
//-- Y coordinate set --------------------------------------------------------//
//----------------------------------------------------------------------------// 
    public int getYcoordinate() {//get the y pixel coordinate of center of mass
        return yCoordinate;
    }
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
    
//----------------------------------------------------------------------------//
//-- Z coordinate (distance) set ---------------------------------------------//
//----------------------------------------------------------------------------// 
    public void setZcoordinate(float zCoord) {//receive the estimated distance of object
        this.zCoordinate = zCoord;
        System.out.println(zCoordinate);
    }
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
    
//----------------------------------------------------------------------------//
//-- Z coordinate (distance) get ---------------------------------------------//
//----------------------------------------------------------------------------// 
    public float getZcoordinate() {//get the estimated distance of object
        return zCoordinate;
    }
//----------------------------------------------------------------------------//
//----------------------------------------------------------------------------//
}

@@ -482,477 +482,205 @@
 %0A%0D%0A/
-/****************************************************************************//%0D%0A//-- Description -------------------------------------------------------------//%0D%0A//----------------------------------------------------------------------------//%0D%0A// Java Ros N
+**%0D%0A * RosJava n
 ode
-,
  s
-ending to master node%0D%0A// @author diederik%0D%0A//-- end description ---------------------------------------------------------//%0D%0A//****************************************************************************/
+upplying data to ROS master.%0D%0A * This publisher supplies the X,Y,Z locations of the target (prey) but has no option for %22prey not visible%22.%0D%0A * %0D%0A * %0D%0A * %0D%0A @author diederik%0D%0A*
 /%0D%0A@
@@ -710,30 +710,28 @@
 de s
-ending commands
+upplying data
  to R
-os
+OS
  mas
@@ -737,18 +737,16 @@
 ster%22)%0D%0A
-%0D%0A
 public c

fix javadoc