Class SetEncoderZeroRequest
Defined in File requests.hpp
Inheritance Relationships
Base Type
public myactuator_rmd::SingleMotorRequest< CommandType::WRITE_ENCODER_MULTI_TURN_VALUE_TO_ROM_AS_ZERO >
(Template Class SingleMotorRequest)
Class Documentation
-
class SetEncoderZeroRequest : public myactuator_rmd::SingleMotorRequest<CommandType::WRITE_ENCODER_MULTI_TURN_VALUE_TO_ROM_AS_ZERO>
Request for setting the encoder zero to a given value.
Public Functions
-
SetEncoderZeroRequest(std::int32_t const encoder_offset)
-
SetEncoderZeroRequest(SetEncoderZeroRequest const&) = default
-
SetEncoderZeroRequest &operator=(SetEncoderZeroRequest const&) = default
-
SetEncoderZeroRequest(SetEncoderZeroRequest&&) = default
-
SetEncoderZeroRequest &operator=(SetEncoderZeroRequest&&) = default
-
std::int32_t getEncoderZero() const noexcept
Get the encoder zero value.
- Returns:
The encoder zero value
-
constexpr SingleMotorRequest(std::array<std::uint8_t, 8> const &data)
-
constexpr SingleMotorRequest() = default
-
SingleMotorRequest(SingleMotorRequest const&) = default
-
SingleMotorRequest(SingleMotorRequest&&) = default
-
SetEncoderZeroRequest(std::int32_t const encoder_offset)