Close



Results 1 to 10 of 396

Hybrid View

  1. #1
    Staff Engineer printbus's Avatar
    Join Date
    May 2014
    Location
    Highlands Ranch, Colorado USA
    Posts
    1,437
    Add printbus on Thingiverse
    I believe hypot is an Arduino function. It wouldn't be defined in the Marlin files.

  2. #2
    Engineer
    Join Date
    Jul 2014
    Location
    Eastern Colorado
    Posts
    536
    I don't have to check, I know I have it enabled and set to 1000. All commenting it out will do is cause Marlin to skip that part, as the "if" will no longer match. The unmodified version from the zip file compiles properly. It's something to do with my settings somehow.

    Oh, I see, the unmodified version has that line commented out, too. Hmm. Yes, if I activate that line, it throws that error.

    I'm reverting back to my old Marlin. My servo jitters constantly without the deactivation delay, and I don't trust it to be accurate when homing or bed level probing.
    Last edited by AbuMaia; 09-24-2014 at 09:22 PM.

  3. #3
    Something else to look at in the configuration.h, right about that line it says :
    //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
    //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
    // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.



    Quote Originally Posted by AbuMaia View Post
    I don't have to check, I know I have it enabled and set to 1000. All commenting it out will do is cause Marlin to skip that part, as the "if" will no longer match. The unmodified version from the zip file compiles properly. It's something to do with my settings somehow.

    Oh, I see, the unmodified version has that line commented out, too. Hmm. Yes, if I activate that line, it throws that error.

  4. #4
    Engineer
    Join Date
    Jul 2014
    Location
    Eastern Colorado
    Posts
    536
    Quote Originally Posted by printbus View Post
    Jeez. Looks like I'll be needing to download the newer code to help out where I can. I don't have the code with the retract_z_probe function in it. BUT, looking at the number of other places in marlin_main.cpp that where similar code exists in the older version, I'll bet the 'void retract_z_probe()' should really be 'void retract_z_probe(int axis)'.
    I tried that, it threw many more errors which I can't remember well enough to quote right now.

    Quote Originally Posted by ctcwhexdx View Post
    Something else to look at in the configuration.h, right about that line it says :
    //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
    //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
    // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.
    Yes, I saw that too. I used the deactivation delay before this fork came out, so it was working properly before. I have it set up properly.

    Comparing the new version with what I was using yesterday, that whole "Retract Z Servo endstop if enabled" section is new. I commented it all out for now.
    Last edited by AbuMaia; 09-24-2014 at 09:32 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •