Package cmion.addOns.samgar.playerProxy
Class PlayerLaser
- java.lang.Object
-
- cmion.addOns.samgar.playerProxy.PlayerLaser
-
public class PlayerLaser extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlayerLaser.CMDstatic classPlayerLaser.DATA
-
Field Summary
Fields Modifier and Type Field Description doublelengthdoublemax_angledoublemin_anglejava.util.ArrayList<Point>pointsintpointsCountjava.util.ArrayList<PolarPoint>polarpointsintpolarpointsCountCoordinateposedoublerange_resCoordinaterobot_posedoublescan_resbooleanupdateddoublewidth
-
Constructor Summary
Constructors Constructor Description PlayerLaser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenable(yarp.Bottle b)voidsetConfig(yarp.Bottle b, double min_angle, double max_angle, double scan_res, double range_res)voidsetReq(yarp.Bottle b, boolean config, boolean size, boolean pose, boolean robot_pose, boolean points, boolean ranges)voidupdate(yarp.Bottle b)
-
-
-
Field Detail
-
min_angle
public double min_angle
-
max_angle
public double max_angle
-
scan_res
public double scan_res
-
range_res
public double range_res
-
width
public double width
-
length
public double length
-
pose
public Coordinate pose
-
robot_pose
public Coordinate robot_pose
-
points
public java.util.ArrayList<Point> points
-
pointsCount
public int pointsCount
-
polarpoints
public java.util.ArrayList<PolarPoint> polarpoints
-
polarpointsCount
public int polarpointsCount
-
updated
public boolean updated
-
-
Method Detail
-
enable
public void enable(yarp.Bottle b)
-
setConfig
public void setConfig(yarp.Bottle b, double min_angle, double max_angle, double scan_res, double range_res)
-
setReq
public void setReq(yarp.Bottle b, boolean config, boolean size, boolean pose, boolean robot_pose, boolean points, boolean ranges)
-
update
public void update(yarp.Bottle b)
-
-