The function calibrates the angle servo motors and saves them in the memory of Quarky. Due to some mechanical assembly errors, there may be some misalignment of the servos which can be handled with this block.
- Mars Rover - Getting Started
- Mars Rover PictoBlox Extension
- Mars Rover Block Examples
- Mars Rover Examples
- Home
- Python Functions
- setoffset()
setoffset()
Function Definition: setoffset(Head, Front Left, Front Right, Back Left, Back Right)
- Python Library: Mars Rover
- Library Import: Not Applicable
- Mode: Stage Mode, Upload Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
Head | int | The offset angle for the Head servo motor. | -90 to 90 | 0 |
Front Left | int | The offset angle for the Front Left servo motor. | -90 to 90 | 0 |
Front Right | int | The offset angle for the Front Right servo motor. | -90 to 90 | 0 |
Back Left | int | The offset angle for the Back Left servo motor. | -90 to 90 | 0 |
Back Right | int | The offset angle for the Back Right servo motor. | -90 to 90 | 0 |
Description
Example
There are no examples documented for this article.