21 lines
257 B
Plaintext
21 lines
257 B
Plaintext
:dsa=(:sa1+:sa2+:sa3+:sa4+:sa5)/10 goto1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// dsa = Distance smart average
|
|
// sa(#) = The clamped and combined values of the range finders
|
|
// essentially making DSA an average of the range finders, removing
|
|
// outliers to prevent ore catchup.
|