ekrell / conch

Path planning with known environmental forces using metaheuristic algorithms
GNU General Public License v3.0
3 stars 1 forks source link

Replace input currents as (mag, dir) to (u, v)? #1

Open ekrell opened 2 years ago

ekrell commented 2 years ago

Currently the input rasters are in form magnitude & direction.

Better to use u and v vector components?

ekrell commented 2 years ago

At one point the code did use u and v. In fact, the source code variable names are still currentsGrid_u and currentsGrid_v inside planners/metaplanner.py... even though it is actually performing calculations assuming they are magnitude and direction.