Maslow #29 BuildLog

For the offset? That was just a guess. The X and Y I kept increasing till I could get enough belt out to reach the anchors.

Unfortunately, my one anchor let go during calibration so I have 35 minutes left on a replacement glue drop in that might hold a little better.

1 Like

After this message I would expect to see something like “Computing calibration…this might take a minute” followed by the computed coordinates of the anchor points. That didn’t happen? :no_mouth:

No it did not, but it was on the firmware that shipped with the board.

1 Like

That might be the issue. The fix was to both the firmware and index.html files.

I’ll have an even more improved version today

If you want to skip the process I ran it based on those numbers and I got

(99.12088228138177, 2715.2467411626308), (3671.520157642104, 2786.2286094912065)
(0, 0), (3632.4663614956035, 0)
Fitness: 0.7156568559552068

Which looks good :grinning:

TLX:99.1
TLY:2715.2
TRX: 3671.5
TRY: 2786.2
…etc

Thank you. The 3D printer was done before I read this and already epoxied my patched pieces to the top of the anchor and sent it. Currently it is on waypoint 17. Is running calibration something that needs to be done every time the firmware is flashed?

1 Like

Nope! Only if your anchor points move. So in theory it’s a once in a lifetime thing.

That being said we will almost certainly improve the accuracy of the process at some point in the not too distant future which will probably require a re-run.

Here is what it came out with post-calibration.

Fitness: 0.5298771173135806 in 121100 cycles
Calibration complete 
Calibration values:
Maslow_tlX: 5.85356251852747
Maslow_tlY: 2785.2971301982557
Maslow_trX: 3649.893523804883
Maslow_trY: 2818.7021483687827
Maslow_blX: 0
Maslow_blY: 0
Maslow_brX: 3665.860406479013
Maslow_brY: 0
1 Like

So post yaml upload and reset I hit “take slack” like the user guide suggests. The machine does not move though.

[MSG:INFO: Took measurement at waypoint 0]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2125.622mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2159.201mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2146.453mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2166.800mm]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2086.885mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2198.103mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2107.928mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2205.919mm]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2046.878mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2239.128mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2068.148mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2247.141mm]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2055.332mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2247.081mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2059.670mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2239.290mm]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2108.666mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2297.374mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2008.370mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2191.956mm]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2164.485mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2244.711mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2062.543mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2132.082mm]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is -2160.251mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is -2194.138mm]
[MSG:ERR: Position error on Bottom Left axis exceeded 1mm, error is -2112.383mm]
[MSG:ERR: Position error on Bottom Right axis exceeded 1mm, error is -2133.048mm]
1 Like

Let me check that it’s working right for me

It’s slightly concerning that these numbers don’t match up with the ones that I computed earlier, but that’s not the issue with takeSlack

If you do Power off → Power On → Retract All → Extend All do you see the same thing?

The machine is sitting where it was after calibration.

Ah after the restart it needs to retract and extend all the belts again so that it knows where they are.

Any time that the machine restarts (like after changing the config file) the machine doesn’t know if it’s been off for 1 second or a week so it assumes that it’s starting out in a totally unknown state and it won’t do anything until the belts are retracted so it can zero them.

I’ll add a warning message to take slack to make that more clear.

I’ve added a more clear error message in this case.

Okay, so

  1. Power Off
  2. Power On
  3. Pull the pins in all 4 corners
  4. Retract All
  5. Extend All
  6. Put pins in
  7. Take Slack
  8. Try to move once tight.
[MSG:INFO: Retracting all belts]
[MSG:INFO: 1 pulled tight with offset -1157.414]
[MSG:INFO: 0 pulled tight with offset -1823.857]
[MSG:INFO: 2 pulled tight with offset -2840.918]
[MSG:INFO: 3 pulled tight with offset -3198.065]
[MSG:INFO: Extending all belts]
[MSG:ERR: Motor current on Top Right axis exceeded threshold of 4000mA, current is 4018mA]
[MSG:ERR: PANIC! Stopping all motors]
error:8
1 Like

Can we try entering these values in the config file? It sounds to me like there is something off with the other values and since we have a second set to test that seems like the easiest next step

Yeah so with the values you provided same pull pin and whole process on the take slack it goes into alarm. Dismissing the alarm it still doesn’t move.

[MSG:INFO: Retracting all belts]
[MSG:INFO: 1 pulled tight with offset -1982.461]
[MSG:INFO: 2 pulled tight with offset -2126.163]
[MSG:INFO: 0 pulled tight with offset -2176.870]
[MSG:INFO: 3 pulled tight with offset -2322.247]
[MSG:INFO: Extending all belts]
[MSG:ERR: Motor current on Top Right axis exceeded threshold of 4000mA, current is 4012mA]
[MSG:ERR: PANIC! Stopping all motors]
[MSG:INFO: Caution: Unlocked]
[MSG:ERR: Position error on Top Left axis exceeded 1mm, error is 5.164mm]
[MSG:ERR: Position error on Top Right axis exceeded 1mm, error is 1905.709mm]
1 Like
 Right axis exceeded 1mm, error is 1905.709mm]

This doesn’t look right to me