The function sets the servo motors of the Mars Rover to the specified angles.
- Mars Rover - Getting Started
- Mars Rover PictoBlox Extension
- Mars Rover Block Examples
- Mars Rover Examples
- Home
- Python Functions
- setwheelsangle()
setwheelsangle()
Function Definition: setwheelsangle(Front Left = 90, Front Right = 90, Back Left = 90, Back Right = 90)
- Python Library: Mars Rover
- Library Import: Not Applicable
- Mode: Stage Mode, Upload Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
Front Left | int | The angle at which the Front Left servo motor needs to rotate. | 0 to 180 | 90 |
Front Right | int | The angle at which the Front Right servo motor needs to rotate. | 0 to 180 | 90 |
Back Left | int | The angle at which the Back Left servo motor needs to rotate. | 0 to 180 | 90 |
Back Right | int | The angle at which the Back Right servo motor needs to rotate. | 0 to 180 | 90 |
Description
Example
There are no examples documented for this article.