jcrocholl / kossel

Mini Kossel portable delta robot 3D printer.
http://deltabot.tumblr.com
GNU General Public License v3.0
519 stars 297 forks source link

Compile Errors with marlin delta if I enable bed auto leveling?? Plse help! #15

Open tmoelich opened 10 years ago

tmoelich commented 10 years ago

.Hi I'm new to github so please be patient - :). I got a home build rostock/kossel hybrid 3D delta printer all works well with Marlin v1 but as soon as I enable auto bed leveling I get a lot of errors - see below Please can someone help and tell me what to do? I use Ramps with Arduino mega R3 and Arduino 1.5.0 compiler I searched the whole program to see about this "ABL_PROBE_PT_X" but no cigar am I missing something here

Regards Theo

Marlin_main.cpp: In function 'void set_bed_level_equation_3pts(float, float, float)': Marlin_main.cpp:882: error: 'ABL_PROBE_PT_1_X' was not declared in this scope Marlin_main.cpp:882: error: 'ABL_PROBE_PT_1_Y' was not declared in this scope Marlin_main.cpp:883: error: 'ABL_PROBE_PT_2_X' was not declared in this scope Marlin_main.cpp:883: error: 'ABL_PROBE_PT_2_Y' was not declared in this scope Marlin_main.cpp:884: error: 'ABL_PROBE_PT_3_X' was not declared in this scope Marlin_main.cpp:884: error: 'ABL_PROBE_PT_3_Y' was not declared in this scope Marlin_main.cpp: In function 'void process_commands()': Marlin_main.cpp:1540: error: 'ABL_PROBE_PT_1_X' was not declared in this scope Marlin_main.cpp:1540: error: 'ABL_PROBE_PT_1_Y' was not declared in this scope Marlin_main.cpp:1543: error: 'ABL_PROBE_PT_2_X' was not declared in this scope Marlin_main.cpp:1543: error: 'ABL_PROBE_PT_2_Y' was not declared in this scope Marlin_main.cpp:1546: error: 'ABL_PROBE_PT_3_X' was not declared in this scope Marlin_main.cpp:1546: error: 'ABL_PROBE_PT_3_Y' was not declared in this scope

tmoelich commented 10 years ago

I think I know the problem but do not know the solution, inside configuration.h is a comment that explains that for delta printers the 2 files, "configuration.h & configuration_adv.h" should be copied into the working Arduino directory. I did this but this new configuration.h does not contain the ABL_PROBE variables, it is however in the original cinfiguration.h that gets overwritten with the copy... This file does not contain the delta kinematics again, so I'm not sure what should be copied to what the get auto bed leveling to work for delta printers. Maybe the zip file can be fixed and downloaded again Many thanks Theo

TheSchnucki commented 10 years ago

Ok, I am new on my own here but:

You are asking in an area that is mainly caring about the hardware. In the Kossel subdirectory there are drawings and stuff. Perhaps you would find the real helpful people and answers if you change to the Marlin directory. There you can find a detailed installation, the comment that some configurations only work with the old v23 Arduino IDE and probably we could have a look in that issue there.

tmoelich commented 10 years ago

Oops sorry I'm still learning about Github, sorry

ElJefeDSecurIT commented 10 years ago

this seems to be the problem, that this IS a software bug with the template. you will need to review the default with the delat template to get the defines right. theschnucki this is exactly where this question belongs.

tmoelich commented 10 years ago

Many many thanks rhuuk420 I will review the default and have a look

Regards Theo

ElJefeDSecurIT commented 10 years ago

that would be most excellent. this and another bug in pins.h. I managed to get a version sorted out enough to compile. it’s too late here to test on my Kossel, which is still in pieces. there also appears to be a logical conflict in the pinout for Z_MIN_PIN when I last attempted to compile(pins.h). once I assigned 18 (for now) just to get it compile. i’ll still need to confirm settings for full test, but i’ll try and req this one out for now.

I can upload it, but being possibly my 1st post into github it’s a bit daunting… update: forked it and submitted the ull req. changes to the configuration.h and pin.h

Sent from Windows Mail

From: tmoelich Sent: ‎Monday‎, ‎October‎ ‎13‎, ‎2014 ‎1‎:‎21‎ ‎AM To: jcrocholl/kossel Cc: rhuuk420

Many many thanks rhuuk420 I will review the default and have a look

Regards Theo

— Reply to this email directly or view it on GitHub.