Skip to content

Commit

Permalink
Merge pull request #19 from Scheggetta/master
Browse files Browse the repository at this point in the history
Fix IndexError problem of birrtPlanner.py
  • Loading branch information
soraxas authored May 10, 2023
2 parents 3df0687 + f931a61 commit 64f360f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbp_env/planners/birrtPlanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def run_once(self):
other_poses = self.poses
other_nodes = self.nodes
distances = np.linalg.norm(
other_poses[: len(self.nodes)] - newpos, axis=1
other_poses[: len(other_nodes)] - newpos, axis=1
)
if min(distances) < self.args.epsilon:
idx = np.argmin(distances)
Expand Down

0 comments on commit 64f360f

Please sign in to comment.