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

Increased Wind Arrow Sizes and Corrected Wind Rotation #68

Closed kpfgallagher closed 2 years ago

kpfgallagher commented 2 years ago

Before, when creating the bounding box of the arrow graphic in any Wind.kml file, the size would be defined by the equation {size} / 80, which caused points with low magnitude wind to be almost invisible, while larger winds expanded into nearby points. Now, the bounding box will be defined by the sigmoid function defined at https://www.desmos.com/calculator/q8j19sq6ay.

Additionally, the direction of the wind at the third time step will now be able to be read correctly from the grib file.