fix(arm): reconcile protective recovery interface

This commit is contained in:
linbo 2026-08-13 14:59:00 +08:00
parent 4405c210de
commit b30e6a5c73

View File

@ -63,6 +63,14 @@ public:
Result emergencyStop() override; Result emergencyStop() override;
Result protectiveStop() override; Result protectiveStop() override;
Result recoverProtectiveStop(
const JointTrajectory&,
const MotionOptions&) override
{
return Result::failure(
ArmErrorCode::UnsupportedCommand,
"protective recovery is not implemented for UmeRobotArm");
}
Result setSpeedScaling(double scaling) override; Result setSpeedScaling(double scaling) override;
double getSpeedScaling() const override { return 1.0; } double getSpeedScaling() const override { return 1.0; }
bool isProtectiveStopped() const override bool isProtectiveStopped() const override