-
-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mission Planning #6
Comments
I know in terms of the phantom 3 the only real hazards it knows are no fly zones around airports. Would this focus on autopilot or more of a you have images of this much of the mission area? |
It would focus on autopilot (you choose an area to map, the drone takes off and collects the images). I don't think it will support hazard detection (at least initially). |
I think a good way to handle hazards is to be able to create a geofence, i.e. let the user decide. Most mission planners I've used just do a big circle, but I think it would be more useful to be able to import or draw multi-polygon shapes. |
@pierotofy That would be hugely helpful if it worked with phantom 3's as its more by trial and error at the moment. Ie We fly as close to a grid pattern as possible with an hour drive to get there and another back; and then have to spend a few hours processing before we realise the mistake. From memory pix4d generated a report prior to the main stage of processing showing a measure of overlap of the AOI which was rather useful in that regard. How are you planning to get it to talk to the quad copter? android app I assume? @dakotabenjamin Even just a multi sided polygon would work well from my experience as I could just fence in the area I wanted mapped with everything outside regarded as a no fly zone. |
DJI has an SDK which works for both iOS and Android. Would probably target Android first, but there are several options. |
Ah ok. We use an android tablet for the signal on ours. |
There is an iOS codebase we might be able to start from (I'm trying to coordinate it's FOSS release) but not sure about Android. Is there a timeframe you have in mind here, @pierotofy? |
@jjmata I would guess probably mid 2017. It might happen sooner if we find more contributors though. |
I read in one of the pages in OpenDroneMap that somebody is asking for web based mission planner. Here's a web based mission planner based on Ardupilot. Skysense Planner Video - Open-source Web Mission Planner for MAVLink Drones http://www.skysense.co/planner-launch Skysense Planner’s technology stack is based on Open-Source projects:
|
Cool! What's with the "request early access" sign-up page on their site? Is there a place to download the code? |
To follow up on my comment about an iOS codebase that could be considered as a starting point for that platform, here is the app currently on the App Store I was referring to above. The team is moving on and interested in having somebody take over development. It lacks the "lawn mower pattern" workflow and implements the more intricate waypoint + camera pitch one, so upgrading the DJI SDK (at 2.4 a little long in the tooth) and implementing "lawn mower" would be the first priority, IMHO. |
FWIW, it's one of the apps still listed on DJI's developer showcase website - bottom right as of this writing next to Skycatch and PrecisionHawk offerings. |
It would be really cool if they decided to release the source! It could be used as a good starting point. |
I'm 100% sure that is their intention, and 99% sure that it will happen "soon" (within weeks, not months). I have access to the codebase and have hacked in it myself, so I'm familiar with some of the shortcomings. Happy to help speed things along ... Do people have any suggestions as to what license (MIT, Apache, GPL, etc.) [1] you would like me to encourage them to use? Who are the most likely developers/candidates to spend some time enhancing the code? I'd love to hear your opinions for sure ... [1] I was a little surprised about the choice of MPL for WebODM, not due to anything specific to the license (personally, I was at Mozilla when the MPL was concocted and like it ;-) but would love to understand the logic behind that choice. |
I think either LGPL or MPL would be a good license for the project, but ultimately I think the development team should decide on their own how they want to release it. My focus is going to be on building and consolidating the web interface and api in the short term at the moment, but people could start working on the mission planner side before I get to it (that would actually be great!). MPL is permissive, encourages code sharing (arguably more so than MIT and Apache2). It also doesn't require a CLA from contributors (unlike Apache2). MPL can be statically linked with proprietary software, which is less of an obstacle compared to LGPL which requires dynamic linking. Overall MPL/[L]GPL are very similar, but MPL seems a tiny bit better. |
For Android, I also found this project: |
http://developer.dji.com/showcase/4500261e49f807b9ff18833a06660c27/ Does anyone have any experience with this one? |
@Bavar2142 I don't, have you tried it? |
Ill have a word with a local store that sells phantoms as id rather not risk the one we use at work flying off. Ill get back to you once i've had a word with them. |
So @pierotofy is taking a look at the codebase I've been spouting about, and I just invited @mojodna to take a peek as well. Once I hear from them we'll put the wheels in motion to re-license / publish / etc. Assuming it makes sense, of course. EDIT: by "makes sense" I mean the codebase is a good starting point. The Freeskies team has given me the green light to move this forward in whatever way makes sense. |
Any (early) thoughts @pierotofy and @mojodna? Worth for me to work towards relicensing that codebase and/or put it up somewhere for a wider audience? Based on your feedback I'll bring @dakotabenjamin and @smathermather into the loop to see if it's worthy of inclusion under OpenDroneMap directly or not ... |
Haven't had time to check it out yet. Will post as soon as I do. |
I checked out the code base, and here's my take:
Perhaps @mojodna can provide another point of view. Unfortunately I don't think that we will be saving a whole lot of time by adopting this codebase as a starting point. It's a good piece of software, it just doesn't fit our goals. |
I've hacked/extended it for some prototype work myself, and agree with most of your assessment about lack of modularity. One thing I disagree with is the goal of an "Android port" however (number 3 above), in my experience two native experiences would be best if attainable (that is, if we have enough interest to develop two side-by-side apps). Of course, that could mean divergence and a fractured experience across platforms. I'm also not surprised/bothered by the landscape/iPad layout. A little bit of work would give us a 5.5" screen version and I prefer tablet frankly for complex workflows (with pen/stylus input in the future!) The main reason I would be excited to see the "keyframe" approach used by Copilot survive is because it lends itself well to 3D structure mapping via SfM (and that type of mission mapping is way more complicated than surveying ...) I could even imagine a SLAM "interpretation" of the UI when flying in manual mode and simultaneously collecting data [1]. Anyway, let's wait for @mojodna's take as well. I'm thinking I could also just open source outside of the OpenDroneMap umbrella so that we can at least have something available that works already. I'll talk to the FreeSkies team about that option. [1] OK, getting a little bit ahead of myself there, I know! |
Perfectly agree with you on open sourcing it! |
I'm going to have a look today and with that, some thoughts ;-) |
This appears to be the primary value of the codebase (besides being a reference point for real-world use of the DJI SDK and the 3D previews). I fully endorse open sourcing it, specifically for those reasons, but I agree with @pierotofy that it's probably not the right base to build from, particularly because it doesn't include "table stakes" features like choosing an area and creating a flight plan to cover it (yes, that could be added, but the paradigm seems a bit different). |
I have been working on web based 3D flight planning for construction visual data collection specifically. According to my experience with mission planning in 3D environment I would say that the major challenge I am facing is the 3D representation of the planning environment. My web based mission planner utilizes webgl scene to create and manipulate waypoints. The waypoints data is then exported to json format and sent to a developed mobile application built over DJI SDK. I am using as-planned 3D architectural models of buildings with Geo-referenced survey points for creating missions. However, this only represents the building and disregards the surrounding 3D environment (ex. nearby buildings and other obstacles). I think it is important to use a comprehensive 3D map API which I would say Google Earth API but unfortunately, the web based Google Earth API is deprecated for a while now. I really hope they return it back for saving many developers' lives. Now, I am looking for a reliable web-based 3D map API. |
Have you checked out Cesium? http://cesiumjs.org/ |
Yes I tried using Cesium, the 3D map is limited to some cities and actually there are lots of issues you have to fix to make Cesium work. |
Some work has been started by @pepperlk at https://github.com/pepperlk/mission-planner to create a mission planner interface. |
It would be nice to have some guides to help people get imagery from their drone to ODM via a mission planner. I just got a 3dr Solo and will be trying to figure out the best solution. Does it make sense to create a wiki page and start documenting the current options? |
@chrowe I've added a new wiki page here https://github.com/OpenDroneMap/WebODM/wiki/Mission-Planner-Options. Any user should be able to edit it. |
I fly Autel Robotics and they recently released their SDK. I don't know much about it as far as the code, but if its easy for you guys to manipulate I'll gladly test. |
@dakotabenjamin do you know of a good resource for the specification of the mavlink waypoint format (.waypoints)? |
All I have is this link: http://www.qgroundcontrol.org/mavlink/waypoint_protocol at the bottom |
Hi, |
@dakotabenjamin mm yes I had found that link also. If anyone can find a link that explains the possible values for each parameter:
It would facilitate the task. @juvinski are you familiar with the waypoints protocol? |
@pierotofy , |
Mission planner needs *.waypoint file which look like you speak above but qgroundcontrol needs a json file. If this could help : actually in mission planning in mission planner there is a terrain following option. Aircraft will follow relief but it's not a good idea if you have hills or mountain with huge slope. To remain to this problem in ebee with emotion2, they bring the max altitude of each line of cross grid. This is just my feedback about flight plan ! |
hi, may I ask why mission planner feature has not been added? Is there any specific problem which no one has been able to solve it? |
We are only a small team of developers, this project isn't our main work. So, updates come when we can or when the community contributes, which we highly encourage. |
.plan file format for px4 stack newly documented here : |
Have tested com.droneharmony.planner (beta) from droneharmony.com. Very useful tool with automatic generation fly plan from rectangle(s) with multiple parameters and modes (have tested few of them). Generated plan just loaded into drone (was used DJI Mavic Pro) and working in full autonomous mode with possibility to break and with monitoring plan progress (including image and map). App have some minor problems (for example can't recover progress after connection loss, also heavy phone battery usage), but it's beta... Here orthophoto layer on Google Earth Pro + telemetry kml |
Usage of mavlink in Dji drones : https://github.com/diux-dev/rosettadrone |
That's awesome, @kikislater. That's a bit of a game changer. |
That's exciting. Any caveats or issues? |
Thought I'd chime on this after 5 years.. :) It's obvious that a mission planner is something we'd love to have in the OpenDroneMap ecosystem, as the number of comments in this and other threads show. It's also a tremendous effort to start its development and keep up with the race of SDKs, hardware models and platforms. It would also have to perform better than existing tools such as QGroundControl which already focus on that exclusively and have a fair number of developers working on it. This needs resources (read: lots of developer time) to get implemented. Probably not even by a single person. UAV4GEO can help a bit with both developer time and financial resources; but I think it would need more stakeholders involved and someone with modern mobile app development experience on both iOS and Android with various drone SDKs. |
Update boot.py - Add auto-boundary
Closing due to lack of resources / interest. Perhaps this could get revisited in the future. |
@pierotofy I feel like the energy should probably more dedicated on how to integrate with QGroundControl for example. I agree with closing, it's not in the core mission of WebODM/ODM from my POV. |
WebODM should facilitate the planning of missions.
Input:
Output:
The text was updated successfully, but these errors were encountered: