Public Member Functions | Private Attributes | List of all members
hardware_interface::JointStateHandle Class Reference

#include <joint_state_interface.h>

Inheritance diagram for hardware_interface::JointStateHandle:
Inheritance graph

Public Member Functions

double getEffort () const
std::string getName () const
double getPosition () const
double getVelocity () const
 JointStateHandle ()
 JointStateHandle (const std::string &name, const double *pos, const double *vel, const double *eff)

Private Attributes

const double * eff_
std::string name_
const double * pos_
const double * vel_

Detailed Description

A handle used to read the state of a single joint.

Definition at line 41 of file joint_state_interface.h.

Constructor & Destructor Documentation

hardware_interface::JointStateHandle::JointStateHandle ( )

Definition at line 44 of file joint_state_interface.h.

hardware_interface::JointStateHandle::JointStateHandle ( const std::string &  name,
const double *  pos,
const double *  vel,
const double *  eff 
nameThe name of the joint
posA pointer to the storage for this joint's position
velA pointer to the storage for this joint's velocity
effA pointer to the storage for this joint's effort (force or torque)

Definition at line 52 of file joint_state_interface.h.

Member Function Documentation

double hardware_interface::JointStateHandle::getEffort ( ) const

Definition at line 72 of file joint_state_interface.h.

std::string hardware_interface::JointStateHandle::getName ( ) const

Definition at line 69 of file joint_state_interface.h.

double hardware_interface::JointStateHandle::getPosition ( ) const

Definition at line 70 of file joint_state_interface.h.

double hardware_interface::JointStateHandle::getVelocity ( ) const

Definition at line 71 of file joint_state_interface.h.

Member Data Documentation

const double* hardware_interface::JointStateHandle::eff_

Definition at line 78 of file joint_state_interface.h.

std::string hardware_interface::JointStateHandle::name_

Definition at line 75 of file joint_state_interface.h.

const double* hardware_interface::JointStateHandle::pos_

Definition at line 76 of file joint_state_interface.h.

const double* hardware_interface::JointStateHandle::vel_

Definition at line 77 of file joint_state_interface.h.

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

Author(s): Wim Meeussen, Adolfo Rodriguez Tsouroukdissian
autogenerated on Mon Apr 20 2020 03:52:05