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

#include <SamplePD_HG.h>

Inheritance diagram for SamplePD_HG:
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_HG (RTC::Manager *manager)
 
 ~SamplePD_HG ()
 

Protected Attributes

TimedDoubleSeq m_acc
 
OutPort< TimedDoubleSeq > m_accOut
 
TimedDoubleSeq m_angle_in
 
InPort< TimedDoubleSeq > m_angle_inIn
 
TimedDoubleSeq m_angle_out
 
OutPort< TimedDoubleSeq > m_angle_outOut
 
TimedDoubleSeq m_torque
 
OutPort< TimedDoubleSeq > m_torqueOut
 
TimedDoubleSeq m_vel
 
OutPort< TimedDoubleSeq > m_velOut
 

Private Member Functions

void closeFiles ()
 
void openFiles ()
 

Private Attributes

std::ifstream acc
 
std::ifstream angle
 
double ddq_ref [DOF]
 
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 46 of file SamplePD_HG.h.

Constructor & Destructor Documentation

◆ SamplePD_HG()

SamplePD_HG::SamplePD_HG ( RTC::Manager *  manager)

Definition at line 88 of file SamplePD_HG.cpp.

◆ ~SamplePD_HG()

SamplePD_HG::~SamplePD_HG ( )

Definition at line 118 of file SamplePD_HG.cpp.

Member Function Documentation

◆ closeFiles()

void SamplePD_HG::closeFiles ( )
private

Definition at line 367 of file SamplePD_HG.cpp.

◆ onActivated()

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

Definition at line 191 of file SamplePD_HG.cpp.

◆ onDeactivated()

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

Definition at line 209 of file SamplePD_HG.cpp.

◆ onExecute()

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

Definition at line 218 of file SamplePD_HG.cpp.

◆ onInitialize()

RTC::ReturnCode_t SamplePD_HG::onInitialize ( )
virtual

Definition at line 126 of file SamplePD_HG.cpp.

◆ openFiles()

void SamplePD_HG::openFiles ( )
private

Definition at line 348 of file SamplePD_HG.cpp.

Member Data Documentation

◆ acc

std::ifstream SamplePD_HG::acc
private

Definition at line 145 of file SamplePD_HG.h.

◆ angle

std::ifstream SamplePD_HG::angle
private

Definition at line 145 of file SamplePD_HG.h.

◆ ddq_ref

double SamplePD_HG::ddq_ref[DOF]
private

Definition at line 149 of file SamplePD_HG.h.

◆ Dgain

double* SamplePD_HG::Dgain
private

Definition at line 147 of file SamplePD_HG.h.

◆ dq_ref

double SamplePD_HG::dq_ref[DOF]
private

Definition at line 149 of file SamplePD_HG.h.

◆ dummy

int SamplePD_HG::dummy
private

Definition at line 144 of file SamplePD_HG.h.

◆ gain

std::ifstream SamplePD_HG::gain
private

Definition at line 145 of file SamplePD_HG.h.

◆ m_acc

TimedDoubleSeq SamplePD_HG::m_acc
protected

Definition at line 121 of file SamplePD_HG.h.

◆ m_accOut

OutPort<TimedDoubleSeq> SamplePD_HG::m_accOut
protected

Definition at line 122 of file SamplePD_HG.h.

◆ m_angle_in

TimedDoubleSeq SamplePD_HG::m_angle_in
protected

Definition at line 110 of file SamplePD_HG.h.

◆ m_angle_inIn

InPort<TimedDoubleSeq> SamplePD_HG::m_angle_inIn
protected

Definition at line 111 of file SamplePD_HG.h.

◆ m_angle_out

TimedDoubleSeq SamplePD_HG::m_angle_out
protected

Definition at line 117 of file SamplePD_HG.h.

◆ m_angle_outOut

OutPort<TimedDoubleSeq> SamplePD_HG::m_angle_outOut
protected

Definition at line 118 of file SamplePD_HG.h.

◆ m_torque

TimedDoubleSeq SamplePD_HG::m_torque
protected

Definition at line 123 of file SamplePD_HG.h.

◆ m_torqueOut

OutPort<TimedDoubleSeq> SamplePD_HG::m_torqueOut
protected

Definition at line 124 of file SamplePD_HG.h.

◆ m_vel

TimedDoubleSeq SamplePD_HG::m_vel
protected

Definition at line 119 of file SamplePD_HG.h.

◆ m_velOut

OutPort<TimedDoubleSeq> SamplePD_HG::m_velOut
protected

Definition at line 120 of file SamplePD_HG.h.

◆ Pgain

double* SamplePD_HG::Pgain
private

Definition at line 146 of file SamplePD_HG.h.

◆ q_ref

double SamplePD_HG::q_ref[DOF]
private

Definition at line 149 of file SamplePD_HG.h.

◆ qold

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

Definition at line 148 of file SamplePD_HG.h.

◆ vel

std::ifstream SamplePD_HG::vel
private

Definition at line 145 of file SamplePD_HG.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