Welcome! Log In Create A New Profile

Advanced

Colision detection feature in marlin?

Colision detection feature in marlin?
June 04, 2021 11:46AM
Hello. I want to have a safety crash feature. After some search i think M914 might do what i want. I'm trying to use M914 command, but i get "unknown command". How can i use M914?
The oficial page doesn't specify what i have to enable to get M914 recognized. [marlinfw.org]
Re: Colision detection feature in marlin?
June 04, 2021 09:25PM
#if ENABLED(USE_SENSORLESS)
static void M914();
#endif

ie you need to use either SENSORLESS_HOMING or SENSORLESS_PROBING
Re: Colision detection feature in marlin?
June 05, 2021 02:41PM
I found in gcode.h the line:
TERN_(USE_SENSORLESS, static void M914());

So, how can i use M914 without SENSORLESS_HOMING or SENSORLESS_PROBING?

Can i, for example, replace this line, wih this:
TERN_(USE_SENSORLESS, static void M914()); ----> TERN_(HAS_STEALTHCHOP, static void M914()); (similiar to the line above)

If i do this, I will be able to use M914, with no problems?
Sorry, only registered users may post in this forum.

Click here to login