Skip to content

dynamixel_hardware_interface#

Namespaces#

Name
dynamixel_hardware_interface::motors
dynamixel_hardware_interface::address_tables

Classes#

Name
struct dynamixel_hardware_interface::Result
Struct describes the command result.
class dynamixel_hardware_interface::MotorBase
Base class for controlling dynamixel motor.
class dynamixel_hardware_interface::DynamixelHardwareInterface
Hardware interface for the dynamixel motor.
class dynamixel_hardware_interface::DynamixelDiagnosticController
class dynamixel_hardware_interface::AddressTableBase
base class for address table class
class dynamixel_hardware_interface::Address

Types#

Name
enum SupportedMotors { XW540_T260, INVALID }
Enum class of the supported motor.
enum PacketByteSize { TWO_BYTE, ONE_BYTE, INVALID, FOUR_BYTE }
enum Operation { TORQUE_ENABLE, PRESENT_VOLTAGE, PRESENT_TEMPERATURE, PRESENT_SPEED, PRESENT_POSITION, PRESENT_LOAD, MOVING_SPEED, MIN_POSITION_LIMIT, MAX_POSITION_LIMIT, INVALID, GOAL_POSITION }
Enum class of the commands.
enum DiagnosticsType { TEMPERATURE, INVALID }

Functions#

Name
const std::string toString(const SupportedMotors motor)

Attributes#

Name
constexpr double TO_VOLTAGE
constexpr double TO_SPEED_REV_PER_MIN
constexpr double TO_SPEED_RAD_PER_SEC
constexpr double TO_SPEED_RAD_PER_MIN
constexpr double TO_RADIANS
constexpr double TO_LOAD_PERCENT
constexpr double TO_DXL_POS
constexpr double PULSE_RESOLUTION
constexpr double PROTOCOL_VERSION
constexpr double DXL_MAX_POSITION_DEGREES
constexpr double DXL_MAX_POSITION
constexpr int DXL_HOME_POSITION

Types Documentation#

enum SupportedMotors#

Enumerator Value Description
XW540_T260 Robotis xw540-t260 motor.
INVALID Invalid motor type.

Enum class of the supported motor.

enum PacketByteSize#

Enumerator Value Description
TWO_BYTE
ONE_BYTE
INVALID
FOUR_BYTE

enum Operation#

Enumerator Value Description
TORQUE_ENABLE
PRESENT_VOLTAGE
PRESENT_TEMPERATURE
PRESENT_SPEED
PRESENT_POSITION
PRESENT_LOAD
MOVING_SPEED
MIN_POSITION_LIMIT
MAX_POSITION_LIMIT
INVALID
GOAL_POSITION

Enum class of the commands.

enum DiagnosticsType#

Enumerator Value Description
TEMPERATURE
INVALID

Functions Documentation#

function toString#

const std::string toString(
    const SupportedMotors motor
)

Attributes Documentation#

variable TO_VOLTAGE#

constexpr double TO_VOLTAGE = 0.1;

variable TO_SPEED_REV_PER_MIN#

constexpr double TO_SPEED_REV_PER_MIN = 0.111;

variable TO_SPEED_RAD_PER_SEC#

constexpr double TO_SPEED_RAD_PER_SEC = TO_SPEED_RAD_PER_MIN / 60.0;

variable TO_SPEED_RAD_PER_MIN#

constexpr double TO_SPEED_RAD_PER_MIN = TO_SPEED_REV_PER_MIN * 2.0 * M_PI;

variable TO_RADIANS#

constexpr double TO_RADIANS = (DXL_MAX_POSITION_DEGREES / DXL_MAX_POSITION) * M_PI / 180.0;

variable TO_LOAD_PERCENT#

constexpr double TO_LOAD_PERCENT = 0.1;

variable TO_DXL_POS#

constexpr double TO_DXL_POS = 1.0 / TO_RADIANS;

variable PULSE_RESOLUTION#

constexpr double PULSE_RESOLUTION = 4096;

variable PROTOCOL_VERSION#

constexpr double PROTOCOL_VERSION = 2.0;

variable DXL_MAX_POSITION_DEGREES#

constexpr double DXL_MAX_POSITION_DEGREES = 300.0;

variable DXL_MAX_POSITION#

constexpr double DXL_MAX_POSITION = 1023.0;

variable DXL_HOME_POSITION#

constexpr int DXL_HOME_POSITION = 0;

Updated on 17 July 2023 at 01:42:10 UTC