2013-02-23 02:33:33 -05:00
|
|
|
-- Testbot, with turn penalty
|
|
|
|
-- Used for testing turn penalties
|
|
|
|
|
2017-05-18 08:27:28 -04:00
|
|
|
functions = require 'testbot'
|
2013-02-23 02:33:33 -05:00
|
|
|
|
2017-05-18 08:27:28 -04:00
|
|
|
functions.process_turn = function(profile, turn)
|
|
|
|
turn.duration = 20 * math.abs(turn.angle) / 180
|
2013-02-23 02:33:33 -05:00
|
|
|
end
|
2017-05-18 08:27:28 -04:00
|
|
|
|
|
|
|
return functions
|