Skip to content

Commit a3d4058

Browse files
committed
doc: comments added, debug removed
1 parent 02eb94f commit a3d4058

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/pathfinder/Dubins.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ function DubinsSolution:getLength(turnRadius)
4646
end
4747

4848
function DubinsSolution:getWaypoints(start, turnRadius)
49+
-- waypoints are 1 m apart, but make sure there are at least 12 waypoints per half circle
50+
-- even with very small radii
4951
return dubins_path_sample_many(self.pathDescriptor, math.min(1, turnRadius * math.pi / 12))
5052
end
5153

scripts/pathfinder/ReedsShepp.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ function ReedsShepp.ActionSet:getWaypoints(start, turnRadius)
177177
-- waypoints are 1 m apart, but make sure there are at least 12 waypoints per half circle
178178
-- even with very small radii
179179
local n = math.ceil(math.max(action.length * turnRadius, action.length / math.pi * 12))
180-
print(action, n)
181180
if action.steer ~= Steer.Straight then
182181
local pieceAngle = action.length / n
183182

0 commit comments

Comments
 (0)