#include <SamplePD.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 () |
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 |
Definition at line 45 of file SamplePD.h.
SamplePD::SamplePD | ( | RTC::Manager * | manager | ) |
Definition at line 56 of file SamplePD.cpp.
Definition at line 83 of file SamplePD.cpp.
void SamplePD::closeFiles | ( | ) | [private] |
Definition at line 257 of file SamplePD.cpp.
RTC::ReturnCode_t SamplePD::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 149 of file SamplePD.cpp.
RTC::ReturnCode_t SamplePD::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 167 of file SamplePD.cpp.
RTC::ReturnCode_t SamplePD::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 176 of file SamplePD.cpp.
RTC::ReturnCode_t SamplePD::onInitialize | ( | void | ) | [virtual] |
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.
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.