3D Flags with notes

You are right. So I used the Maxfield size and added or subtracted it accordingly. Then I drew the cut line in the Google earth in the kml. It could be drawn separate just as well. Inching closer.

Edit: Here it is in Google Earth. Note the thin red line. So technically it is 3 times largest field dimension in one direction and 1 short dimension plus 2 largest in the other.

image

@wilberttalen @BrianTee_Admin

Here we go one more inch. Lines up perfectly
image
image

2 Likes

Wow, this is exciting stuff! The field to the right of the one you’re working on (alongside the river) looks pretty wild btw. must be around Brian’s stomping ground somewhere.

Yes, I was just working from the simulator start point. I think Brian may be familiar with the area. See other post, I actually saved the picture with the other field boundary still own.

Edit: That wild looking field might be why Brian got us all into this stuff in the first place. LOL!

Actually that’s our farm in the pic… The thing with 2D is you can’t see the 15 degree slopes in places.

So how are you georeferencing the google image to aog? The original VR application had the cropping done right to the border edge which gave its own reference since it knew exactly where the boundary was.

1 Like

I guess there are keyboard shortcuts in GE to set view overhead (U) and to point North (N) then click terrain to get 2D image for background. See this snippet from a [YouTube video].
(Georeference and Import Base Map Images from Google Earth - YouTube)

Did you end up using UTM or Lat and Long for the georeference ?

The kml file I created has a crop to line. I used the field max dimension to add to and subtract from the max and min fieldx,y. Both the kml and AOG are linked to the exact same points. The error will come on the straight up, North and user cropping. But when done right there is an easy line to follow.

Good to know.

I used Brian’s function to convert back to lat and long.
Edit: The function was minimized. So now in the code there is a function to convert any AOG cords to lat and long. Opened up a world of options. Took some playing around with it. First test had a path that circled the earth a few times in strange directions. The next one drew a fine field in Antarctica. But finally it hit right where it was supposed to.

Edit2: I watched the video. That’s some neat info. Thanks.

@wilberttalen

Back to playing with flags. Added a distance and heading from here on the panel. Walked it yesterday and set some flags. This is standing in the same location today. I don’t think my NTRIP is doing what it is supposed to do because it drifts when standing still. But you can walk right to where it says it is.

FlagHunt

3 Likes

So i completely stole your idea. Simpler version, just using the existing class of flags. Full Credit to you @KentStuff.

2020-01-06 (3)

3 Likes

Looks much better. Might as well add the distance and heading from here, while you are at it. Sure makes it nice getting back to it. I also considered adding the Google flag button here instead of right click. Thanks again.
Edit:. @BrianTee_Admin Did you modify the flag open in the field load for opening an old file. I had to do a check if the line had 5 or 6 items when parsing. Otherwise it would crash opening an old field with flags.

1 Like

Ya, it doesn’t compensate for old fields - but it will. So a heading you were going when the flag was made?

Distance and heading from where you are now. The direction that you must head to get back to the flag. As the crow flies.
This is copied on my phone so may not be formated right. But this is what I used.

if (flagNumberPicked != 0)
{
panelFlag.Visible = true;
double flagHeading = Math.Atan2(pn.fix.easting - flagPts[flagNumberPicked - 1].easting, pn.fix.northing - flagPts[flagNumberPicked - 1].northing);
if (flagHeading < 0) flagHeading += glm.twoPI;
flagHeading = glm.toDegrees(flagHeading)-180;
if (flagHeading < 0) flagHeading += 360;

                    if (isMetric)
                    {
                        FlagDistLbl.Text = "Distance form here: " + (glm.Distance(pn.fix.easting, pn.fix.northing, flagPts[flagNumberPicked - 1].easting, flagPts[flagNumberPicked - 1].northing)).ToString("N2") + " meters @ "+flagHeading.ToString("N0")+ "°";
                    }
                    else
                    {
                        FlagDistLbl.Text = "Distance form here: " + ((glm.Distance(pn.fix.easting, pn.fix.northing, flagPts[flagNumberPicked - 1].easting, flagPts[flagNumberPicked - 1].northing))*glm.m2ft).ToString("N2") + " feet@ " + flagHeading.ToString("N0") + "°";
                    }

                }
                else
                {
                    panelFlag.Visible = false;
                }

Fendt is beeping 30 secs before you will hit the flag and a big msgbox with the fags text appears

1 Like

That could be a good feture. If you are coming up to a flag of something to avoid in the field, then tell me. @BrianTee_Admin if the flag notes start with “avoid” or “alarm” etc. Then AOG could scan ahead for any flags, if found, read note, if note says _____. Trigger alarm, and flash flag box. Just a thought.

You should make a boundary around something you shouldn’t drive around, then your path will be made around the obstacle.

I’m thinking we could do one better. Generate a dubins path to the flag, like self driving does, includes obstacle and collision testing… As paging thru the flags, could click “To Flag” and the guidance line is made. Hard to believe that was 2 years ago…

Current fix to flag generation
2020-01-08 (1)

3 Likes

Yes sir, I like.

A llittle video. Shows distance to flag as well. Once i (hopefully) get a global guidance class figured out, should be able to autosteer to the flag as well.

https://youtu.be/BOvC4gAkG6w

Looks like it keeps shifting dubins start. But, very promising. How about set the goal heading to the current direction to the flag, or the end of the first dubin tanget. Then it may not circle around the flag before getting there. I like it. Can’t wait to get into the code and dubin from flag to flag in various pick orders. It will end up a lot like my draw path but with dubin’s. Exciting!!!