Git Product home page Git Product logo

Comments (9)

objecttothis avatar objecttothis commented on June 12, 2024

From #21013 I see that the indices for which tramming point is the problem starts at zero, not one. I'm a software developer and this wasn't clear to me. These asserts are generally read by intermediate to advanced hobbyists so the failure message should be clearer. That said, this is still an issue, because it should be reporting assert failures at both index 0 and 3.

from marlin.

thisiskeithb avatar thisiskeithb commented on June 12, 2024

Additional information & file uploads

Configuration.zip

These are not bugfix-2.1.x configs.

image

Please download bugfix-2.1.x to test with the latest code and let us know if you're still having this issue.

from marlin.

objecttothis avatar objecttothis commented on June 12, 2024

Additional information & file uploads

Configuration.zip

These are not bugfix-2.1.x configs.

image

Please download bugfix-2.1.x to test with the latest code and let us know if you're still having this issue.

The code it's compiling is the latest bugfix. The config files were from your list of pre-configured config files for the ender 3. I'll diff with the latest configuration files and report back.

from marlin.

thisiskeithb avatar thisiskeithb commented on June 12, 2024

The code it's compiling is the latest bugfix.

That is not possible. bugfix-2.1.x will not build with the 2.1.2.2 configs that you uploaded here due to a version mismatch.

from marlin.

thisiskeithb avatar thisiskeithb commented on June 12, 2024

Using the Creality/Ender-3/CrealityV427 config from the Configurations bugfix-2.1.x branch, it builds fine:

Linking .pio/build/STM32F103RE_creality/firmware.elf
Checking size .pio/build/STM32F103RE_creality/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]  11.2% (used 7312 bytes from 65536 bytes)
Flash: [===       ]  28.5% (used 149428 bytes from 524288 bytes)
Building .pio/build/STM32F103RE_creality/firmware.bin
rename_target([".pio/build/STM32F103RE_creality/firmware.bin"], [".pio/build/STM32F103RE_creality/firmware.elf"])
========================================================= [SUCCESS] Took 40.42 seconds =========================================================

Environment           Status    Duration
--------------------  --------  ------------
STM32F103RE_creality  SUCCESS   00:00:40.419
========================================================= 1 succeeded in 00:00:40.419 =========================================================
 *  Terminal will be reused by tasks, press any key to close it. 

from marlin.

objecttothis avatar objecttothis commented on June 12, 2024

I think my confusion had been that while I started with the aim of downloading bugfix-2.1.x, I then followed the procedure outlined for Auto Build Marlin, so it downloaded 2.1.2.2.

I downloaded bugfix-2.1.x then merged changes from my submitted configuration files (see attached) and built again. The problem is the same

Marlin\src\gcode\bedlevel\../../feature/tramming.h:59:72: error: static assertion failed: TRAMMING_POINT_XY point 3 is not reachable with the default NOZZLE_TO_PROBE offset and PROBING_MARGIN. 
   59 | #define _CHECK_TRAM_POINT(N) static_assert(Probe::build_time::can_reach(tramming_points[N]), "TRAMMING_POINT_XY point " STRINGIFY(N) " is not reachable with the default NOZZLE_TO_PROBE offset and PROBING_MARGIN.");
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~

image
Configuration.zip

from marlin.

objecttothis avatar objecttothis commented on June 12, 2024

also, something is not right with the tramming wizard.

  • The front-left measurement is taken with the probe position x 54 y 15 not the 49.5 and 30 I have specified.
  • The front-right measurement is taken with the probe position x 209 y 15 not the 205 and 30 I have specified.
  • The back-right measurement is taken with the probe position x 209 y 192 not the 205 and 205 I have specified.
  • The back-left measurement is taken with the probe position x 54 y 192 not the 49.5 and 205 I have specified.

from marlin.

objecttothis avatar objecttothis commented on June 12, 2024

Running Motion > Bed Leveling > Bed Tramming probes in still different points, though much closer to the specified points. The Z-Homing point is not at BED_X_SIZE /2 , BED_Y_SIZE / 2 like I would expect it. Like my Y values from bed tramming wizard, it too is 15mm forward. of what it should be (Y 102.5 instead of 117.5). X is also wrong, but 120 instead of 117.5, so not the 4.5mm it's off in bed tramming wizard.

It may be related but bed leveling is probing at y -1 for the first row. I would need to crank up my probe offsets to get it to get back on the board. Doing that would throw these other tramming algorithms off though.

from marlin.

thisiskeithb avatar thisiskeithb commented on June 12, 2024

also, something is not right with the tramming wizard.

You have the following enabled in the configs you uploaded here: #define TRAMMING_POINT_XY { { 30, 30 }, { 205, 30 }, { 205, 205 }, { 30, 205 } }, not the values you posted.

Running Motion > Bed Leveling > Bed Tramming probes in still different points,

Yes, because you have the following in your config: #define BED_TRAMMING_INSET_LFRB { 49.5, 49.5, 49.5, 49.5 }

it's actually the first and fourth tramming point

The echoed tramming point index in the static assert could be improved, but that is already mentioned in #21013. For your other issues, please visit the links in the message below.


This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

from marlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.