Closed patchedByBatman closed 1 year ago
The code has been tested.
@gunturiCM I added a few comments mainly just to tidy up code but it worked well when testing :+1:
Has this been tested on the quadcopter?
Yes
Made the changes suggested above. Please have a look.
Chandra, I made some changes and simplified the API. Now
FailSafes
is independent ofMotorDriver
(see SOLID principles).I tested using the serial: indeed, if we don't send data for a few ms, it disarms, but we should test on the quadcopter once again.
Yes, professor. I will test it tomorrow and update it here accordingly.
Main Changes
This is an attempt to address issue 29. The issue is to add a fail-safe that shuts down the drone when the radio connection has been lost for a preset amount of period, which is 500ms.
Associated Issues