geneb / OctoPrint-Delta-Calibration

OctoPrint plugin to run dc42's "least squares" delta calibration algorithm.
16 stars 12 forks source link

Smoothieware support? #2

Open Armadillo1 opened 7 years ago

Armadillo1 commented 7 years ago

Any chance for smoothieware implementation ? Would be superb

Thanks and sorry for bothering :) Great job

geneb commented 7 years ago

It's not a bother at all. :)

The calibration plugin is designed to solve one specific problem - the inability to implement proper calibration on an 8 bit controller due to hardware constraints. Smoothieware only runs on 32 bit boards and the most current releases should include the same least-squares calibration system that I'm using. Take a peek here: http://smoothieware.org/third-party-branches - the "Least squares leveling" is the link you're after. It looks like I was incorrect about it being included in the main release - there's no excuse for that routine not being in the mainline Smoothieware code.

Armadillo1 commented 7 years ago

Apparently the reason for it not being in the main branch is that it eats up so much ram that you need to disable lcd and other stuff for it to work...else the board crashes. That's why it needs to be a 3rd party implementation...octoprint would fit extremely well. The smoothieware devs actually were discussing that a couple years ago with David from duet...but afaik there's a bit of friction between both projects' devs...so I doubt duet's calibration will ever officially be implemented into smoothieware or for example their web interface. That's why...if you were willing to adapt this to smoothieware as well...you'd be a hero :) Thanks

On 12 Apr 2017 15:15, "Gene Buckle" notifications@github.com wrote:

It's not a bother at all. :)

The calibration plugin is designed to solve one specific problem - the inability to implement proper calibration on an 8 bit controller due to hardware constraints. Smoothieware only runs on 32 bit boards and the most current releases should include the same least-squares calibration system that I'm using. Take a peek here: http://smoothieware.org/third- party-branches - the "Least squares leveling" is the link you're after. It looks like I was incorrect about it being included in the main release - there's no excuse for that routine not being in the mainline Smoothieware code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geneb/OctoPrint-Delta-Calibration/issues/2#issuecomment-293590510, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhhcXYKyw0mdLxCcgDh_E_b4oJUILhxks5rvNx9gaJpZM4M60VM .

geneb commented 7 years ago

I'm not averse to it, I just don't own a Smoothie board. :)

Armadillo1 commented 7 years ago

I wonder if i'd manage to port it to smoothie after just some basic arduino...

There wouldn't even any eeprom reading...just getting current settings from m665 m666 and running g29...

Perhaps you'd be willing to give it a try if i roughly supply you with what needs to be read and put into the calculator?

On 12 Apr 2017 17:44, "Gene Buckle" notifications@github.com wrote:

I'm not averse to it, I just don't own a Smoothie board. :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geneb/OctoPrint-Delta-Calibration/issues/2#issuecomment-293638554, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhhcSBqtu7r1tT7adYoWopRrFYB9WFUks5rvP9ogaJpZM4M60VM .

geneb commented 7 years ago

Are you aware of this: http://www.escher3d.com/pages/wizards/wizarddelta.php ? It's essentially the core of my plugin and allows you to hand-key the test point values.

Armadillo1 commented 7 years ago

That's exactly what i'm using now on my smoothie, as well as on repetier before that. However doing it all by hand takes a while...especially since I'm experimenting with the delta quite a lot and need to recalibrate quite often. I'd say with smoothie it should be even easier, because all the required information for the calculator comes from just two g codes (M665 M666) and probing is done with G29 (does 7 points, same as escher if the radius is the same)

On Wed, Apr 12, 2017 at 9:17 PM, Gene Buckle notifications@github.com wrote:

Are you aware of this: http://www.escher3d.com/pages/ wizards/wizarddelta.php ? It's essentially the core of my plugin and allows you to hand-key the test point values.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geneb/OctoPrint-Delta-Calibration/issues/2#issuecomment-293694874, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhhcfv-kiNpv7aTobZyXjYReTl5bLCSks5rvTFOgaJpZM4M60VM .