refactoren einfügen von scanner und separtor zu Omniflogerade
This commit is contained in:
@@ -307,8 +307,12 @@ class VarioFoerderer(BaseModel):
|
||||
|
||||
return winkel_VP_offset_vorne,winkel_VP_offset_hinten
|
||||
|
||||
def horizontale_ausrichtung(x, y, voerder_richtung, rotation, x0_kreisel, y0_kreisel):
|
||||
def horizontale_ausrichtung(foerderer, x0_kreisel, y0_kreisel):
|
||||
"""Schaut was für eine Ausrichtung der Horizontale Förder hat"""
|
||||
voerder_richtung = foerderer.foerderer_richtung
|
||||
rotation = foerderer.drehung
|
||||
x = foerderer.x
|
||||
y = foerderer.y
|
||||
# mit_horizontal_verbunden None als String für einen späteren vergleich
|
||||
mit_horizontal_verbunden = "None"
|
||||
if voerder_richtung == "Horizontal":
|
||||
|
||||
Reference in New Issue
Block a user