UBCSailbot / raye-global-pathfinding

UBC Sailbot's Global Pathfinding Repository: A* pathfinding that creates sailing paths with minimized length and desirable wind speeds throughout.
MIT License
5 stars 1 forks source link

Update cost function to have higher cost for 0 and lower cost for ~20 #52

Open tylerlum opened 2 years ago

tylerlum commented 2 years ago

image ^ avoids low wind scenario beautifully

image ^ (not shown in picture) goes through low wind scenario. Likely costing too much in the red/orange wind on the left, which was only 16-21. I believe this is more acceptable than going through 0, so we should update this.