|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jbotrace.base.DriverCommand
Description: DriverCommand holds the commands a driver can give in one timestep.
Constructor Summary | |
DriverCommand()
Creates a new "empty" DriverCommand |
Method Summary | |
double |
getBrake()
Returns the current acceleration in this command |
double |
getSteeringAngle()
Returns the current wanted steering angle. |
double |
getThrottle()
Returns the current acceleration in this command |
void |
setBrake(double brake)
Sets the brake |
void |
setSteeringAngle(double steeringAngle)
Sets the wanted(!) |
void |
setThrottle(double throttle)
Sets the throttle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DriverCommand()
Method Detail |
public double getBrake()
public double getSteeringAngle()
public double getThrottle()
public void setBrake(double brake)
public void setSteeringAngle(double steeringAngle)
public void setThrottle(double throttle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |