Distinguish between fast and slow FeedToBondtech stage
parent
ed4c1712f7
commit
d830a92fee
|
|
@ -36,7 +36,10 @@ bool FeedToBondtech::Step() {
|
||||||
dbg_logic_fP(PSTR("Pulley start steps %u"), mpu::pulley.CurrentPosition_mm());
|
dbg_logic_fP(PSTR("Pulley start steps %u"), mpu::pulley.CurrentPosition_mm());
|
||||||
state = PushingFilamentToFSensor;
|
state = PushingFilamentToFSensor;
|
||||||
mpu::pulley.InitAxis();
|
mpu::pulley.InitAxis();
|
||||||
mpu::pulley.PlanMove(config::defaultBowdenLength, config::pulleyLoadFeedrate, config::pulleySlowFeedrate);
|
// plan a fast move while in the safe minimal length
|
||||||
|
mpu::pulley.PlanMove(config::minimumBowdenLength, config::pulleyLoadFeedrate, config::pulleySlowFeedrate);
|
||||||
|
// plan additional slow move while waiting for fsensor to trigger
|
||||||
|
mpu::pulley.PlanMove(config::maximumBowdenLength - config::minimumBowdenLength, config::pulleySlowFeedrate, config::pulleySlowFeedrate);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
case PushingFilamentToFSensor:
|
case PushingFilamentToFSensor:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue