private isLaserLocked ( double threshold, double error ) : bool | ||
threshold | double | |
error | double | |
Результат | bool |
private bool isLaserLocked(double threshold, double error)
{
if (-threshold <= error && error <= threshold)
{
return true;
}
else
{
return false;
}
}