I wish to know how the states provided to A* are correctly positioned on the occupancy grid created in the lines below. I am repeatedly encountering the assertion assert not occupied[start], although the start state is in the free region. I believe there is some offset that is not accounted for when converting real-world coordinates to grid-index coordinates.
Hello,
I wish to know how the states provided to A* are correctly positioned on the occupancy grid created in the lines below. I am repeatedly encountering the assertion
assert not occupied[start]
, although the start state is in the free region. I believe there is some offset that is not accounted for when converting real-world coordinates to grid-index coordinates.https://github.com/mikh3x4/nerf-navigation/blob/4c54520243cb794e18107c0e8914c14defe467ec/nav/quad_plot.py#L95-L126