Skip to content

Commit 3dee541

Browse files
committed
update
1 parent 5067810 commit 3dee541

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

GEMstack/onboard/planning/route_planning.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ def generate_route_free_run(current_pose, goal_position, roadgraph, roadgraph_ty
9696
waypoints = []
9797
for _ in range(try_times):
9898
waypoints = searcher.search()
99-
# print("waypoints:", waypoints)
100-
if not waypoints:
101-
raise RuntimeError('No waypoints found')
102-
else:
99+
if waypoints:
103100
break
101+
print("waypoints:", waypoints)
102+
if not waypoints:
103+
raise RuntimeError('No waypoints found')
104104
return waypoints
105105

106106

@@ -126,7 +126,7 @@ def state_outputs(self) -> List[str]:
126126
return ['route']
127127

128128
def rate(self):
129-
return 1.0
129+
return 10.0
130130

131131
def update(self, vehicle: VehicleState):
132132
self.current_pose = vehicle.pose

0 commit comments

Comments
 (0)