Welcome! Log In Create A New Profile

Advanced

Sprinter won't compile if acceleration is commented out (Solved)

Posted by brnrd 
Sprinter won't compile if acceleration is commented out (Solved)
October 01, 2011 09:46AM
I want to try running Sprinter with the acceleration turned off. If I comment out the line #define RAMP_ACCELERATION, I get compilation errors. Has anyone successfully done this?

Edited 1 time(s). Last edit at 10/06/2011 07:57AM by brnrd.
Re: Sprinter won't compile if acceleration is commented out
October 01, 2011 01:52PM
Just set the acceleration to 10000000 and it will act as if it has no acceleration.

And if its like Teacup you could also try setting it to Zero. (disables acceleration in teacup)


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: Sprinter won't compile if acceleration is commented out
October 02, 2011 04:55PM
Yes. But win't it still go through the computations to figure out the acceleration. This adds additional work for the processor.
Re: Sprinter won't compile if acceleration is commented out
October 02, 2011 05:25PM
Re: Sprinter won't compile if acceleration is commented out
October 02, 2011 05:32PM
Yes. I might just do that. Using Sprinter is, of course, more convenient since I can keep everything the same except for the acceleration. So, I'll try your other suggestion first of increasing the acceleration factor.
Re: Sprinter won't compile if acceleration is commented out
October 03, 2011 05:28AM
Quote

And if its like Teacup you could also try setting it to Zero. (disables acceleration in teacup)

That's news to me and works by accident at best. To get rid of acceleration in Teacup, comment out both acceleration types.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Sprinter won't compile if acceleration is commented out
October 03, 2011 12:01PM
I got Sprinter to compile with acceleration turned off. In addition to commenting out #define RAMP_ACCELERATION in configration.h, I also inserted #ifdef statement in the #define for heat management during accelaration in the same file:

Quote

// Comment the following line to enable heat management during acceleration
#ifdef RAMP_ACCELERATION    //brnrd 20111003
#define DISABLE_CHECK_DURING_ACC
#ifndef DISABLE_CHECK_DURING_ACC
#endif    //brnrd 20111003

I'll see if it runs.
Sorry, only registered users may post in this forum.

Click here to login