public class Pose { public double x, y, z; public Pose(double x, double y, double alpha) { this.x = x; this.y = y; this.z = alpha; // em radianos } public Pose() { this.x = (int )(Math.random() * 100 - 50); this.y = (int )(Math.random() * 100 - 50); this.z = (int )(Math.random() * Math.PI * 2.0); } }