Closed svenn71 closed 6 years ago
Cool. You can draw it out manually and save a lot of calculations like this....
gl.LineWidth(3);
gl.Color(0.9, 0.5, 0.30);
gl.Begin(OpenGL.GL_LINE_STRIP);
//for (int ii = 0; ii < 4; ii++)
{
gl.Vertex(1, -antennaPivot + wheelbase + 5, 0.0);
gl.Vertex(0, -antennaPivot + wheelbase + 8, 0.0);
gl.Vertex(-1, -antennaPivot + wheelbase + 5, 0.0);
}
gl.End();
Keeping calculations to a minimum seems to be quite crucial. The windows tablet that I use in one setup is draining its battery even if I supply 2.1A power. If I shut down AOG when taking a longer break filling up the sprayer, I give the system a bit of slack to recharge.
Maybe a 'pause' switch in AOG to stop the timing loop temporarily would be an option to shutting down AOG. Not that it is a problem to do that once I found out what to do to stretch my battery life time.
This patch will add an aim in the form of a diamond on a rod a few meters in front of the triangle that represents the vehicle. I find it easier to drive along a line like an AB or contour guide line when such a feature is included. I have not found the optimum geometry for the feature, but it is more a proof-of-concept than a finished feature. Taking hard turns is outside the scope of the aim.