implemented a mixture of Sonny's MATLAB and my previous grbl planner

ontop of the edge planner
examples run byte for byte identical old and new version
This commit is contained in:
Jens Geisler
2013-02-20 14:56:47 +01:00
parent 97d18f0ffe
commit dba26eff91
5 changed files with 131 additions and 150 deletions

View File

@ -62,6 +62,7 @@ static uint8_t out_bits; // The next stepping-bits to be output
// this blocking variable is no longer needed. Only here for safety reasons.
static volatile uint8_t busy; // True when "Stepper Driver Interrupt" is being serviced. Used to avoid retriggering that handler.
// __________________________
// /| |\ _________________ ^
// / | | \ /| |\ |
@ -380,3 +381,8 @@ void st_cycle_reinitialize()
sys.state = STATE_IDLE;
}
}
uint8_t st_is_decelerating() {
return st.ramp_type == DECEL_RAMP;
}