Replies: 28 comments 7 replies
-
In it's simplest form, something like:
90% of which would reuse existing stuff. The issue with doing anything more complex, such as a "bird's eye" view with overlaid LOS/noLOS shading is that you really need a local DEM due to number of points required. So, maybe. |
Beta Was this translation helpful? Give feedback.
-
Of course, the interesting it is the elevation required at the clicked point.
Or am I missing something ? |
Beta Was this translation helpful? Give feedback.
-
There could be a slider which is interpreted as % along the preview path (ignoring such ugliness as multiple or infinite JUMPs). That's probably easier than the geodesy to see where some arbitrary location intercepts the mission. The second idea is nice, but the online DEMs tend have usage limits, which is the case of mwp as there's a single Bing (free tier) application key across tiles and elevation requests, for all users which I'd prefer not to abuse. I have no means of knowing where on the usage scale mwp happens to be. |
Beta Was this translation helpful? Give feedback.
-
So there will be a manual slider: |
Beta Was this translation helpful? Give feedback.
-
Here's where it is now (not yet pushed to GH). My "pathologically interesting" terrain test mission. The red "⨁" icon is the point of interest (POI) which is moved along the mission path by the slider. The slider covers the extent of the mission, with JUMPs reduced to a single iteration for simplicity. Currently it does not indicate if the POI is within LOS or not, but it's pretty obvious from the plot. I'll push a test branch later. |
Beta Was this translation helpful? Give feedback.
-
Looks nice. Let me know when there's something to try out. I've got a
half dozen missions with as many as 60 WP that I've manually scrubbed,
we'll quickly find out if I missed anything. I think it is fine to not
actually detect the loss of LOS, with trees that can happen anyway even
though you are clear of the terrain. Much like the Elevation Analysis
tool, the user will want to have some margin (and btw, that margin will be
different for 433/915/2400/5800 MHz links).
…-Russ
On Tue, Nov 7, 2023 at 2:01 AM Jonathan Hudson ***@***.***> wrote:
Here's where it is now (not yet pushed to GH). My "pathologically
interesting" terrain test mission. The red "⨁" icon is the point of
interest (POI) which is moved along the mission path by the slider. The
slider covers the extent of the mission, with JUMPs reduced to a single
iteration for simplicity.
Currently it does not indicate if the POI is within LOS or not, but it's
pretty obvious from the plot.
[image: image]
<https://user-images.githubusercontent.com/158229/280996499-d93aa4ac-7cfe-4e16-b956-8eef35b3237e.png>
I'll push a test branch later.
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKW46OF6C57VVOARO6DYDIBIZAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIOJXGA3DI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You can checkout the For now, the user will have to mentally extrapolate any "margin". |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Very nice. I, as well as others, will surely appreciate instructions on
how to get a "Bing Key".
BTW, now and then I find that my home point has been moved while
clicking/panning around a mission. The one I sent you is such a case, the
home point should be close to WP1 (which changes the LOS results
significantly).
…-Russ
On Wed, Nov 8, 2023 at 8:29 AM Jonathan Hudson ***@***.***> wrote:
If you use *your own* Bing key, then there's a "Auto LOS" option, which
iterates around the mission thusly:
[image: image]
<https://user-images.githubusercontent.com/158229/281472353-363b6f0e-2533-461c-be09-c9e70dcfb940.png>
You can set your own bing key in ~/.config/mwp/cmdopts as for any other
environment variable, e.g.:
#--debug-flags 20
--dont-maximise
MWP_BLACK_TILE=/home/jrh/.config/mwp/mars.png
MWP_TIME_FMT=%T.%f
MWP_BING_KEY=Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKTETKTFCTS47W5O5UDYDOXNXAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMJSG44DS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
As documented in the INAV Configurator README
Please provide precise, step by step instructions to reproduce. |
Beta Was this translation helpful? Give feedback.
-
With 5238a3a (which makes auto somewhat smoother), I think we're done for now ... to be left for a few days before promoting to master. |
Beta Was this translation helpful? Give feedback.
-
User Guide preliminary documentation |
Beta Was this translation helpful? Give feedback.
-
Hey there. Got the latest installed, the new features work great. Clear
instructions, got my Bing Maps key without any trouble. Auto-LOS is really
nice, wow what a labor saver !
A few times I've had artifacts left behind on the screen after an Auto-LOS
run:
[image: Screenshot at 2023-11-09 14-19-14.png]
And now and then the Auto-LOS seems to hang. I'd also earlier seen a hang
when doing "manual" LOS analysis. Killing MWP and starting again of course
fixes it. It could easily be Bing not returning data in a timely fashion,
I haven't waited to see if it will eventually timeout.
So let folks know they have a new thing to try & use, it is highly useable
right now.
…-Russ
On Thu, Nov 9, 2023 at 5:48 AM Jonathan Hudson ***@***.***> wrote:
User Guide preliminary documentation
<https://stronnag.github.io/mwptools/mwp-los-tool>
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKSXZDKQSNQOJMVREOLYDTNMVAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMRSGY4TO>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Occasionally I see very short pauses, but never a hang. I believe it's a network glitch getting data from Bing. https://www.youtube.com/embed/UnejePWHMuM The video is pretty smooth (recorded on a Wayland display); an earlier X11/Xwayland display had noticeable pauses. |
Beta Was this translation helpful? Give feedback.
-
It will be promoted to master and a release built this weekend. |
Beta Was this translation helpful? Give feedback.
-
It will be promoted to master and a release built this weekend. |
Beta Was this translation helpful? Give feedback.
-
It certainly wasn't just a pause. Specifically I saw it after running
quite a few missions through Auto-LOS as I screened my "library". I've
also seen the LOS Green/Red lines lag behind the moving marker, normally
near the end of the Auto-LOS run. It will actually complete and sit there
with the marker stationary at the last WP for ~5-7 seconds and then draw
the stragglers. It could easily be something on my system, I've never seen
it hang or leave the plots uncompletedd.
Looking forward to the release, and it was sure rewarding to work with you
on this. You are a very responsive developer.
…-Russ
On Thu, Nov 9, 2023 at 2:43 PM Jonathan Hudson ***@***.***> wrote:
It will be promoted to master and a release built this weekend.
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKTJMVCBY36WI3KQEDTYDVMAVAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMRXG4YDS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Here's a mission that I actually flew last week. I indeed did have video
fade out between WP6 & WP7-8. Originally I figured it was just too far,
too many trees. But run Auto-LOS on it and you'll see there are a couple
of spots in that area that fail. But pick just about any spot in there and
run a LOS analysis and you'll see that the entire stretch is
super-marginal.
This is a good candidate for some LOS indicator line shading, and for some
"I need at least 10 m of LOS margin" tests.
BTW, the plane flew the path just fine.
…-Russ
On Thu, Nov 9, 2023 at 2:53 PM Russell Mirov ***@***.***>
wrote:
It certainly wasn't just a pause. Specifically I saw it after running
quite a few missions through Auto-LOS as I screened my "library". I've
also seen the LOS Green/Red lines lag behind the moving marker, normally
near the end of the Auto-LOS run. It will actually complete and sit there
with the marker stationary at the last WP for ~5-7 seconds and then draw
the stragglers. It could easily be something on my system, I've never seen
it hang or leave the plots uncompletedd.
Looking forward to the release, and it was sure rewarding to work with you
on this. You are a very responsive developer.
-Russ
On Thu, Nov 9, 2023 at 2:43 PM Jonathan Hudson ***@***.***>
wrote:
> It will be promoted to master and a release built this weekend.
>
> —
> Reply to this email directly, view it on GitHub
> <#157 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJFJKTJMVCBY36WI3KQEDTYDVMAVAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMRXG4YDS>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
So margin will be
Additionally
And you can make multiple runs / switch between point / auto, clear prior tracks etc. |
Beta Was this translation helpful? Give feedback.
-
I think github tossed the attachment. I'll send it to you on Discord.
…On Fri, Nov 10, 2023 at 8:52 AM Jonathan Hudson ***@***.***> wrote:
So margin will be
- Green if LOS with margin
- Yellow (Orange) if LOS above terrain
- Red if no LOG
Additionally
- Margin is scaled along the path between home (otherwise you'd always
fail with -margin non-LOS at home)
- A "blob" is displayed on non-green LOS lines where LOS is lost.
[image: image]
<https://user-images.githubusercontent.com/158229/282124462-2426722b-a342-4b4b-a9a4-3d0bd72b2611.png>
And you can make multiple runs / switch between point / auto, clear prior
tracks etc.
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKS7Z3JMUPHR4OQ3E5DYDZLUTAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZVGU4TG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Setting a margin makes things clearer .... Hope this is what you'r expecting to see |
Beta Was this translation helpful? Give feedback.
-
Yes, perfect. And it really does match the 5.8GHz fading that I saw.
Which is comforting, 'cause when I move up the hill a bit to have a higher
point for the ground station it strongly suggests that the new point will
have good video the entire way.
…On Fri, Nov 10, 2023 at 9:53 AM Jonathan Hudson ***@***.***> wrote:
Setting a margin makes things clearer ....
[image: image]
<https://user-images.githubusercontent.com/158229/282140439-bb9ec940-5547-4a62-bb88-e92bc879cf1e.png>
Hope this is what you'r expecting to see
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKVCHMD5SSPQML5UOKLYDZSYDAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZWGE2DE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
98d086a may even be the "final final" ... or not? |
Beta Was this translation helpful? Give feedback.
-
I'll test it when I get back into my home office in a few more hours...
…On Fri, Nov 10, 2023, 12:01 Jonathan Hudson ***@***.***> wrote:
98d086a
<98d086a>
may even be the "final final" ... or not?
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKTT3UUTWCJTXGWSISDYD2B2BAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZXGAYTQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just installed 98d086a (development), not sure if that is older or newer
then the one you mentioned. Anyway, it seemed to run just fine. I like
the placement of the "blobs" on top of the point of signal interception.
Margin seems to do the right thing, but it would be nice to run Auto,
twiddle the margin, and then be able to run Auto again without closing and
opening the window (if possible). Just a shorter iteration loop and makes
it more fluid. I did find that I could position the slider back at 0% and
it would enable "Auto" again though.
And perhaps running "Auto" should automatically "Clear" at the start.
On Fri, Nov 10, 2023 at 12:26 PM Russell Mirov ***@***.***>
wrote:
… I'll test it when I get back into my home office in a few more hours...
On Fri, Nov 10, 2023, 12:01 Jonathan Hudson ***@***.***>
wrote:
> 98d086a
> <98d086a>
> may even be the "final final" ... or not?
>
> —
> Reply to this email directly, view it on GitHub
> <#157 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJFJKTT3UUTWCJTXGWSISDYD2B2BAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZXGAYTQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
You can do as many "Auto / change margin" cycles as you wish without closing the window. Auto does not set back to 0% by design; if you just have a small orange or red segment, then you can repeatedly cycle over that without having to start from the begining. This saves a lot of time if you have a small NO-LOS segment later in the mission (and you can just "Stop" so you don't have to iterate to the end if you know the"bad" segment is e.g 55-75% of the mission).
And, yes, you ran "final". It will be |
Beta Was this translation helpful? Give feedback.
-
Oh, and the right-click LOS/Auto-LOS menu choices seem redundant. I'd just
have "LOS" as the menu choice, but not Automatically run AUTO until the
button is clicked in the popup.
And I think that pressing AUTO should clear the display of earlier results
and then just run it from WP1 rather than somewhere in the middle. The
button changes to "STOP" while it is running, but it is really more of a
"PAUSE". But really not much of that really matters, it is so clear
what's happening with the animated marker movement that nobody is going to
be confused.
At this point things are working so well it is probably more valuable (and
fun) to get it out to others for testing. Do you just let folks stumble
across it, or do you announce on Discord a new feature like this ? Oh, and
does any of this make it into the INAV Configurator's version of the
Mission Planner ?
…On Fri, Nov 10, 2023 at 2:39 PM Jonathan Hudson ***@***.***> wrote:
You can do as many "Auto / change margin" cycles as you wish without
closing the window.
Auto does not set back to 0% by design; if you just have a small orange or
red segment, then you can repeatedly cycle over that without having to
start from the begining. This saves a lot of time if you have a small
NO-LOS segment later in the mission (and you can just "Stop" so you don't
have to iterate to the end if you know the"bad" segment is e.g 55-75% of
the mission).
- At 0%, only Auto is enabled because "Point" makes no sense.
- At 100%, neither "Point" nor "Auto" is enabled, for the same reason.
- Anywhere else, both are enabled (as long as you pass the MWP_BING_KEY
test.
And, yes, you ran "final". It will be master tomorrow.
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFJKUKFMA4TERGRTOLUN3YD2UJFAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZXHAYDK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
BTW, earlier in this thread I mentioned that I've been seeing the brown
home point being shifted around on my map unexpectedly (and then being used
as the reference for subsequent LOS stuff). It looks like a very
repeatable way to make this happen is simply to zoom in so that you can see
a few WPs on the screen, dragging the screen to center a leg. Turn on
"Edit WPs". The brown home point icon will show up. Turn off "Edit WPs",
the home point icon will remain. Run an Auto-LOS, and you'll see that it
is referencing that spurious home point.
I'm not sure if this is an issue or expected behavior, but it sure is easy
to move the home point and then get all sorts of LOS issues until you
realize things moved.
On Fri, Nov 10, 2023 at 3:03 PM Russell Mirov ***@***.***>
wrote:
… Oh, and the right-click LOS/Auto-LOS menu choices seem redundant. I'd
just have "LOS" as the menu choice, but not Automatically run AUTO until
the button is clicked in the popup.
And I think that pressing AUTO should clear the display of earlier results
and then just run it from WP1 rather than somewhere in the middle. The
button changes to "STOP" while it is running, but it is really more of a
"PAUSE". But really not much of that really matters, it is so clear
what's happening with the animated marker movement that nobody is going to
be confused.
At this point things are working so well it is probably more valuable (and
fun) to get it out to others for testing. Do you just let folks stumble
across it, or do you announce on Discord a new feature like this ? Oh, and
does any of this make it into the INAV Configurator's version of the
Mission Planner ?
On Fri, Nov 10, 2023 at 2:39 PM Jonathan Hudson ***@***.***>
wrote:
> You can do as many "Auto / change margin" cycles as you wish without
> closing the window.
>
> Auto does not set back to 0% by design; if you just have a small orange
> or red segment, then you can repeatedly cycle over that without having to
> start from the begining. This saves a lot of time if you have a small
> NO-LOS segment later in the mission (and you can just "Stop" so you don't
> have to iterate to the end if you know the"bad" segment is e.g 55-75% of
> the mission).
>
> - At 0%, only Auto is enabled because "Point" makes no sense.
> - At 100%, neither "Point" nor "Auto" is enabled, for the same reason.
> - Anywhere else, both are enabled (as long as you pass the
> MWP_BING_KEY test.
>
> And, yes, you ran "final". It will be master tomorrow.
>
> —
> Reply to this email directly, view it on GitHub
> <#157 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJFJKUKFMA4TERGRTOLUN3YD2UJFAVCNFSM6AAAAAA664P3KWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZXHAYDK>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
I've been working on some missions that twist around some terrain (typically above the launch point) and as you'd expect now and then the plane's path takes it behind some hill that is a bit too high (sometimes pretty far away from any waypoints, but on a line between the plane and the receiver(s) on the ground).
What I've been doing to visualize this situation is to temporarily add a waypoint at my ground station's location & altitude at the end of the mission, and then add another one that I move around to any suspect areas along the flight path (adjusting manually the altitude for that spot). Then I run a terrain analysis and see if anything is so high that it blocks or comes close to blocking line-of-sight. It looks like this approach has been able to find all the spots that actual flying situations have revealed.
Sooo, some sort of LOS analysis tool that let you do a terrain analysis along the path from the launch point to a second point where you've clicked. There may be a hundred waypoints or interesting spots that you'd want to check, so as much "automagic" behavior here as can be handled would sure make it easier to use (for example once the second point is clicked it would be nice to draw a line on the map in some contrasting color and then update the terrain analysis gnuplot along that path).
Beta Was this translation helpful? Give feedback.
All reactions