Class GetAccelerationResponse
Defined in File responses.hpp
Inheritance Relationships
Base Type
public myactuator_rmd::SingleMotorResponse< CommandType::READ_ACCELERATION >
(Template Class SingleMotorResponse)
Class Documentation
-
class GetAccelerationResponse : public myactuator_rmd::SingleMotorResponse<CommandType::READ_ACCELERATION>
Response to request for reading the motor model.
Public Functions
-
GetAccelerationResponse() = delete
-
GetAccelerationResponse(GetAccelerationResponse const&) = default
-
GetAccelerationResponse &operator=(GetAccelerationResponse const&) = default
-
GetAccelerationResponse(GetAccelerationResponse&&) = default
-
GetAccelerationResponse &operator=(GetAccelerationResponse&&) = default
-
std::int32_t getAcceleration() const noexcept
Get the current acceleration.
- Returns:
The current acceleration with a resolution of 1 dps
-
constexpr SingleMotorResponse(std::array<std::uint8_t, 8> const &data)
-
constexpr SingleMotorResponse() = delete
-
SingleMotorResponse(SingleMotorResponse const&) = default
-
SingleMotorResponse(SingleMotorResponse&&) = default
-
GetAccelerationResponse() = delete