The function makes the servo motors connected to the wheels orient inwards. This orientation is used for making the robot turn right and left efficiently.
The inward angle of 20 degrees:
The inward angle of 40 degrees:
Function Definition: setinangle(Angle = 40)
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
Angle | int | The angle by which the servo should rotate inwards. | -90 to 90 | 40 |
The function makes the servo motors connected to the wheels orient inwards. This orientation is used for making the robot turn right and left efficiently.
The inward angle of 20 degrees:
The inward angle of 40 degrees:
Copyright 2024 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy