Added node reset to doReset

This commit is contained in:
2025-07-01 10:03:20 +02:00
parent 9d47cd4e24
commit 09897b6125

View File

@ -815,6 +815,13 @@ asynStatus masterMacsAxis::stop(double acceleration) {
asynStatus masterMacsAxis::doReset() {
// Reset errors
asynStatus status = pC_->write(axisNo_, 16, "");
if (status != asynSuccess) {
setAxisParamChecked(this, motorStatusProblem, true);
}
// Reset the controller
asynStatus status = pC_->write(axisNo_, 17, "");
if (status != asynSuccess) {
setAxisParamChecked(this, motorStatusProblem, true);