Class SetVelocityRequest
Defined in File requests.hpp
Inheritance Relationships
Base Type
public myactuator_rmd::SingleMotorRequest< CommandType::SPEED_CLOSED_LOOP_CONTROL >
(Template Class SingleMotorRequest)
Class Documentation
-
class SetVelocityRequest : public myactuator_rmd::SingleMotorRequest<CommandType::SPEED_CLOSED_LOOP_CONTROL>
Request for setting the velocity of the actuator.
Public Functions
-
SetVelocityRequest(float const speed)
-
SetVelocityRequest() = delete
Class constructor.
- Parameters:
speed – [in] The velocity set-point in degree per second
-
SetVelocityRequest(SetVelocityRequest const&) = default
-
SetVelocityRequest &operator=(SetVelocityRequest const&) = default
-
SetVelocityRequest(SetVelocityRequest&&) = default
-
SetVelocityRequest &operator=(SetVelocityRequest&&) = default
-
float getSpeed() const noexcept
Get the velocity set-point.
- Returns:
The speed for the motion in degree per second
-
constexpr SingleMotorRequest(std::array<std::uint8_t, 8> const &data)
-
constexpr SingleMotorRequest() = default
-
SingleMotorRequest(SingleMotorRequest const&) = default
-
SingleMotorRequest(SingleMotorRequest&&) = default
-
SetVelocityRequest(float const speed)