View Single Post
Old 10-12-13, 09:55 PM   #7
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,975
Downloads: 153
Uploads: 11
Default

Another update:

I changed the turning radius variable from r to rp, and that seems to have fixed the problem. Do computers dislike short variable names? There are other variables with one letter and they are ok. Oh well.

The problem with the sketch window was unrealated. There is an auxiliary window that is used for different calculations. Some are related to the solution, some are entirely seperate. A couple of these functions used the Abg (angle, bearing) variable and would overwrite the value that the sketch function used. This would mess up the sketch when it was done after the aforementioned aux. functions. I renamed the variables to fix this.

After banging my head against the wall, I feel almost euphoric now.
TorpX is offline   Reply With Quote