RMUASD-Team2-2017 / UASD

Repository for the UASD course at SDU.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Finish MVP version of OES software #48

Open mhoejgaard opened 6 years ago

mhoejgaard commented 6 years ago

The software should be able to perform all required functions:

mhoejgaard commented 6 years ago

The software is capable of performing the desired actions and have been tested partially in simulation and practice.

The current state is:

We still need to test:

mhoejgaard commented 6 years ago

The software is tested on the toradex without hardware connected. It still needs to be tested with gps, gsm, and sniffing.

mhoejgaard commented 6 years ago

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.

mhoejgaard commented 6 years ago

Webinterface not tested due to persistent gsm error that could not be solved.

mhoejgaard commented 6 years ago

Webinterface tested working on Pi.

mhoejgaard commented 6 years ago

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.

mhoejgaard commented 6 years ago

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.

mhoejgaard commented 6 years ago

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.

mhoejgaard commented 6 years ago

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.