Smooth paths, splines or many waypoints

Joined
Aug 27, 2015
Messages
1,007
Reaction score
710
Age
49
In Tower or MP, what's the best way to get smooth flight paths along random curves? I'm finding it difficult to impossible to replicate specific curves using spline waypoints. There's a small river I'd love to fly down, but there are random curves and straight sections that seem to thwart any attempt to lay a flight path right down the center.

At the same time, my flights using straight waypoints seem pretty smooth - the quad does a nice fly through the corners as opposed to stopping, rotating towards the next waypoint and continuing. I think in the flight controller's parameters I have a 5 foot radius set, so as long as the quad gets within 5 feet of the waypoint, it checks it off it's list and continues to the next.

So that makes me think it'd be better to use a bunch of normal waypoints than a few splines. I'm going to test this over the next few days, but I thought I'd ask if anyone else has run into this.
 
  • Like
Reactions: Burkeam
I've wanted the same feature for my P3P where it smooths out corners into curves but I bet they wont add it since at that point you are asking it to fly NOT on the predefined path but figure out a nice curve and this is where it could potentially clip something on the inside of the turn if it's too tight.

I think the best option is to just add more waypoints.
 
  • Like
Reactions: Maddog
So I've been experimenting with this, and it seems to smooth out waypoints automatically. I've been flying my 250 along waypoint paths and then downloading the logs to overlay the actual flight path. Here's a pic of the actual path is flew when given a 5 waypoint curve.

wp_path.jpg


Pretty smooth. From what I've read, the way the Pixhawk works is that it chases an imaginary point out ahead, which itself does follow straight lines between waypoints, effectively smoothing out the path. That does mean that in tight turns, it can miss the actual location of a waypoint by some distance under certain circumstances. In my example, this was a pretty symmetrical curve, but I was flying into it at probably 35 mph, so it looks like it may extend the imaginary chase point further out the faster you're flying.

If, like me, someone wants to set up a very specific path, waypoints seem like they'll do the job, but you'd definitely want to fly it well above any obstructions, download the logs and verify that the path it actually flies wouldn't clip anything. My goal is to fly down a mile or so length of a windy river, well below the tree line. It'll take some more experimenting, but this seems like a good workflow - waypoint path, fly it above obstructions, verify the logs, then lower the altitude.
 
Both informative... AND totally cool! Thank you for posting. I haven't had enough time this week to experiment with tower so I love that I can log on here and see someone else getting great results!
 
So I've been experimenting with this, and it seems to smooth out waypoints automatically. I've been flying my 250 along waypoint paths and then downloading the logs to overlay the actual flight path. Here's a pic of the actual path is flew when given a 5 waypoint curve.

wp_path.jpg


Pretty smooth. From what I've read, the way the Pixhawk works is that it chases an imaginary point out ahead, which itself does follow straight lines between waypoints, effectively smoothing out the path. That does mean that in tight turns, it can miss the actual location of a waypoint by some distance under certain circumstances. In my example, this was a pretty symmetrical curve, but I was flying into it at probably 35 mph, so it looks like it may extend the imaginary chase point further out the faster you're flying.

If, like me, someone wants to set up a very specific path, waypoints seem like they'll do the job, but you'd definitely want to fly it well above any obstructions, download the logs and verify that the path it actually flies wouldn't clip anything. My goal is to fly down a mile or so length of a windy river, well below the tree line. It'll take some more experimenting, but this seems like a good workflow - waypoint path, fly it above obstructions, verify the logs, then lower the altitude.
@rrmccabe has a very cool video he did with his white one that showed that exact type of path. It was a very neat video that you would enjoy, even if it was done with a different quad. Perhaps we could get him to post it here?
 
Perhaps we could get him to post it here?

Would love to see it, and I could care less what brand quad he flew it with! We all have the same goals, and in the end, they're all just contraptions flying through the sky based on identical principals.
 
  • Like
Reactions: Jubalr
Would love to see it, and I could care less what brand quad he flew it with! We all have the same goals, and in the end, they're all just contraptions flying through the sky based on identical principals.

Here's one that I tried to do following a river (dirty one). I'm using the "other" contraption. Their were several things that I was trying to accomplish, one of them was following the river. It does take some effort and time to adjust for the curves. I probably spent 2 hours planning this 13 minute run. I made it for Raybro as we both like running waypoint flights. It's in 1080p.

Jerry

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
My intent is to attempt to do similar experiments with the Solo if I can get her back in the air before the weather changes.

Jerry
 
Guys, don't forget that you can draw a path in Tower using your finger (recommend a stylus). Just draw it along the course of the river. I've done this numerous times.

Having said that, spline waypoints or regular way points should be fine. Splines take a little tweaking, but it should be easy to lay a course out on a river. Regular waypoints should work too, if you tweak your Params (i.e. more space around waypoints as the OP mentioned - but try 15 feet, not 5). 3DR birds used to jerk a bit at waypoints, but they've fixed that. You might also want to set an ROI or two along your path to help keep the river in frame as you go around sharper bends in the river. If the river isn't too windy, just one ROI positioned beyond your last waypoint (with a low altitude set) should do the trick.
 
  • Like
Reactions: SteveReno
Here's one that I tried to do following a river

That's great! It just amazes me that for between a few hundred dollars to a grand, we can buy or build a battery powered VTOL aircraft with the ability to go out and fly complex, autonomous flights - reliably, and transmit real-time, stabilized, HD video of the flight to top it all off!

I really can't wait to start sending the Solo out on autonomous flights.
 
I haven't tried spline waypoints myself (next on the todo list) but I did see some nice footage of an IRIS following a spline waypoint and I was impressed with how smoothly it just seemed to turn from one waypoint into another.
 
@rrmccabe has a very cool video he did with his white one that showed that exact type of path. It was a very neat video that you would enjoy, even if it was done with a different quad. Perhaps we could get him to post it here?

Jub, trying to figure out which video you are referring to? Would be happy to post it if I know.
 
  • Like
Reactions: dirkclod
Jub, trying to figure out which video you are referring to? Would be happy to post it if I know.
Hey Rich, You had posted it long ago, but it was the one where you dropped down and flew along the river, at one point you cut it pretty close to the tree tops! Very cool video.
 
With sound effects. Ultimate flight software with P2V+. Old school but a blast :)

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
  • Like
Reactions: dirkclod
With sound effects. Ultimate flight software with P2V+. Old school but a blast :)

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
That's It! Thanks Rich.. @User Name This is the video I thought you would get a kick out of. Pretty cool.. Total distance traveled almost 25k feet.
 
In Tower or MP, what's the best way to get smooth flight paths along random curves? I'm finding it difficult to impossible to replicate specific curves using spline waypoints. There's a small river I'd love to fly down, but there are random curves and straight sections that seem to thwart any attempt to lay a flight path right down the center.

At the same time, my flights using straight waypoints seem pretty smooth - the quad does a nice fly through the corners as opposed to stopping, rotating towards the next waypoint and continuing. I think in the flight controller's parameters I have a 5 foot radius set, so as long as the quad gets within 5 feet of the waypoint, it checks it off it's list and continues to the next.

So that makes me think it'd be better to use a bunch of normal waypoints than a few splines. I'm going to test this over the next few days, but I thought I'd ask if anyone else has run into this.

If you would like to fly curved missions, take a look at an Amazon ebook entitled "Gently Curved, Convergent, Non-traditional Drone Flight Paths". You can now plan your approaches ahead of time to get your spectacular photos. Compare actual traditional (linear/parallel) flight paths in the first example (attached file) to the curved non-traditional (non-linear/non-parallel) flight paths (second attached file).
 

Attachments

  • Fairbanks Fodar flight lines.jpg
    Fairbanks Fodar flight lines.jpg
    456.8 KB · Views: 18
  • Log-spiral flight lines.jpg
    Log-spiral flight lines.jpg
    307.1 KB · Views: 19

Members online

No members online now.

Forum statistics

Threads
13,093
Messages
147,741
Members
16,048
Latest member
ihatethatihavetomakeanacc