|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsimbad.sim.KinematicModel
simbad.sim.DifferentialKinematic
This class models the differential drive kinematic common. The two control parameters are left and right velocity.
| Constructor Summary | |
DifferentialKinematic(double wheelsDistance)
|
|
| Method Summary | |
double |
getLeftVelocity()
Gets the velocity of the left wheel in meter/s. |
double |
getRightVelocity()
Gets the velocity of the right wheel in meter/s. |
void |
setLeftVelocity(double vel)
Sets the velocity of the left wheel in meter/s. |
void |
setRightVelocity(double vel)
Sets the velocity of the right wheel in meter/s. |
void |
setWheelsVelocity(double vl,
double vr)
Sets the velocity of both wheels in meter/s. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DifferentialKinematic(double wheelsDistance)
| Method Detail |
public void setLeftVelocity(double vel)
public void setRightVelocity(double vel)
public void setWheelsVelocity(double vl,
double vr)
public double getLeftVelocity()
public double getRightVelocity()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||