m4xw / rosettadrone_mini2

The Rosetta Drone 2 Project. Enable Mavlink and H.264 on DJI drones. Supports Mini 2 with Virt Stick Litchi CSV and DJI Waypoint class interpreters
BSD 3-Clause "New" or "Revised" License
28 stars 7 forks source link

Survey mission planning and flying without internet #17

Open patogit opened 2 years ago

patogit commented 2 years ago

I want to use QGC to plan a survey mission and then fly that mission with the Mini 2 without connecting to the internet. This means that solutions such as "convert to Litchi CVS via flyhub" are not practical (as mentioned in https://github.com/m4xw/rosettadrone_mini2/issues/6). I have read https://github.com/m4xw/rosettadrone_mini2/issues/15 and I don't understand that thread, but doesn't have the solution I'm looking for.

I imagine there might be a solution that requires running a conversion script on my Linux laptop, or running something with DroneKit while flying. I want to use QGC because it allows me to:

Based on that input, QGC does the work of generating a flight path and triggering photos.

Specifying the gimbal angle would be really nice, but I don't know if it's possible. That would allow flying multiple times over the survey area with different gimbal angles in order to generate better point clouds.

Another bonus (maybe this belongs in QGC repo) would be adding terrain models to the input, so that the flight path maintains a constant altitude AGL, instead of above sea level.

All of that means I can plan the survey, fly it, and get good photos to process with WebODM. If there is another way to do this, maybe with QGIS, DroneKit, and/or something else, I'm open to that. My end goal is an orthophoto, DEM, and point cloud with textured surface, and I'm tired of flying surveys manually and then finding a gap in the coverage.

patogit commented 2 years ago

@m4xw if you have ideas about how to make this happen, I can try to implement.

m4xw commented 2 years ago

Sorry for late response, this can only be done with QGC rn and yea theres lots of other things to be had. For QGC tho you would need to use corridors rn and specify each WP manually, rosetta is supposed to generate the wp's itself between A and B given distance between points etc and I stubbed that logic

m4xw commented 2 years ago

I will improve this when i eventually get back at it. had literally zero time and wasnt able to fly either so motiviation is low for projects i dont actively use