| Package | org.MARS.robot.control |
| Class | public class Battery |
| Inheritance | Battery AbstractElectronicDevice |
| Implements | IController |
IO Port configuration:
0 through 3 - outputs (must be connected directly to the locomotion)
See also
| Method | Defined by | ||
|---|---|---|---|
|
Battery()
Constructor
| Battery | ||
![]() |
Get a certain IO port by its number
| AbstractElectronicDevice | |
|
leftWheelForward():void
| Battery | ||
|
leftWheelReverse():void
| Battery | ||
|
leftWheelStop():void
| Battery | ||
|
rightWheelForward():void
| Battery | ||
|
rightWheelReverse():void
| Battery | ||
|
rightWheelStop():void
| Battery | ||
|
step():void
A function that is called on every step of the physics engine.
| Battery | ||
| Battery | () | constructor |
public function Battery()Constructor
| leftWheelForward | () | method |
public function leftWheelForward():void
| leftWheelReverse | () | method |
public function leftWheelReverse():void
| leftWheelStop | () | method |
public function leftWheelStop():void
| rightWheelForward | () | method |
public function rightWheelForward():void
| rightWheelReverse | () | method |
public function rightWheelReverse():void
| rightWheelStop | () | method |
public function rightWheelStop():void
| step | () | method |
public function step():voidA function that is called on every step of the physics engine. Battery has no logic.