fix(huaya):fix stopL interface
This commit is contained in:
parent
a5afef198d
commit
33097d0279
@ -413,7 +413,7 @@ Result HuayanRobot::speedL(const CartesianVelocity& velocity,
|
||||
return wait_result;
|
||||
}
|
||||
|
||||
Result HuayanRobot::stopL(const double acceleration)
|
||||
Result HuayanRobot::stopL(std::optional<double> acceleration = std::nullopt)
|
||||
{
|
||||
(void)acceleration;
|
||||
return stopMotion();
|
||||
|
||||
@ -53,7 +53,7 @@ public:
|
||||
Result stopJ(double acceleration) override;
|
||||
Result moveL(const CartesianPose& target, const MotionOptions& options, FrameType frame = FrameType::Base) override;
|
||||
Result speedL(const CartesianVelocity& velocity, double acceleration, double duration, FrameType frame = FrameType::Base) override;
|
||||
Result stopL(double acceleration) override;
|
||||
Result stopL(const std::optional<double> acceleration) override;
|
||||
Result stopMotion() override;
|
||||
|
||||
Result startServoMode(const ServoOptions& options) override;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user