I’m in a group that’s building a drone for a school project that will be performing certain tasks autonomously. We’re using a camera that tracks a coloured object and sends an x and y coordinate back to our ground control station where we plan on using these coordinates to update the autonomous flight control code (ArduCopter) in order to move towards this object. We have a few different ideas on how to do this. One of the ideas is to treat these new coordinates as way points and continuously feed the drone new way point coordinates in order to move towards the object in question. Right now we are going through the ArduCopter code and mapping out how it all works…hours upon hours and days upon days have been devoted to this haha. We’re slowly getting a better idea of how it work. Does anyone have any information for us about which files we might have to modify(within the ArduCopter code) in order to input these new coordinates from our camera and guide the drone towards a new way point? Right now navigation.cpp seems to have a lot of the information we might be interested in.
Any help would be appreciated?