Spaces:
Sleeping
Sleeping
| from idreamers.api.calculation.schemas import PilotResponse | |
| def calculate_pilot_axes(q1: int, q2: int, q3: int, q4: int) -> PilotResponse: | |
| return PilotResponse( | |
| x=round((q1 + q2) / 2, 2), | |
| y=round((q3 + q4) / 2, 2), | |
| ) | |