Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SamplePD Class Reference

#include <SamplePD.h>

Inheritance diagram for SamplePD:
Inheritance graph
[legend]

Public Member Functions

virtual RTC::ReturnCode_t onActivated (RTC::UniqueId ec_id)
 
virtual RTC::ReturnCode_t onDeactivated (RTC::UniqueId ec_id)
 
virtual RTC::ReturnCode_t onExecute (RTC::UniqueId ec_id)
 
virtual RTC::ReturnCode_t onInitialize ()
 
 SamplePD (RTC::Manager *manager)
 
 ~SamplePD ()
 

Protected Attributes

TimedDoubleSeq m_angle
 
InPort< TimedDoubleSeq > m_angleIn
 
TimedDoubleSeq m_torque
 
OutPort< TimedDoubleSeq > m_torqueOut
 

Private Member Functions

void closeFiles ()
 
void openFiles ()
 

Private Attributes

std::ifstream angle
 
double * Dgain
 
double dq_ref [DOF]
 
int dummy
 
std::ifstream gain
 
double * Pgain
 
double q_ref [DOF]
 
std::vector< double > qold
 
std::ifstream vel
 

Detailed Description

Definition at line 45 of file SamplePD.h.

Constructor & Destructor Documentation

◆ SamplePD()

SamplePD::SamplePD ( RTC::Manager *  manager)

Definition at line 56 of file SamplePD.cpp.

◆ ~SamplePD()

SamplePD::~SamplePD ( )

Definition at line 83 of file SamplePD.cpp.

Member Function Documentation

◆ closeFiles()

void SamplePD::closeFiles ( )
private

Definition at line 257 of file SamplePD.cpp.

◆ onActivated()

RTC::ReturnCode_t SamplePD::onActivated ( RTC::UniqueId  ec_id)
virtual

Definition at line 149 of file SamplePD.cpp.

◆ onDeactivated()

RTC::ReturnCode_t SamplePD::onDeactivated ( RTC::UniqueId  ec_id)
virtual

Definition at line 167 of file SamplePD.cpp.

◆ onExecute()

RTC::ReturnCode_t SamplePD::onExecute ( RTC::UniqueId  ec_id)
virtual

Definition at line 176 of file SamplePD.cpp.

◆ onInitialize()

RTC::ReturnCode_t SamplePD::onInitialize ( )
virtual

Definition at line 91 of file SamplePD.cpp.

◆ openFiles()

void SamplePD::openFiles ( )
private

Definition at line 244 of file SamplePD.cpp.

Member Data Documentation

◆ angle

std::ifstream SamplePD::angle
private

Definition at line 138 of file SamplePD.h.

◆ Dgain

double* SamplePD::Dgain
private

Definition at line 140 of file SamplePD.h.

◆ dq_ref

double SamplePD::dq_ref[DOF]
private

Definition at line 142 of file SamplePD.h.

◆ dummy

int SamplePD::dummy
private

Definition at line 137 of file SamplePD.h.

◆ gain

std::ifstream SamplePD::gain
private

Definition at line 138 of file SamplePD.h.

◆ m_angle

TimedDoubleSeq SamplePD::m_angle
protected

Definition at line 109 of file SamplePD.h.

◆ m_angleIn

InPort<TimedDoubleSeq> SamplePD::m_angleIn
protected

Definition at line 110 of file SamplePD.h.

◆ m_torque

TimedDoubleSeq SamplePD::m_torque
protected

Definition at line 116 of file SamplePD.h.

◆ m_torqueOut

OutPort<TimedDoubleSeq> SamplePD::m_torqueOut
protected

Definition at line 117 of file SamplePD.h.

◆ Pgain

double* SamplePD::Pgain
private

Definition at line 139 of file SamplePD.h.

◆ q_ref

double SamplePD::q_ref[DOF]
private

Definition at line 142 of file SamplePD.h.

◆ qold

std::vector<double> SamplePD::qold
private

Definition at line 141 of file SamplePD.h.

◆ vel

std::ifstream SamplePD::vel
private

Definition at line 138 of file SamplePD.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:05