Results 61 to 70 of 109
-
01-20-2015, 03:49 PM #61
- Join Date
- Nov 2014
- Posts
- 522
i use z safe homing so it hits x and y then moves to the center of the bed to home z... havent had an issue with it... not sure why your having issues
-
01-20-2015, 04:17 PM #62
Well... I didn't actually make the 'suggested changes' and compile it. But if you have a number without a decimal point it is considered an integer. By putting the (double) cast in front of it you do not truncate the integer. You convert it to an equivalent double precision floating point number. So, in the modified line, I forced the conversion of every number to (double) precision floating point so there would be no issues doing the comparison.
I don't actually know that the Arduino compiler tolerates floating point comparisons in the #if preprocessor statements.
I messed up and got a cast in a 'less than proper' place:
#if (( (double)X_PROBE_OFFSET_FROM_EXTRUDER * (double)(AUTO_BED_LEVELING_GRID_POINTS-1)) >= ((double)RIGHT_PROBE_BED_POSITION - (double)LEFT_PROBE_BED_POSITION))
UPDATE: It looks like the #if preprocessor directives in the Arduino Compiler are not tolerant of floating point comparisons. That seems pretty bogus. Obviously the compiler can handle floating point numbers and do floating point comparisons. But for some reason the pre-processor says "I'm crippled and can only do integer comparisons." What is this world coming to? Oh well... It can be worked around.Last edited by Roxy; 01-20-2015 at 04:47 PM.
-
01-20-2015, 05:17 PM #63
- Join Date
- Dec 2014
- Location
- Canada
- Posts
- 498
-
01-20-2015, 05:23 PM #64
- Join Date
- Jan 2015
- Posts
- 9
-
01-20-2015, 05:25 PM #65
- Join Date
- Nov 2014
- Posts
- 522
-
01-20-2015, 09:51 PM #66
- Join Date
- Jan 2015
- Posts
- 9
i've got everything working with the auto bed leveling now, athough with the new version of marlin, my heated bed takes much longer to heat up, anyone know a fix for this?
-
01-20-2015, 11:23 PM #67
-
01-20-2015, 11:52 PM #68
- Join Date
- Jan 2015
- Posts
- 9
thats what i thought at first too, but i have the same ones as the original makerfarm marlin firmware, someone else was suggesting it has to do with the thermistor tables, but it doesn't seem wise to copy over the thermistortable file from the makerfarm marlin since the new one has over 4000 more lines of code in it.
I believe these are the values you are referring to:
#define DEFAULT_bedKp 402.00
#define DEFAULT_bedKi 78.92
#define DEFAULT_bedKd 511.90Last edited by shook; 01-20-2015 at 11:58 PM.
-
01-20-2015, 11:59 PM #69
-
01-21-2015, 02:31 AM #70
- Join Date
- Jan 2015
- Posts
- 9
Qidi X Plus 3 Paper thin first...
Yesterday, 01:15 AM in General 3D Printing Discussion