factory rpi
- Description:
Specifies the low-level functions for RPi servomotor control.
- These functions are accessible via the
tabletop::
prefix.
- These functions are accessible via the
Methods
(static) rpiAngularCommand(channel, value)
- Description:
Sends a command to a the RPi local card servo mechanism.
- Interfaces with the RPi adafruit servo kit for the hat card, see installation.
Parameters:
Name | Type | Description |
---|---|---|
channel |
unint | The servo channel, 0 or 15 for the present hardware. |
value |
unint | The servo angle in degree, 0 to 180. |
(static) rpiContinuousCommand(channel, value)
- Description:
Sends a command to a the RPi local card servo mechanism.
- Interfaces with the RPi adafruit servo kit for the hat card, see installation.
Parameters:
Name | Type | Description |
---|---|---|
channel |
unint | The servo channel, 0 or 15 for the present hardware. |
value |
double | The continuous servo velocity from -1 to 1. |