Skip to content

Commit 7461c00

Browse files
author
Takumi Ito
committed
trivial modification
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
1 parent 36b736a commit 7461c00

File tree

1 file changed

+3
-3
lines changed
  • planning/freespace_planning_algorithms/freespace_planning_algorithms

1 file changed

+3
-3
lines changed

planning/freespace_planning_algorithms/freespace_planning_algorithms/astar_search.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ def makePlan(self, start_pose: Pose, goal_pose: Pose):
3838
return self.astar_search.makePlan(start_pose_byte, goal_pose_byte)
3939

4040
def getWaypoints(self):
41-
waypoints_vetor = self.astar_search.getWaypoints()
41+
waypoints_vector = self.astar_search.getWaypoints()
4242
waypoints = PlannerWaypoints()
4343

44-
waypoints.length = waypoints_vetor.length
45-
for waypoint in waypoints_vetor.waypoints:
44+
waypoints.length = waypoints_vector.length
45+
for waypoint in waypoints_vector.waypoints:
4646
pos = Point(x=waypoint[0], y=waypoint[1], z=waypoint[2])
4747
quat = Quaternion(x=waypoint[3], y=waypoint[4], z=waypoint[5], w=waypoint[6])
4848
waypoints.waypoints.append(Pose(position=pos, orientation=quat))

0 commit comments

Comments
 (0)