DynamixelDriver
Communicates with dynamixel servos (AX12 & RX24).
NOTE: This class doesn't send start bytes & checksum, please make custom communicator
(@dependecies.communicator
) if you want these features.
Method Summary
Public Methods | ||
public |
Set servo to required position and get promise when position is reached |
Public Methods
public go(position: Number, config: Object): * source
Set servo to required position and get promise when position is reached
Params:
Name | Type | Attribute | Description |
position | Number | Required position in degrees |
|
config | Object |
|
Configuration options. |
config.pollingPeriod | Number |
|
Polling period for servo's present position in ms |
config.tolerance | Number |
|
Tolerated error in degrees |
config.timeout | Number |
|
Maximal time servo to reach a position in ms |
config.firmwareImplementation | Boolean |
|
Should it use firmware (true) or software (false) implementation. Firmware implementation is faster, however in that case we have to have a dedicated hardware (our actuator board supports it). |
Return:
* |