Template Class SingleMotorMessage

Inheritance Relationships

Base Type

Derived Types

Class Documentation

template<CommandType C>
class SingleMotorMessage : public myactuator_rmd::Message

Base class for message for a single actuator.

Template Parameters:

C – Type of the command to be requested

Subclassed by myactuator_rmd::SingleMotorRequest< CommandType::ABSOLUTE_POSITION_CLOSED_LOOP_CONTROL >, myactuator_rmd::SingleMotorRequest< CommandType::SPEED_CLOSED_LOOP_CONTROL >, myactuator_rmd::SingleMotorRequest< CommandType::TORQUE_CLOSED_LOOP_CONTROL >, myactuator_rmd::SingleMotorRequest< CommandType::CAN_ID_SETTING >, myactuator_rmd::SingleMotorRequest< CommandType::COMMUNICATION_BAUD_RATE_SETTING >, myactuator_rmd::SingleMotorRequest< CommandType::COMMUNICATION_INTERRUPTION_PROTECTION_TIME_SETTING >, myactuator_rmd::SingleMotorRequest< CommandType::WRITE_ENCODER_MULTI_TURN_VALUE_TO_ROM_AS_ZERO >, myactuator_rmd::SingleMotorRequest< CommandType::WRITE_ACCELERATION_TO_RAM_AND_ROM >, myactuator_rmd::SingleMotorResponse< CommandType::READ_MOTOR_POWER >, myactuator_rmd::SingleMotorResponse< CommandType::READ_SYSTEM_RUNTIME >, myactuator_rmd::SingleMotorResponse< CommandType::READ_MOTOR_STATUS_3 >, myactuator_rmd::SingleMotorResponse< CommandType::READ_MOTOR_STATUS_1_AND_ERROR_FLAG >, myactuator_rmd::SingleMotorResponse< CommandType::READ_ACCELERATION >, myactuator_rmd::SingleMotorResponse< CommandType::READ_MOTOR_MODEL >, myactuator_rmd::SingleMotorResponse< CommandType::CAN_ID_SETTING >, myactuator_rmd::SingleMotorResponse< CommandType::WRITE_CURRENT_MULTI_TURN_POSITION_TO_ROM_AS_ZERO >, myactuator_rmd::SingleMotorResponse< CommandType::READ_SYSTEM_OPERATING_MODE >, myactuator_rmd::SingleMotorResponse< CommandType::READ_SYSTEM_SOFTWARE_VERSION_DATE >, myactuator_rmd::SingleMotorResponse< CommandType::READ_SINGLE_TURN_ANGLE >, myactuator_rmd::SingleMotorResponse< CommandType::READ_MULTI_TURN_ANGLE >, myactuator_rmd::SingleMotorResponse< CommandType::READ_SINGLE_TURN_ENCODER >, myactuator_rmd::SingleMotorRequest< C >, myactuator_rmd::SingleMotorResponse< C >

Protected Functions

constexpr SingleMotorMessage(std::array<std::uint8_t, 8> const &data)
constexpr SingleMotorMessage() noexcept

Class constructor.

Parameters:

data[in] The data to be transmitted to the actuator

SingleMotorMessage(SingleMotorMessage const&) = default
SingleMotorMessage &operator=(SingleMotorMessage const&) = default
SingleMotorMessage(SingleMotorMessage&&) = default
SingleMotorMessage &operator=(SingleMotorMessage&&) = default