update LandscapeDirector to be able to build from config.

This commit is contained in:
Pim Nelissen
2026-02-20 11:45:21 +01:00
parent 5fc806bd39
commit 8f652875dc
2 changed files with 48 additions and 9 deletions

View File

@ -91,11 +91,11 @@ class LandscapeBuilder:
ds=speed*acquisition_time,
velocity=speed
)
x, y = sg.generate(
segments=segments
)
self._path = Path(list(zip(x, y)))
self._fit_landscape_to_path()
return self
@ -114,7 +114,7 @@ class LandscapeBuilder:
north_col=north_col_name,
z=z
)
self._fit_landscape_to_path()
return self