Grade control

That’s good information. I’ll change the extension. *,ags - as the survey only, *.agd - for design.

2 Likes

When you get a chance, post few line files from each type to make sure that it’s the same.

Edit: Try this one. It was saved in AOG. Based on your agd reader. I’m setting the cut and fill to the same edited value. Just save the file and drop the txt. It is just a simulated file with a lot of variations. I tried to open it in your OpenGrade3d. It put it way to the right of the center of the screen. I had to zoom back to the moon to see it. I did not attempt to drive to it to see what it looked like. Must be something to do with that simulator offset.

Survey.agd.txt (15.2 KB)

1 Like

@Pat how are you sending the RTCM corrections to rover with opengrade? Do you have a separate bluetooth module or another USB cable to it?

1 Like

I have a Ardusimple simpleRTK2B and their bluetooth module. I use the Lefebure ntrip client but I have to keep my phone sreen on to keep it from dropping.
I would like to have it trough the tablet, I was looking to build ntrip into OpenGrade but seam to be a lot of work.
Do you think we could use the second usb port to connect to uart2? Or we need to jump cable. I was thinking about it but not made extensive research. Lefebure seem to also have a good client for windows.

1 Like

Manual control with ino + pcb now working, it’s now only in the man mode. Takes the max pwm value for the manual stuff, ino attached

ValveControl.ino (8.6 KB)

2 Likes

I now managed to massage the NTRIP client (somehow and dirty) into your latest version @Pat

Not sure yet if it’s sending the corrections correctly, would somehow need to sniff the COM port going to ardusimple to see what’s being sent to the receiver. But getting there!

image

2 Likes

And now it looks like it’s working :partying_face: Added a label to the top bar to keep track what’s going on with NTRIP. Stupid, stupid mistakes when integrating the code last night, was just missing the line of code that calls for updated data… It’s found as menu item in config menu.

image

In case you’re wondering, the antenna is inside on a windowd board for the test, hence only float fix.

4 Likes

I got my opengrade to open the agd file created in AOG. It was a simulator offset problem.

image

Same file opened in Opengrade3D.

image

3 Likes

I’ve added Pat’s contour map to AOG. Busy for sure, but should be able to toggle them off and on.

image

1 Like

Just surveyed a 5 hectare field to test and the OG seems to be working, as well as the NTRIP, RTK fix full time. Huge difference to the previous single-band antennas I had, no more constantly dropping to float RTK and find the RTK fix about 10 times faster.

2 Likes

Modified the elevation map painter a bit. Still makes the map with Pat’s routine, but draws it a bit different. Also, added a display option in the display settings that you can turn off or on the survey marks and grade map. When making a new field and surveying the field, using the survey button at the lower left, when unclicked it draws the grade map. It still takes a few seconds to process the whole field. Once in the ABDraw screen, once you click select, the survey marks come back. Right click on any of them and you can edit the elevation point or the cut point. It redraws the grade map once you click the edit this point button. Cut and fill can be grouped with a lower left to upper right window.

image

image ![image|690x215]

image

1 Like

I have made a new release (1.0.3-beta) with @nut 's work on ntrip integration. It’s a beta, there were some little bugs in the gps/simulator/ntrip combo but I think they are resolved.

2 Likes

I have integrated the AGS file survey into AGopenGPS, so it should also use the roll compensation.
It’s really light, sould not interfere with the rest of the app.

But not sure all the sin/cos are OK, neither the altitude.
It’s independent from others boundary and fields.
Click on the button under the martian to make the buttons appear.
Right now the survey can be made with a field open or closed, it will create a survey.ags somewhere in the field directory, crushing the previous one!

When surveying, you have to drive the boundary first then the field. It make the survey pt on the pivot axle, the boundary pt at a half tool width from pivot axle.

I will give a try in a hilly field in some days and compare results with the opengrade survey.

To install, copy this AgOpenGPS.exe to your folder.
It’s a beta, some little visual bugs maybe.

If someone look at the code or run it in the field give me a feedback.

1 Like

Yes, I had trouble with mine, when to subtract the antenna height. Finally, decided on only when building the point from the driving. Because when loading an old file it would add that back. You can start and stop survey whenever, but in adding a boundary, do it first. Working on reducing the make the map routine time. I believe by sorting the pt list northing, then easting, then once the loops find the closest point, It should be able to focus on that area for the others. And once the distance begins to increase after finding the closet point, to exit that routine. In AOG, we already have the max and min field dimensions so no need to do that again. Just something I’m working out in my mind right now.

1 Like

I updated my AgOpenGPS.exe
aog
Changes:
It create a new ags each time, no more overwrite
It also create an agd file to verify the points with OpenGrade3D in the field right after survey (only for existing elevation check)
Some visual improvements

Still not tested in field.

@KentStuff I was thinking the last few days that we could develop a program only for design like optisurface, like what you do with AOG. I would like to have it all separate, AOG for survey, a design app and OpenGrade3D for levelling.

Are there any free design software available?

2 Likes

My goal was a simple field editing software that could handle a small leveling job all in one package in one field. But that is growing. My next project was to be able to slope the selected points to one direction. Or create a flow direction. Been also working on mapping the cut and fill. I’d like to export the maps to a jpeg file for printing. Not much success in drawing the contours yet. Finding all the even points is easy enough. Finding a closed circle, not so much (at least for me.). There are other using system.windows.bla.bla that can build meshes and contours, But each I have tried interferes with the main drawing functions.

3 Likes

I tried to look for one, without success. I would go for python to develop that part since all the math and surface visualization stuff is way easier and faster to develop that C++/C# and you can build a GUI as a web app quite easily.

Fitting a plane is quite easy, but doing a free form design like optisurface is bit more involved. Was trying out something with fitting a surface with least-squares and then putting a constrain on the gradient. It’s an optimization problem of finding a solution with no local minima (i.e. no ponding) along with a gradient constraint but couldn’t quite get it right on the first go.

3 Likes

Yeah, using optisurface is the fast solution for now, 2.50 USD/Ha for planes or 7.50USD/Ha for 3D design is not so bad.

A multi-plane software to begin would be great even if you have to manually set the height of each reference point(corner). Each design pt being calculated form is 3 closest reference pt.(My next opengrade should be able to handle also only the reference points) With a cut/fill calculation for each plane and the whole field. So you can adjust the pts to have a decent cut/fill ratio.

After some thought, I will personally devote time to other things (always too many projects here! :wink:) but will definitely give a try if anyone is working on this.
@KentStuff here is one of my field ags. 1.7Ha, Survey65.ags.txt (42,5 Ko) very flat, need to remove the ponds
I will make many surveys this fall so I will have a lot of data.

1 Like

I imported your field into AOGSurvey. This is what it looks like:

I “drove” around the field and created a boundary.

image

Opened in ABDraw and created a center section that was flattened, note the profile in the bottom of the screen.

image

Re opened the field with the cut and fill turned on. Red is cut, green is fill. By default when it loads a field with no cut/fill values it cuts a bit off the top. I can set it to zero, but was debugging when I built that into the program.

image

This is back in ABDraw with a profile lower left to upper right: Note nothing cut either side of original box.

image

This is a profile from the other direction:

image

This is the output file:

Survey.agd.txt (53.0 KB)

This image takes some of the hill off the west side:

image

A bit different cut fill view. Zero’s are black, more red, more cut, more green more fill.

image

2 Likes

I added a proposed view button in the display settings.

image

Just some some editing showing the field drain to the middle with a building pad. Building pad was just an east to west rectangle. It is apparent from this that the direction of the original survey marks make a difference. I believe the real software adjust the slopes to the surrounding areas to tie it all back in. This would add points to the survey list or just build a new “out” list with tighter or more strategically placed built points.

image

This is the cut/fill for the same as above.

image

This is it drawn to elevation. This is just approaching the south side of the pad looking northeast. You can see the notch in the pad due to the survey points as mentioned above. These squares are the 1 meter maps.

image

And this is that ponding area in the field you mentioned above, sitting in the low spot looking northwest.

image

3 Likes