Trying to do the final bit of my calibration on the triangular linkage. I have taken my measurements and input them and I click Enter Values and GC crashes and provides the message “Failed to execute script main”.
Any ideas?
So I actually went back to GC 1.04 and attempted it to run the final test pattern calibration and it gave me an error message and just said it couldn’t calibrate and to check my machine dimensions.
Windows 10
1.6 FW / 1.06 GC
Final Frame, Non-Standard
Z axis motor
Triangular Mount
Do you happen to have your groundcontrol.ini and/or log files available?
The second error message, the one about not being able to calibrate and to check the machine dimensions, occurs when the iterative calibration routine exits without being able to determine machine parameters. Significantly off initial values could contribute to this, but either of the above files would confirm or deny that is happening here. Do you happen to remember the measurements you entered in?
The failed to execute script main is a different one that I haven’t seen before though.
Windows 10
My PC is a little Foxconn NT-A3500, AMD E-350 processor.
I am at work but I can post the log file later tonight. I assume it is something with the “initial guesses” that I had in the system. Oddly though, I have calibrated this before and it worked fine. I simply moved is location in my garage.
This is probably an asked and answered question but I see the following dimensions in the settings here is what I understand about these dimensions;
Distance Between Motors - Calibrated Value Motor Offset - Input Initial Guess but Ends up as a Calibrated Value Distance Between Mounting Points - N/A for Triangular Kinematics Vertical Distance Sled Mounts to Cutter - I THINK this is from the chain connection points of the linkage kits to the cutter. CoG - N/A for Triangular Kinematics Chain Length - This is a new one for me, is this just the overall length of chain the machine has, my frame is marginally larger than the stock frame so perhaps this is part of my issue? Rotation Radius for Triangular Kinematics - for Logan’s kit I think this is 4.5" Chain Sag Correction Value - Calibrated Value
Also, the message I get is in the Command Prompt window that runs in parallel with GC. The main GC window will disappear and that message appears as the last line prior to the Command Prompt windows closes out.
The only critical values you need to worry about during calibration, when using triangular kinematics, are:
Distance between motors
Motor offset
Rotation radius
Chain sag correction
In the current calibration routine, the distance between motors is determined using the chain, then an initial motor offset is estimated based on the step where the chain hangs down to the top of the work area. During the triangular calibration process where the cuts are made, the final motor offset, rotation radius, and chain sag correction value are determined.
My first guess, if you’re getting the error that it cannot calibrate, would be that for some reason it’s thinking you need a negative chain sag correction value, which is not allowed. But seeing your .ini file and/or logs, along with the measurements you entered, would confirm that.
So far my thoughts are not panning out on this one. It just seems to be belching on something. The error is non descript - I think it’s returned because of an unclean exit similar to a heap overflow. I was thinking if it had a low memory pool it could be it is running out. But a negative number in the wrong place could explain it.
So this has an interesting problem with this computer the video drivers are no longer supported by AMD directly and MSFT pushes them. I have the latest updates for the drivers from MSFT.
I misstated before I have 4GB of RAM of which 256MB is allocated to the video card.
My chain sag correction value had originally been set to 19.58…something. I left it when I recalibrated.
Alright, just started from a blank ini file. Still having the same behavior. In 1.06 it crashes out, in 1.04 it simply tells me I need to check my dimensions.
Attached is the log file and the below are my test cut dimensions:
1 to 2 = 1929 mm
3 to 4 = 1938 mm
5 to Top = 229 mm
Hmm, the groundcontrol.old file is really helpful because this sounds to me like an issue where one of the settings weren’t adding up (for example if it thought the motors were 100 feet apart or something similar)…unfortunately from looking at the file everything looks normal.
hmmm that is a good catch because the Chain Sag Correction had been 19.38…something and I thought it might be causing the issue and I reset it to 0 in GC.