Distinguish between fast and slow FeedToBondtech stage

pull/173/head
D.R.racer 2022-05-20 09:59:58 +02:00
parent ed4c1712f7
commit 043e7aef0b
1 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,10 @@ bool FeedToBondtech::Step() {
dbg_logic_fP(PSTR("Pulley start steps %u"), mpu::pulley.CurrentPosition_mm());
state = PushingFilamentToFSensor;
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;
case PushingFilamentToFSensor: