Distinguish between fast and slow FeedToBondtech stage

pull/174/head
D.R.racer 2022-05-20 09:59:58 +02:00 committed by DRracer
parent ed4c1712f7
commit d830a92fee
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()); 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: