State all turn penalties in seconds
This commit is contained in:
committed by
Moritz Kobitzsch
parent
cb57ccacef
commit
6ff07f4e82
@@ -4,5 +4,6 @@
|
||||
require 'testbot'
|
||||
|
||||
function turn_function (angle)
|
||||
return 200*math.abs(angle)/180 -- penalty
|
||||
-- multiplying by 10 converts to deci-seconds see issue #1318
|
||||
return 10*20*math.abs(angle)/180
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user