NREL / MoorPy

BSD 3-Clause "New" or "Revised" License
31 stars 16 forks source link

Subsystem set depth to a negative z value #34

Open Yuksel-Rudy opened 1 month ago

Yuksel-Rudy commented 1 month ago

In setEndPosition method in Subsystem, when sink is True, and when calling getDepthFromBathymetry, the outputed z is positive (when seabedMod==0 and I'm assuming the same is true for other modes. The bathymetry files I've seen have positive depth values) Therefore, it must be multiplied by a negative sign

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR