Class SetCurrentPositionAsEncoderZeroResponse

Inheritance Relationships

Base Type

Class Documentation

class SetCurrentPositionAsEncoderZeroResponse : public myactuator_rmd::SingleMotorResponse<CommandType::WRITE_CURRENT_MULTI_TURN_POSITION_TO_ROM_AS_ZERO>

Response to request for setting the current position as the encoder zero position.

Public Functions

SetCurrentPositionAsEncoderZeroResponse() = delete
SetCurrentPositionAsEncoderZeroResponse(SetCurrentPositionAsEncoderZeroResponse const&) = default
SetCurrentPositionAsEncoderZeroResponse &operator=(SetCurrentPositionAsEncoderZeroResponse const&) = default
SetCurrentPositionAsEncoderZeroResponse(SetCurrentPositionAsEncoderZeroResponse&&) = default
SetCurrentPositionAsEncoderZeroResponse &operator=(SetCurrentPositionAsEncoderZeroResponse&&) = default
std::int32_t getEncoderZero() const noexcept

Get the encoder zero value.

Returns:

The encoder zero value

constexpr SingleMotorResponse(std::array<std::uint8_t, 8> const &data)
constexpr SingleMotorResponse() = delete
SingleMotorResponse(SingleMotorResponse const&) = default
SingleMotorResponse(SingleMotorResponse&&) = default