factory wagon
- Description:
Specifies the wagon command high-level functions.
- These functions are accessible via the
tabletop::
prefix.
- These functions are accessible via the
Methods
(static) wagonShift(distance)
- Description:
Moves the wagon a given distance in camera pixel.
Parameters:
Name | Type | Description |
---|---|---|
distance |
int | The displacement distance in pixel. |
(static) wagonRoom(distance, loopopt) → {bool}
- Description:
Moves the wagon to ta given tabletob room location.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
distance |
uint | The room index 1,2,3,4. |
||
loop |
uint |
<optional> |
1
|
The maximal number of iteration. |
Returns:
True if the mechanism succeed, false if it failed.
- Type
- bool