按推荐建议,继续执行
结论:已接入 LinuxCNC NURBS G6 canonical 边界事件记录,并新增 G6.2 回归 fixture;原生 probe 验证通过。
This commit is contained in:
@@ -471,7 +471,30 @@ void NURBS_G5_FEED(int lineno,
|
||||
}
|
||||
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 NURBS_G6_FEED(int lineno,
|
||||
const std::vector<NURBS_G6_CONTROL_POINT> &control_points,
|
||||
unsigned int k,
|
||||
double feedrate,
|
||||
int interpolation_mode,
|
||||
CANON_PLANE plane)
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "NURBS_G6_FEED line=" << lineno
|
||||
<< " k=" << k
|
||||
<< " feedrate=" << feedrate
|
||||
<< " interpolation_mode=" << interpolation_mode
|
||||
<< " 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_R
|
||||
<< "," << point.NURBS_K << ")";
|
||||
}
|
||||
standalone::push_canon_event(oss.str());
|
||||
}
|
||||
|
||||
void COMMENT(const char *s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user