按推荐建议,继续执行

结论:已接入 LinuxCNC NURBS G5 canonical 边界事件记录,并新增 G5.2、G5.3 回归 fixture;原生 probe 验证通过。
This commit is contained in:
2026-06-07 16:38:40 +08:00
parent 58d627ab6e
commit 5e31847d6c
4 changed files with 34 additions and 1 deletions

View File

@@ -452,7 +452,25 @@ int GET_EXTERNAL_AXIS_MASK() { return 7; }
int GET_EXTERNAL_OFFSET_APPLIED() { return 0; }
EmcPose GET_EXTERNAL_OFFSETS() { return {{0, 0, 0}, 0, 0, 0, 0, 0, 0}; }
void NURBS_G5_FEED(int, const std::vector<NURBS_CONTROL_POINT> &, unsigned int, CANON_PLANE) {}
void NURBS_G5_FEED(int lineno,
const std::vector<NURBS_CONTROL_POINT> &control_points,
unsigned int order,
CANON_PLANE plane)
{
std::ostringstream oss;
oss << "NURBS_G5_FEED line=" << lineno
<< " order=" << order
<< " plane=" << static_cast<int>(plane)
<< " points=" << control_points.size();
for (std::size_t index = 0; index < control_points.size(); ++index) {
const auto &point = control_points[index];
oss << " p" << index
<< "=(" << point.NURBS_X
<< "," << point.NURBS_Y
<< "," << point.NURBS_W << ")";
}
standalone::push_canon_event(oss.str());
}
void NURBS_G6_FEED(int, const std::vector<NURBS_G6_CONTROL_POINT> &, unsigned int, double, int, CANON_PLANE) {}
void COMMENT(const char *s)