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

#include <SampleLF.h>

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

Protected Attributes

TimedDoubleSeq m_angle
InPort< TimedDoubleSeq > m_angleIn
TimedDoubleSeq m_torque
InPort< TimedDoubleSeq > m_torqueInL
InPort< TimedDoubleSeq > m_torqueInR
TimedDoubleSeq m_torqueL
OutPort< TimedDoubleSeq > m_torqueOut
TimedDoubleSeq m_torqueR

Private Member Functions

void closeFiles ()
void openFiles ()

Private Attributes

std::ifstream angle1
std::ifstream angle2
bool check
double * Dgain
int dummy
int file
std::ifstream gain
double * Pgain
std::vector< double > qold
std::vector< double > qref_old
std::ifstream vel1
std::ifstream vel2

Detailed Description

Definition at line 44 of file SampleLF.h.


Constructor & Destructor Documentation

Definition at line 55 of file SampleLF.cpp.

Definition at line 84 of file SampleLF.cpp.


Member Function Documentation

void SampleLF::closeFiles ( ) [private]

Definition at line 325 of file SampleLF.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 153 of file SampleLF.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 175 of file SampleLF.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 184 of file SampleLF.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 92 of file SampleLF.cpp.

void SampleLF::openFiles ( ) [private]

Definition at line 302 of file SampleLF.cpp.


Member Data Documentation

std::ifstream SampleLF::angle1 [private]

Definition at line 144 of file SampleLF.h.

std::ifstream SampleLF::angle2 [private]

Definition at line 144 of file SampleLF.h.

bool SampleLF::check [private]

Definition at line 145 of file SampleLF.h.

double* SampleLF::Dgain [private]

Definition at line 149 of file SampleLF.h.

int SampleLF::dummy [private]

Definition at line 143 of file SampleLF.h.

int SampleLF::file [private]

Definition at line 146 of file SampleLF.h.

std::ifstream SampleLF::gain [private]

Definition at line 144 of file SampleLF.h.

TimedDoubleSeq SampleLF::m_angle [protected]

Definition at line 108 of file SampleLF.h.

InPort<TimedDoubleSeq> SampleLF::m_angleIn [protected]

Definition at line 109 of file SampleLF.h.

TimedDoubleSeq SampleLF::m_torque [protected]

Definition at line 121 of file SampleLF.h.

InPort<TimedDoubleSeq> SampleLF::m_torqueInL [protected]

Definition at line 112 of file SampleLF.h.

InPort<TimedDoubleSeq> SampleLF::m_torqueInR [protected]

Definition at line 115 of file SampleLF.h.

TimedDoubleSeq SampleLF::m_torqueL [protected]

Definition at line 111 of file SampleLF.h.

OutPort<TimedDoubleSeq> SampleLF::m_torqueOut [protected]

Definition at line 122 of file SampleLF.h.

TimedDoubleSeq SampleLF::m_torqueR [protected]

Definition at line 114 of file SampleLF.h.

double* SampleLF::Pgain [private]

Definition at line 148 of file SampleLF.h.

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

Definition at line 150 of file SampleLF.h.

std::vector<double> SampleLF::qref_old [private]

Definition at line 150 of file SampleLF.h.

std::ifstream SampleLF::vel1 [private]

Definition at line 144 of file SampleLF.h.

std::ifstream SampleLF::vel2 [private]

Definition at line 144 of file SampleLF.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 Sun Apr 2 2017 03:44:00