Public Member Functions | Public Attributes | List of all members
qb_device_hardware_interface::qbDeviceResources Class Reference

The qbrobotics Device Resources contains just few device information. More...

#include <qb_device_hardware_resources.h>

Public Member Functions

 qbDeviceResources ()
 Construct the Resource with the default ID, 1. More...
 
 qbDeviceResources (const int &signed_id)
 Construct the Resource from the "signed" device ID. More...
 
virtual ~qbDeviceResources ()
 Do nothing. More...
 

Public Attributes

std::vector< int > encoder_resolutions
 
bool get_currents
 
bool get_distinct_packages
 
bool get_positions
 
int id
 
int max_repeats
 
int motor_axis_direction
 
std::string name
 
std::vector< int > position_limits
 
std::string serial_port
 
bool set_commands
 
bool set_commands_async
 

Detailed Description

The qbrobotics Device Resources contains just few device information.

The most important is the device ID.

Definition at line 36 of file qb_device_hardware_resources.h.

Constructor & Destructor Documentation

qb_device_hardware_interface::qbDeviceResources::qbDeviceResources ( )
inline

Construct the Resource with the default ID, 1.

See also
qbDeviceResources(const int &)

Definition at line 42 of file qb_device_hardware_resources.h.

qb_device_hardware_interface::qbDeviceResources::qbDeviceResources ( const int &  signed_id)
inline

Construct the Resource from the "signed" device ID.

Parameters
signed_idThe "signed" device ID is a value in range [-128, 128]: the sign specify the motor axis direction, while the absolute value represent the real device ID. Note: actually 0 is reserved for broadcast communication.

Definition at line 51 of file qb_device_hardware_resources.h.

virtual qb_device_hardware_interface::qbDeviceResources::~qbDeviceResources ( )
inlinevirtual

Do nothing.

Definition at line 68 of file qb_device_hardware_resources.h.

Member Data Documentation

std::vector<int> qb_device_hardware_interface::qbDeviceResources::encoder_resolutions

Definition at line 76 of file qb_device_hardware_resources.h.

bool qb_device_hardware_interface::qbDeviceResources::get_currents

Definition at line 80 of file qb_device_hardware_resources.h.

bool qb_device_hardware_interface::qbDeviceResources::get_distinct_packages

Definition at line 82 of file qb_device_hardware_resources.h.

bool qb_device_hardware_interface::qbDeviceResources::get_positions

Definition at line 81 of file qb_device_hardware_resources.h.

int qb_device_hardware_interface::qbDeviceResources::id

Definition at line 71 of file qb_device_hardware_resources.h.

int qb_device_hardware_interface::qbDeviceResources::max_repeats

Definition at line 79 of file qb_device_hardware_resources.h.

int qb_device_hardware_interface::qbDeviceResources::motor_axis_direction

Definition at line 72 of file qb_device_hardware_resources.h.

std::string qb_device_hardware_interface::qbDeviceResources::name

Definition at line 73 of file qb_device_hardware_resources.h.

std::vector<int> qb_device_hardware_interface::qbDeviceResources::position_limits

Definition at line 75 of file qb_device_hardware_resources.h.

std::string qb_device_hardware_interface::qbDeviceResources::serial_port

Definition at line 74 of file qb_device_hardware_resources.h.

bool qb_device_hardware_interface::qbDeviceResources::set_commands

Definition at line 83 of file qb_device_hardware_resources.h.

bool qb_device_hardware_interface::qbDeviceResources::set_commands_async

Definition at line 84 of file qb_device_hardware_resources.h.


The documentation for this class was generated from the following file:


qb_device_hardware_interface
Author(s): qbroboticsĀ®
autogenerated on Thu Jun 6 2019 19:46:29