public class PlayerPosition2d
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PlayerPosition2d.CMD |
|
static class |
PlayerPosition2d.DATA |
| Modifier and Type | Field | Description |
|---|---|---|
double |
ang |
|
Coordinate |
goal |
|
double |
length |
|
Coordinate |
pose |
|
boolean |
stall |
|
double |
trans |
|
boolean |
updated |
|
double |
width |
| Constructor | Description |
|---|---|
PlayerPosition2d() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
enable(yarp.Bottle b) |
|
void |
setGoal(yarp.Bottle b,
Coordinate coord) |
|
void |
setMotor(yarp.Bottle b,
boolean motorEnable) |
|
void |
setOdom(yarp.Bottle b,
Coordinate coord) |
|
void |
setReq(yarp.Bottle b,
boolean speed,
boolean pose,
boolean size,
boolean stall) |
|
void |
setSpeed(yarp.Bottle b,
double translational,
double anglular) |
|
void |
update(yarp.Bottle b) |
public Coordinate goal
public Coordinate pose
public double trans
public double ang
public double width
public double length
public boolean stall
public boolean updated
public void enable(yarp.Bottle b)
public void setSpeed(yarp.Bottle b,
double translational,
double anglular)
public void setGoal(yarp.Bottle b,
Coordinate coord)
public void setOdom(yarp.Bottle b,
Coordinate coord)
public void setMotor(yarp.Bottle b,
boolean motorEnable)
public void setReq(yarp.Bottle b,
boolean speed,
boolean pose,
boolean size,
boolean stall)
public void update(yarp.Bottle b)