Description Usage Arguments Value Methods (by class) Examples
Gets the position of a given servo instance.
1 2 3 4 | get_position(x)
## S4 method for signature 'Servo'
get_position(x)
|
x |
A Servo instance. |
A numeric of length one with the actual position of the servo.
Servo
:
1 2 3 4 5 6 7 | ## Not run:
# Get a servo instance with initial position 0.9
servo <- get_servo(14, 0.9)
# Read the position of the servo (should be 0.9).
get_position(servo)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.