Table of Contents

setPIDspeedparameter()

Function Definition: setPIDspeedparameter(base = 40, min, max = 80)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
baseintBase Speed - the speed during line following. 0 to 10040
minintMin Speed - the minimum motor speed when the robot is turning.0 to 1000
maxintMax Speed is the maximum motor speed when the robot turns and the black line is detected.0 to 10080

Description

This function is used for set the Base Speed, Min Speed and Max Speed of motors for line following and turn.

Base Speed – the speed during line following.

Min Speed – The minimum motor speed when the robot is turning.

Max Speed- The maximum motor speed when the robot turns and the black line is detected.

setPIDspeedparameter(40,0,80)

Example

There are no examples documented for this article.