Package cmion.addOns.samgar.playerProxy
Class PlayerPosition2d
- java.lang.Object
-
- cmion.addOns.samgar.playerProxy.PlayerPosition2d
-
public class PlayerPosition2d extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlayerPosition2d.CMDstatic classPlayerPosition2d.DATA
-
Field Summary
Fields Modifier and Type Field Description doubleangCoordinategoaldoublelengthCoordinateposebooleanstalldoubletransbooleanupdateddoublewidth
-
Constructor Summary
Constructors Constructor Description PlayerPosition2d()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenable(yarp.Bottle b)voidsetGoal(yarp.Bottle b, Coordinate coord)voidsetMotor(yarp.Bottle b, boolean motorEnable)voidsetOdom(yarp.Bottle b, Coordinate coord)voidsetReq(yarp.Bottle b, boolean speed, boolean pose, boolean size, boolean stall)voidsetSpeed(yarp.Bottle b, double translational, double anglular)voidupdate(yarp.Bottle b)
-
-
-
Field Detail
-
goal
public Coordinate goal
-
pose
public Coordinate pose
-
trans
public double trans
-
ang
public double ang
-
width
public double width
-
length
public double length
-
stall
public boolean stall
-
updated
public boolean updated
-
-
Method Detail
-
enable
public void enable(yarp.Bottle b)
-
setSpeed
public void setSpeed(yarp.Bottle b, double translational, double anglular)
-
setGoal
public void setGoal(yarp.Bottle b, Coordinate coord)
-
setOdom
public void setOdom(yarp.Bottle b, Coordinate coord)
-
setMotor
public void setMotor(yarp.Bottle b, boolean motorEnable)
-
setReq
public void setReq(yarp.Bottle b, boolean speed, boolean pose, boolean size, boolean stall)
-
update
public void update(yarp.Bottle b)
-
-