Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
PositionInterface Class Reference

#include <hardware_interface.h>

Inheritance diagram for PositionInterface:
Inheritance graph
[legend]

Public Types

typedef hardware_interface::PositionJointInterface parent_type
 
- Public Types inherited from HardwareResourceManager< JointHandle, ClaimResources >
typedef JointHandle ResourceHandleType
 
- Public Types inherited from ResourceManager< JointHandle >
typedef ResourceManager< JointHandle > resource_manager_type
 

Public Member Functions

 PositionInterface (TrajectoryFollower &follower, hardware_interface::JointStateInterface &js_interface, std::vector< std::string > &joint_names)
 
virtual void start ()
 
virtual void stop ()
 
virtual bool write ()
 
- Public Member Functions inherited from HardwareInterface
virtual void reset ()
 
- Public Member Functions inherited from HardwareResourceManager< JointHandle, ClaimResources >
JointHandle getHandle (const std::string &name)
 
JointHandle getHandle (const std::string &name)
 
- Public Member Functions inherited from hardware_interface::HardwareInterface
virtual void claim (std::string resource)
 
virtual void claim (std::string resource)
 
void clearClaims ()
 
void clearClaims ()
 
std::set< std::string > getClaims () const
 
std::set< std::string > getClaims () const
 
virtual ~HardwareInterface ()
 
- Public Member Functions inherited from ResourceManager< JointHandle >
JointHandle getHandle (const std::string &name)
 
std::vector< std::string > getNames () const
 
void registerHandle (const JointHandle &handle)
 
virtual ~ResourceManager ()
 
- Public Member Functions inherited from hardware_interface::ResourceManagerBase
virtual ~ResourceManagerBase ()
 

Static Public Attributes

static const std::string INTERFACE_NAME = "hardware_interface::PositionJointInterface"
 

Private Attributes

TrajectoryFollowerfollower_
 
std::array< double, 6 > position_cmd_
 

Additional Inherited Members

- Static Public Member Functions inherited from ResourceManager< JointHandle >
static void concatManagers (std::vector< resource_manager_type * > &managers, resource_manager_type *result)
 
- Protected Types inherited from ResourceManager< JointHandle >
typedef std::map< std::string, JointHandle > ResourceMap
 
- Protected Attributes inherited from ResourceManager< JointHandle >
ResourceMap resource_map_
 

Detailed Description

Definition at line 86 of file hardware_interface.h.

Member Typedef Documentation

Definition at line 99 of file hardware_interface.h.

Constructor & Destructor Documentation

PositionInterface::PositionInterface ( TrajectoryFollower follower,
hardware_interface::JointStateInterface js_interface,
std::vector< std::string > &  joint_names 
)

Definition at line 84 of file hardware_interface.cpp.

Member Function Documentation

void PositionInterface::start ( )
virtual

Reimplemented from HardwareInterface.

Definition at line 100 of file hardware_interface.cpp.

void PositionInterface::stop ( )
virtual

Reimplemented from HardwareInterface.

Definition at line 105 of file hardware_interface.cpp.

bool PositionInterface::write ( )
virtual

Implements HardwareInterface.

Definition at line 95 of file hardware_interface.cpp.

Member Data Documentation

TrajectoryFollower& PositionInterface::follower_
private

Definition at line 89 of file hardware_interface.h.

const std::string PositionInterface::INTERFACE_NAME = "hardware_interface::PositionJointInterface"
static

Definition at line 100 of file hardware_interface.h.

std::array<double, 6> PositionInterface::position_cmd_
private

Definition at line 90 of file hardware_interface.h.


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


ur_modern_driver
Author(s): Thomas Timm Andersen, Simon Rasmussen
autogenerated on Fri Jun 26 2020 03:37:01