#include <SampleLF.h>
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 |
Definition at line 44 of file SampleLF.h.
SampleLF::SampleLF | ( | RTC::Manager * | manager | ) |
Definition at line 55 of file SampleLF.cpp.
Definition at line 84 of file SampleLF.cpp.
void SampleLF::closeFiles | ( | ) | [private] |
Definition at line 325 of file SampleLF.cpp.
RTC::ReturnCode_t SampleLF::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 153 of file SampleLF.cpp.
RTC::ReturnCode_t SampleLF::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 175 of file SampleLF.cpp.
RTC::ReturnCode_t SampleLF::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 184 of file SampleLF.cpp.
RTC::ReturnCode_t SampleLF::onInitialize | ( | void | ) | [virtual] |
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.
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.