Describe the bug
I's possible that the sqrt() method gets negative input which is not allowed here:
File "/home/marcel/PycharmProjects/DroneController/drone_controller/input_layer/request_handler.py", line 80, in keyboard_input
expected_state = state_mapper.keyboard(previous_future_state, user_input)
File "/home/marcel/PycharmProjects/DroneController/drone_controller/input_layer/drone_state_mapper.py", line 32, in keyboard
'Acceleration'], rotation_normalized)
File "/home/marcel/PycharmProjects/DroneController/drone_controller/input_layer/drone_state_mapper.py", line 67, in acceleration
math.pow(acceleration[1], 2)))
ValueError: math domain error
Describe the bug I's possible that the
sqrt()
method gets negative input which is not allowed here: