Skip to content

dynamixel_hardware_interface::AddressTableBase#

base class for address table class

#include <address_table_base.hpp>

Inherited by dynamixel_hardware_interface::address_tables::XW540_T260

Public Functions#

Name
Address getAddress(const Operation & operaiton) const
Get address of which operation you want to execute.
bool addressExists(const Operation & operation) const
Check the address exists or not.
AddressTableBase(Address ADDR_TORQUE_ENABLE, Address ADDR_GOAL_POSITION, Address ADDR_MOVING_SPEED, Address ADDR_PRESENT_POSITION, Address ADDR_PRESENT_SPEED, Address ADDR_PRESENT_LOAD, Address ADDR_PRESENT_VOLTAGE, Address ADDR_PRESENT_TEMPERATURE, Address ADDR_MAX_POSITION_LIMIT, Address ADDR_MIN_POSITION_LIMIT)
Construct a new Address Table Base object, each parameter describes the address of the operation.

Public Functions Documentation#

function getAddress#

inline Address getAddress(
    const Operation & operaiton
) const

Get address of which operation you want to execute.

Parameters:

  • operaiton operation you want to execute

Returns:

  • boost::none operation is not supported
  • uint16_t address of the operation you want to execute

function addressExists#

inline bool addressExists(
    const Operation & operation
) const

Check the address exists or not.

Parameters:

  • operation operation you want to execute

Return:

  • true address exist
  • false address does not exist

function AddressTableBase#

inline explicit AddressTableBase(
    Address ADDR_TORQUE_ENABLE,
    Address ADDR_GOAL_POSITION,
    Address ADDR_MOVING_SPEED,
    Address ADDR_PRESENT_POSITION,
    Address ADDR_PRESENT_SPEED,
    Address ADDR_PRESENT_LOAD,
    Address ADDR_PRESENT_VOLTAGE,
    Address ADDR_PRESENT_TEMPERATURE,
    Address ADDR_MAX_POSITION_LIMIT,
    Address ADDR_MIN_POSITION_LIMIT
)

Construct a new Address Table Base object, each parameter describes the address of the operation.

Parameters:

  • ADDR_TORQUE_ENABLE If this value is boost::none, writing torque_enable command address exists.
  • ADDR_GOAL_POSITION If this value is boost::none, writing goal_position command address exists.
  • ADDR_MOVING_SPEED If this value is boost::none, writing moving_speed command address exists.
  • ADDR_PRESENT_POSITION If this value is boost::none, reading present_position command address exists.
  • ADDR_PRESENT_SPEED If this value is boost::none, reading present_speed command address exists.
  • ADDR_PRESENT_LOAD If this value is boost::none, reading present_load command address exists.
  • ADDR_PRESENT_VOLTAGE If this value is boost::none, reading present_voltage command address exists.
  • ADDR_PRESENT_TEMPERATURE If this value is boost::none, reading present_temperature command address exists.
  • ADDR_MAX_POSITION_LIMIT
  • ADDR_MIN_POSITION_LIMIT

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