Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Member Functions | List of all members
transmission_interface::TransmissionHandle Class Reference

Handle for propagating a single map (position, velocity, or effort) on a single transmission (eg. actuator to joint effort for a simple reducer). More...

#include <transmission_interface.h>

Inheritance diagram for transmission_interface::TransmissionHandle:
Inheritance graph

Public Member Functions

std::string getName () const

Protected Member Functions

 TransmissionHandle (const std::string &name, Transmission *transmission, const ActuatorData &actuator_data, const JointData &joint_data)

Protected Attributes

ActuatorData actuator_data_
JointData joint_data_
std::string name_

Static Private Member Functions

static bool hasValidPointers (const std::vector< double * > &data)

Detailed Description

Handle for propagating a single map (position, velocity, or effort) on a single transmission (eg. actuator to joint effort for a simple reducer).

Definition at line 48 of file transmission_interface.h.

Constructor & Destructor Documentation

transmission_interface::TransmissionHandle::TransmissionHandle ( const std::string &  name,
Transmission transmission,
const ActuatorData actuator_data,
const JointData joint_data 
nameTransmission name.
transmissionPointer to transmission instance.
actuator_dataActuator-space variables.
joint_dataJoint-space variables.
The lifecycle of the pointed-to instances passed as parameters is not handled by this class.
Valid transmission pointer. Actuator and joint variable vectors required by this handle must contain valid data and their size should be consistent with the number of transmission actuators and joints. Data vectors not used by this handle can remain empty.

Definition at line 70 of file transmission_interface.h.

Member Function Documentation

std::string transmission_interface::TransmissionHandle::getName ( ) const
Transmission name.

Definition at line 52 of file transmission_interface.h.

static bool transmission_interface::TransmissionHandle::hasValidPointers ( const std::vector< double * > &  data)

Definition at line 148 of file transmission_interface.h.

Member Data Documentation

ActuatorData transmission_interface::TransmissionHandle::actuator_data_

Definition at line 57 of file transmission_interface.h.

JointData transmission_interface::TransmissionHandle::joint_data_

Definition at line 58 of file transmission_interface.h.

std::string transmission_interface::TransmissionHandle::name_

Definition at line 55 of file transmission_interface.h.

Transmission* transmission_interface::TransmissionHandle::transmission_

Definition at line 56 of file transmission_interface.h.

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

Author(s): Adolfo Rodriguez Tsouroukdissian
autogenerated on Mon Apr 20 2020 03:52:15