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

A handle used to read and command a single actuator. More...

#include <actuator_command_interface.h>

Inheritance diagram for hardware_interface::ActuatorHandle:
Inheritance graph
[legend]

Public Member Functions

 ActuatorHandle ()
 
 ActuatorHandle (const ActuatorStateHandle &as, double *cmd)
 
double getCommand () const
 
double * getCommandPtr ()
 
void setCommand (double command)
 
- Public Member Functions inherited from hardware_interface::ActuatorStateHandle
 ActuatorStateHandle ()
 
 ActuatorStateHandle (const std::string &name, const double *pos, const double *vel, const double *eff)
 
double getEffort () const
 
const double * getEffortPtr () const
 
std::string getName () const
 
double getPosition () const
 
const double * getPositionPtr () const
 
double getVelocity () const
 
const double * getVelocityPtr () const
 

Private Attributes

double * cmd_
 

Detailed Description

A handle used to read and command a single actuator.

Definition at line 40 of file actuator_command_interface.h.

Constructor & Destructor Documentation

hardware_interface::ActuatorHandle::ActuatorHandle ( )
inline

Definition at line 43 of file actuator_command_interface.h.

hardware_interface::ActuatorHandle::ActuatorHandle ( const ActuatorStateHandle as,
double *  cmd 
)
inline
Parameters
asThis actuator's state handle
cmdA pointer to the storage for this actuator's output command

Definition at line 49 of file actuator_command_interface.h.

Member Function Documentation

double hardware_interface::ActuatorHandle::getCommand ( ) const
inline

Definition at line 59 of file actuator_command_interface.h.

double* hardware_interface::ActuatorHandle::getCommandPtr ( )
inline

Definition at line 61 of file actuator_command_interface.h.

void hardware_interface::ActuatorHandle::setCommand ( double  command)
inline

Definition at line 58 of file actuator_command_interface.h.

Member Data Documentation

double* hardware_interface::ActuatorHandle::cmd_
private

Definition at line 64 of file actuator_command_interface.h.


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


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