mirror of
https://github.com/kepler155c/opus
synced 2025-10-21 18:57:41 +00:00
turtle follow
This commit is contained in:
@@ -1239,8 +1239,8 @@ function turtle.inspectForwardAt(pt) return _actionForwardAt(actionsAt.inspe
|
||||
function turtle.inspectUpAt(pt) return _actionUpAt(actionsAt.inspect, pt) end
|
||||
|
||||
-- [[ GPS ]] --
|
||||
function turtle.enableGPS(timeout)
|
||||
local pt = GPS.getPointAndHeading(timeout)
|
||||
function turtle.enableGPS(timeout, destructive)
|
||||
local pt = GPS.getPointAndHeading(timeout, destructive)
|
||||
if pt then
|
||||
turtle.setPoint(pt, true)
|
||||
return turtle.point
|
||||
|
||||
Reference in New Issue
Block a user