DJI Mavic, Air and Mini Drones
Friendly, Helpful & Knowledgeable Community
Join Us Now

Spiral Maker for Litchi Waypoint Missions

DJ Wes, it's working on google earth with dutch language!, thanks Sir, great tool!!!!
 
@DJ Wes , maybe it's possible to add a speed bar. To make the drone getting faster at every waypoint or a stable speed you prefer.
That would be awesome in video recording.
 
@DJ Wes, greatly appreciate what you did here and you sharing it. Someone in this forum mentioned doing something similar a while ago and I was among many who were asking how they did it. Sadly, that someone decided not to enlighten us with their knowledge. And here you come along and give us the full buffet! You are awesome mate! I have a few places in mind that are begging for this type of mission and I am really looking forward to trying this (it won't be soon though unfortunately). But I have your page bookmarked and will be following this thread with keen eyes.

maybe it's possible to add a speed bar. To make the drone getting faster at every waypoint
That can easily be done in post without any ill effect on the quality of the footage, especially if you just want to speed things up. Shoot at any speed, any frame rate, and just speed it up where you want in post; no need to enter complexities in to the mission! If you want to slow down the footage, then you will have to put a little forethought in to your video recording before the mission. The mission footage has to be filmed with the max frame rate that your drone is capable of - for Mavics, I think that would be 120fps but you will have to compromise on the video resolution. In either case, I think introducing a speed factor in to the mission is hardly worth the extra complication and wouldn't really produce the effect you desire unless you go from extremely fast to extremely slow or vice versa; which i don't think is good for this kind of mission. Slow and steady gives you good, stable, footage. Get your exposure and framing right and you can play with it however you like in post.
 
Yes, but i looks nice if every waypoint the speed is going up, you can also adjust speed in each waypoint manually but that's taken a lot of work, also afterwards in post production. Just like the height bar min-max, a bar min max speed is for me beautifull.
 
Your program generates a cylindrical spring-coil path, which is terrific! Tried it, love it! ? Now (you knew this was coming!) here's your first enhancement request! An extremely useful variant would generate a true spiral path, like a coiled snake:

sparch.gif


You'd add a field that steps the radius incrementally with each WP, either positively or negatively, so that the drone--as it circles the POI--recedes from (or approaches) the POI at a constant rate. That's doubtless easier said than done; I've done a bit of coding myself. Still, if you find a way, it'd be an excellent addition!

Again, thanks for the cool tool as-is!

I have added this new feature request to Spiral Mission Maker for Litchi. There is an added control that allows one to specify the ending radius scale factor. The first waypoint is always at a distance (radius) from the POI determined by the circle in the kml file from Google Earth Pro. The last waypoint can be repositioned either closer to or further from the POI by specifying a scale factor. If the scale factor is 0.5, the last waypoint will be half the normal distance away from the POI. If the scale factor is 2.0, the last waypoint will be twice the normal distance from the POI.

I hope this makes sense. If not, just give it a try.
capture1.JPGcapture2.JPG
 
I have added this new feature request to Spiral Mission Maker for Litchi. There is an added control that allows one to specify the ending radius scale factor ...
Just tried it out, and I am mightily impressed! An elegant solution to a thorny problem.

One note, and I’m not sure what options you have, but in the spiral missions I made, I had to manually manage the curve sizes at each WP. Otherwise the mission consisted of long straight segments with a minimal curve (<5m) at each WP. (The POI in this case is a relatively modest volcanic cone in AZ, but still a final radius of 1000m for the spiral mission.)

Because of the changing radius, the best solution for this was to max-out the curvature at each WP, beginning at the innermost one and working the WPs in order from there. yields a smooth curve for the entire flight.

A small thing in a wonderful tool! Thanks again!
 
Just tried it out, and I am mightily impressed! An elegant solution to a thorny problem.

One note, and I’m not sure what options you have, but in the spiral missions I made, I had to manually manage the curve sizes at each WP. Otherwise the mission consisted of long straight segments with a minimal curve (<5m) at each WP. (The POI in this case is a relatively modest volcanic cone in AZ, but still a final radius of 1000m for the spiral mission.)

Because of the changing radius, the best solution for this was to max-out the curvature at each WP, beginning at the innermost one and working the WPs in order from there. yields a smooth curve for the entire flight.

A small thing in a wonderful tool! Thanks again!
Yes. Before I added the variable radius, I could compute (and store) one global curve size for the entire mission. However, now that the radius can change throughout the mission, the curve size will also change. This is apparent when the ending radius is larger than the beginning radius. To fix this I need to compute the curve size at every waypoint. That computation is expensive (lat/long -> feet/meters) but can be done. I'll work on that. It's amazing how quickly the complexity of this application is increasing.
 
  • Like
Reactions: Prismatic
The solution I described above, using Mission Hub, works very well. Starting with the innermost WP, you just max-out the "Curve Size" slider for each WP in order of increasing radius. It's not much of a burden for the user, and you've already given us a solution for the heart of the matter: getting that perfect--and cinematic!--spiral.

PS: As for the fast increase in code complexity, you should have a chat with @namirda , who developed the Virtual Litchi Mission app (which works perfectly with a spiral mission, of course!). In software engineering, as you probably know, the core functionality is often the easy part; the vast bulk of the code just handles corner-cases and errors!
 
  • Like
Reactions: slup
I am pretty sure that if you go into Litchi ->Settings and change it to 100% or the largest you can that all your curves will be maximized.
...
One note, and I’m not sure what options you have, but in the spiral missions I made, I had to manually manage the curve sizes at each WP. Otherwise the mission consisted of long straight segments with a minimal curve (<5m) at each WP. (The POI in this case is a relatively modest volcanic cone in AZ, but still a final radius of 1000m for the spiral mission.)

Because of the changing radius, the best solution for this was to max-out the curvature at each WP, beginning at the innermost one and working the WPs in order from there. yields a smooth curve for the entire flight.

A small thing in a wonderful tool! Thanks again!
 
I am pretty sure that if you go into Litchi ->Settings and change it to 100% or the largest you can that all your curves will be maximized.
I tried that, but it didn't do anything.
 
Just tried it out, and I am mightily impressed! An elegant solution to a thorny problem.

One note, and I’m not sure what options you have, but in the spiral missions I made, I had to manually manage the curve sizes at each WP. Otherwise the mission consisted of long straight segments with a minimal curve (<5m) at each WP. (The POI in this case is a relatively modest volcanic cone in AZ, but still a final radius of 1000m for the spiral mission.)

Because of the changing radius, the best solution for this was to max-out the curvature at each WP, beginning at the innermost one and working the WPs in order from there. yields a smooth curve for the entire flight.

A small thing in a wonderful tool! Thanks again!
I have made a change so that it now calculates the curve size independently at each waypoint to provide the maximum curve size at each waypoint.
 
  • Love
Reactions: Prismatic
I have made a change so that it now calculates the curve size independently at each waypoint to provide the maximum curve size at each waypoint.
Wow! That's amazing. Works exactly as you'd hope. Thanks 10^6, sir! ;)
 
Recent Enhancements to Spiral Mission Maker for Litchi:

  • New "Add Approach" option: The first waypoint of a waypoint mission is sometimes problematic. Despite defining a heading and gimbal pitch angle at the first waypoint, when executed, the drone heading and camera angle are not applied until after the drone passes the first waypoint.
    To remedy this, an option has been added to add a waypoint prior the first spiral waypoint of the mission. This provides several advantages:
    1. It enables the drone to achieve the correct heading and gimbal pitch angle prior to the first spiral waypoint of the mission.
    2. It enables the drone operator to begin recording prior to the first spiral waypoint of the mission while on a smooth path.
    3. It enables the addition of more waypoints prior to the first waypoint on the spiral so that more complex spiral entries are possible.
  • Increased metric resolution: When used with metric units, the height sliders will move in one-meter increments instead of five-unit increments which are used when "feet" is selected.
  • Cosmetic user interface improvements
 
  • Love
  • Like
Reactions: slup and Prismatic
Recent Enhancements to Spiral Mission Maker for Litchi:

  • New "Add Approach" option: The first waypoint of a waypoint mission is sometimes problematic. Despite defining a heading and gimbal pitch angle at the first waypoint, when executed, the drone heading and camera angle are not applied until after the drone passes the first waypoint.
    To remedy this, an option has been added to add a waypoint prior the first spiral waypoint of the mission. This provides several advantages:
    1. It enables the drone to achieve the correct heading and gimbal pitch angle prior to the first spiral waypoint of the mission.
    2. It enables the drone operator to begin recording prior to the first spiral waypoint of the mission while on a smooth path.
    3. It enables the addition of more waypoints prior to the first waypoint on the spiral so that more complex spiral entries are possible.
  • Increased metric resolution: When used with metric units, the height sliders will move in one-meter increments instead of five-unit increments which are used when "feet" is selected.
  • Cosmetic user interface improvements
The approach waypoint is very helpful. I've been doing it manually, and laboriously:
  1. Save off the attributes of WP1 (coordinates, speed, all of it; a screen capture is helpful)
  2. Insert a new WP2 after WP1
  3. Move WP1 out of the way
  4. Use the saved attributes of WP1 to make the new WP2 a "clone" of the original WP1
At this point, I'd have an approach vector from WP1 to the start of the spiral at the new WP2. But what a pain! The "Add Approach" option is a huge improvement in the usability of SMMfL! Thanks!
 
  • Like
Reactions: DJ Wes
... The "Add Approach" option is a huge improvement in the usability of SMMfL! Thanks!
And now that you have a WP before the spiral, you can just keep inserting WPs ahead of the spiral (not to mention after it), and thus design an arbitrary mission with an embedded spiral.

Sweet!
 
  • Like
Reactions: DJ Wes
Lycus Tech Mavic Air 3 Case

DJI Drone Deals

New Threads

Forum statistics

Threads
130,981
Messages
1,558,537
Members
159,969
Latest member
maliyindian