Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
SamplePD Class Reference

#include <SamplePD.h>

Inheritance diagram for SamplePD:
Inheritance graph
[legend]

List of all members.

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

Definition at line 56 of file SamplePD.cpp.

Definition at line 83 of file SamplePD.cpp.


Member Function Documentation

void SamplePD::closeFiles ( ) [private]

Definition at line 257 of file SamplePD.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 149 of file SamplePD.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 167 of file SamplePD.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 176 of file SamplePD.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 91 of file SamplePD.cpp.

void SamplePD::openFiles ( ) [private]

Definition at line 244 of file SamplePD.cpp.


Member Data Documentation

std::ifstream SamplePD::angle [private]

Definition at line 138 of file SamplePD.h.

double* SamplePD::Dgain [private]

Definition at line 140 of file SamplePD.h.

double SamplePD::dq_ref[DOF] [private]

Definition at line 142 of file SamplePD.h.

int SamplePD::dummy [private]

Definition at line 137 of file SamplePD.h.

std::ifstream SamplePD::gain [private]

Definition at line 138 of file SamplePD.h.

TimedDoubleSeq SamplePD::m_angle [protected]

Definition at line 109 of file SamplePD.h.

InPort<TimedDoubleSeq> SamplePD::m_angleIn [protected]

Definition at line 110 of file SamplePD.h.

TimedDoubleSeq SamplePD::m_torque [protected]

Definition at line 116 of file SamplePD.h.

OutPort<TimedDoubleSeq> SamplePD::m_torqueOut [protected]

Definition at line 117 of file SamplePD.h.

double* SamplePD::Pgain [private]

Definition at line 139 of file SamplePD.h.

double SamplePD::q_ref[DOF] [private]

Definition at line 142 of file SamplePD.h.

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

Definition at line 141 of file SamplePD.h.

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 Thu Apr 11 2019 03:30:21