|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tests.TestApp.Ball
public static class TestApp.Ball
Constructor Summary | |
---|---|
TestApp.Ball()
Creates a new instance of Ball |
Method Summary | |
---|---|
double |
getOldX()
|
double |
getV()
Returns the ball velocity |
double |
getX()
Returns the current position |
void |
setV(double v)
Set the ball velocity. |
void |
setX(double x2)
Sets the current position |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestApp.Ball()
Method Detail |
---|
public double getV()
public void setV(double v)
v
- The new value for velocitypublic double getX()
public void setX(double x2)
x
- The desired new position in units of LEDspublic double getOldX()
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |