diff --git a/rover.fnl b/rover.fnl index c0405d7..fccc07d 100644 --- a/rover.fnl +++ b/rover.fnl @@ -13,7 +13,7 @@ (fn lateral? [direction] (. {:w true :e true} direction)) -(fn try-to-drive [{: x : y : direction : stopped} distance] +(fn try-to-drive [{: x : y : direction} distance] (let [distance (if (lateral? direction) (/ distance (math.cos (/ (* math.pi y) 180)))