So, we have worked on this project on the last 35 hours, and we managed to set up the ultrasonic and the camera modules. We have built the modules in Python, using OpenCV for the camera, to check for a green light, and issue commands to the motors, and a basic script for ultrasonic sensor, to check for the distance, so our drone wouldn’t collide with the environment. Our main controller for the drone was not developed, since we didn’t manage to get the drone motors working. We have developed a couple of hours for another platform, the DJI SDK, as we have misread the requirements.
Our camera module detects green color, and outputs We managed to finish a working Python wrapper for the DJI Guidance SDK, which we are quite proud about, as it was left in an unfinished state on GitHub. We figured out we were not on the right track, so we switched quickly to implementing a CC3D, testing and working with various libraries we have found on the internet.
First, we tried to connect to the drone controller using the serial USB connection, but we did not succeed. Then, we connected the input pins to GPIO and sent a PWM signal, but unfortunately, the motors did not respond to it. We have managed to reconfigure and calibrate the drone with the LibrePilot Windows application, and that was the furthest we reached.
As it was our first hack using any kind of hardware, I believe we learned a lot in this challenge, and we are very happy to know that we did manage, even a little bit.
Reference libraries: https://github.com/e-nouri/pyDrone https://github.com/bingobob/drone https://github.com/dridri/bcflight
https://github.com/drmaj/dji-sdk-python https://github.com/dji-sdk/Onboard-SDK/
Log in or sign up for Devpost to join the conversation.