Open mhoejgaard opened 7 years ago
The software is capable of performing the desired actions and have been tested partially in simulation and practice.
The current state is:
Gps receiving and comparison
Gsm module
Connection monitoring
Take required action
We still need to test:
The software is tested on the toradex without hardware connected. It still needs to be tested with gps, gsm, and sniffing.
Testing on Toradex: All modules seems to be working but very slow. Timeout increased heavily in pika blocking connections. Mode changed in dronekit seems to be delayed by 30-60 seconds.
Webinterface not tested due to persistent gsm error that could not be solved.
Webinterface tested working on Pi.
It has been decided to move the system to an RPi and use a regular 4G modem if allowed.
A 4G modem has been tested working very good with the RPi. The setup is documented in the wiki.
The dronekit part of the dronehandler has been translated to pymavlink, as dronekit kept reporting errors due to a seemingly hardcoded timeout.
The RPi has been set up with:
The OES has been configured to read port settings from a config file named *config.cfg" placed in the OES/src/ directory.
OES.py has been tested in the lab and seems to work. It still needs to be tested outside with GPS fix on both GPS-modules. Should be done as first thing Monday morning.
The DroneHandler_pymavlink has been improved to maintain a state for the completion of the mission.
The mission is divided into the following states:
The Onboard control has been modified to not perform any control in the idle and landed states.
The software has been tested on the drone and minor bugs like misspellings have been fixed. The test was successful and the drone reacted as expected.
The software should be able to perform all required functions: