Miscellaneous changes for PA calib:

1. Changed printing speed for all PA tests, where the speed will be calculated by max(100, outer_wall_speed) with consideration of max_volumetric_speed.
2. PA tower now uses the classic wall generator.
#1616
This commit is contained in:
SoftFever 2023-07-30 23:03:36 +08:00
parent b571318be8
commit 92b1ff824a
4 changed files with 36 additions and 9 deletions

View file

@ -26,7 +26,11 @@ struct Calib_Params {
};
class CalibPressureAdvance {
protected:
public:
static float find_optimal_PA_speed(const DynamicPrintConfig &config, double line_width, double layer_height,
int filament_idx = 0);
protected:
CalibPressureAdvance() =default;
~CalibPressureAdvance() =default;
@ -120,8 +124,7 @@ struct SuggestedConfigCalibPAPattern {
const std::vector<std::pair<std::string, double>> float_pairs {
{"initial_layer_print_height", 0.25},
{"layer_height", 0.2},
{"initial_layer_speed", 30},
{"outer_wall_speed", 100}
{"initial_layer_speed", 30}
};
const std::vector<std::pair<std::string, double>> nozzle_ratio_pairs {