AtsushiSakai / AtsushiSakai/PythonRobotics

the implement Dijkstra maybe have issue

Open
#1,318 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
30.5k
Forks
7.4k
Avg merge
1d 9h
Merged PRs (30d)
3

Description

hi, sorry i have question about in the function calc_index(self, node) in class DijkstraPlanner:
why need to minus min_x and min_y? node.y and node.x have been index format already, but self.min_y and self.min_x are meter unit, it seems invalid using node.y minus self.min_x with different units of measurement ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.