Since it’s cold and snowy outside again, thought I’d post a quick note to let anyone interested know that I’ve picked up work on QtAOG again. The hardest part is coming up with a name! I want to remove Qt from the name, and rename it so that people know it is based on AOG, but it is not AOG. f Any ideas are welcome. Too bad QOpenGuidance is taken!
User-interface-wise it still is virtually unchanged from before and mostly non-functional. However the core logic ported from AOG has been updated and is mostly in sync now with branch v4 of AOG, as of a couple of days ago. This means auto steer is working, U turn, dubins path planning, Stanley steering, and the basic simulator, so it can be played with at least. Also has the new section control logic. The only thing the UI lets you do right now is drive, turn on auto steer, you turn, and turn the sections on and off.
Does not have any code for serial ports or networking yet.
I tried to change as little as possible when porting the code. To make life easier in C++ I did remove all references to the main form in the Classes. Instead everything that’s needed is either passed in or retrieved from the application global settings store. I moved some variables to different classes, such as placing the array of sections inside the tool. Some of my moves I noticed Brian has already begun to do in AOG. There are lots of variables in AOG classes that mirrored the data stored in the Properties (settings), so I eliminated them which made things easier. Speed of retrieving data from the settings store doesn’t seem to be much different.
Currently I’m working on the file saving and loading methods. After that I’ll work on the methods and functions the GUI will need to do things like create AB lines, etc. Munhktamir from South Korea is doing some work on a GUI that hopefully can be attached later this summer.
I’ve got some time to spend on it while it’s still cold so we’ll see how far I get. I can only hope Brian will get good weather soon to finish his harvest and start planting, so he’ll be too busy to work on AOG and I can catch up again.
The code is at GitHub - torriem/QtAgOpenGPS: A Qt C++ port of BrianT's AgOpenGPS, in the csport branch, which I’ll merge back into the master at some point soon.
Currently compiles and runs on Linux, Windows, and Android, but should work on any Qt-supported platform that has some 3D support, equivalent to OpenGL ES 2.