ENH: add timelapse pos picker

1. refine code structure
2. prevent moving tool head between camera and object
3. consider raft layer

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic0004791bfd4036d4323045a041709d861e5c8d0
(cherry picked from commit 7dc269f99473421162ad89c555bfac7ace0e9a6b)
This commit is contained in:
xun.zhang
2025-03-25 14:51:45 +08:00
committed by Noisyfox
parent 627f3d77a3
commit c5c2f7d504
8 changed files with 504 additions and 8 deletions

View File

@@ -27,6 +27,8 @@
// ORCA: post processor below used for Dynamic Pressure advance
#include "GCode/AdaptivePAProcessor.hpp"
#include "GCode/TimelapsePosPicker.hpp"
#include <memory>
#include <map>
#include <set>
@@ -523,6 +525,7 @@ private:
Wipe m_wipe;
AvoidCrossingPerimeters m_avoid_crossing_perimeters;
RetractWhenCrossingPerimeters m_retract_when_crossing_perimeters;
TimelapsePosPicker m_timelapse_pos_picker;
bool m_enable_loop_clipping;
//resonance avoidance
bool m_resonance_avoidance;
@@ -607,6 +610,8 @@ private:
Print *m_print{nullptr};
std::set<const PrintObject*> m_printed_objects;
// Processor
GCodeProcessor m_processor;