#include <SamplePD_HG.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_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 |
Definition at line 46 of file SamplePD_HG.h.
SamplePD_HG::SamplePD_HG | ( | RTC::Manager * | manager | ) |
Definition at line 88 of file SamplePD_HG.cpp.
Definition at line 118 of file SamplePD_HG.cpp.
void SamplePD_HG::closeFiles | ( | ) | [private] |
Definition at line 367 of file SamplePD_HG.cpp.
RTC::ReturnCode_t SamplePD_HG::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 191 of file SamplePD_HG.cpp.
RTC::ReturnCode_t SamplePD_HG::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 209 of file SamplePD_HG.cpp.
RTC::ReturnCode_t SamplePD_HG::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 218 of file SamplePD_HG.cpp.
RTC::ReturnCode_t SamplePD_HG::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 126 of file SamplePD_HG.cpp.
void SamplePD_HG::openFiles | ( | ) | [private] |
Definition at line 348 of file SamplePD_HG.cpp.
std::ifstream SamplePD_HG::acc [private] |
Definition at line 145 of file SamplePD_HG.h.
std::ifstream SamplePD_HG::angle [private] |
Definition at line 145 of file SamplePD_HG.h.
double SamplePD_HG::ddq_ref[DOF] [private] |
Definition at line 149 of file SamplePD_HG.h.
double* SamplePD_HG::Dgain [private] |
Definition at line 147 of file SamplePD_HG.h.
double SamplePD_HG::dq_ref[DOF] [private] |
Definition at line 149 of file SamplePD_HG.h.
int SamplePD_HG::dummy [private] |
Definition at line 144 of file SamplePD_HG.h.
std::ifstream SamplePD_HG::gain [private] |
Definition at line 145 of file SamplePD_HG.h.
TimedDoubleSeq SamplePD_HG::m_acc [protected] |
Definition at line 121 of file SamplePD_HG.h.
OutPort<TimedDoubleSeq> SamplePD_HG::m_accOut [protected] |
Definition at line 122 of file SamplePD_HG.h.
TimedDoubleSeq SamplePD_HG::m_angle_in [protected] |
Definition at line 110 of file SamplePD_HG.h.
InPort<TimedDoubleSeq> SamplePD_HG::m_angle_inIn [protected] |
Definition at line 111 of file SamplePD_HG.h.
TimedDoubleSeq SamplePD_HG::m_angle_out [protected] |
Definition at line 117 of file SamplePD_HG.h.
OutPort<TimedDoubleSeq> SamplePD_HG::m_angle_outOut [protected] |
Definition at line 118 of file SamplePD_HG.h.
TimedDoubleSeq SamplePD_HG::m_torque [protected] |
Definition at line 123 of file SamplePD_HG.h.
OutPort<TimedDoubleSeq> SamplePD_HG::m_torqueOut [protected] |
Definition at line 124 of file SamplePD_HG.h.
TimedDoubleSeq SamplePD_HG::m_vel [protected] |
Definition at line 119 of file SamplePD_HG.h.
OutPort<TimedDoubleSeq> SamplePD_HG::m_velOut [protected] |
Definition at line 120 of file SamplePD_HG.h.
double* SamplePD_HG::Pgain [private] |
Definition at line 146 of file SamplePD_HG.h.
double SamplePD_HG::q_ref[DOF] [private] |
Definition at line 149 of file SamplePD_HG.h.
std::vector<double> SamplePD_HG::qold [private] |
Definition at line 148 of file SamplePD_HG.h.
std::ifstream SamplePD_HG::vel [private] |
Definition at line 145 of file SamplePD_HG.h.