-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
-
I'm learning pathplanning , I have a question about calculating grid index. Will there be two points that calculate the same index?
def calc_grid_index(self, node): return (node.y - self.min_y) * self.x_width + (node.x - self.min_x)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment