#include <SampleController.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 | onFinalize () |
virtual RTC::ReturnCode_t | onInitialize () |
SampleController (RTC::Manager *manager) | |
~SampleController () | |
Protected Attributes | |
TimedDoubleSeq | m_angle |
InPort< TimedDoubleSeq > | m_angleIn |
TimedDoubleSeq | m_rhsensor |
InPort< TimedDoubleSeq > | m_rhsensorIn |
TimedDoubleSeq | m_torque |
OutPort< TimedDoubleSeq > | m_torqueOut |
Private Member Functions | |
void | closeFiles () |
void | openFiles () |
Private Attributes | |
std::ifstream | angle |
double * | Dgain |
double | dq_goal [DOF] |
double | dq_ref [DOF] |
int | dummy |
bool | goal_set |
std::ofstream | out |
bool | pattern |
double * | Pgain |
double | q_goal [DOF] |
double | q_ref [DOF] |
double * | qold |
double | remain_t |
int | step |
std::ifstream | vel |
Definition at line 43 of file SampleController.h.
SampleController::SampleController | ( | RTC::Manager * | manager | ) |
Definition at line 58 of file SampleController.cpp.
Definition at line 83 of file SampleController.cpp.
void SampleController::closeFiles | ( | ) | [private] |
Definition at line 368 of file SampleController.cpp.
RTC::ReturnCode_t SampleController::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 168 of file SampleController.cpp.
RTC::ReturnCode_t SampleController::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 190 of file SampleController.cpp.
RTC::ReturnCode_t SampleController::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 198 of file SampleController.cpp.
RTC::ReturnCode_t SampleController::onFinalize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 141 of file SampleController.cpp.
RTC::ReturnCode_t SampleController::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 88 of file SampleController.cpp.
void SampleController::openFiles | ( | ) | [private] |
Definition at line 356 of file SampleController.cpp.
std::ifstream SampleController::angle [private] |
Definition at line 144 of file SampleController.h.
double* SampleController::Dgain [private] |
Definition at line 146 of file SampleController.h.
double SampleController::dq_goal[DOF] [private] |
Definition at line 153 of file SampleController.h.
double SampleController::dq_ref[DOF] [private] |
Definition at line 151 of file SampleController.h.
int SampleController::dummy [private] |
Definition at line 143 of file SampleController.h.
bool SampleController::goal_set [private] |
Definition at line 149 of file SampleController.h.
TimedDoubleSeq SampleController::m_angle [protected] |
Definition at line 107 of file SampleController.h.
InPort<TimedDoubleSeq> SampleController::m_angleIn [protected] |
Definition at line 108 of file SampleController.h.
TimedDoubleSeq SampleController::m_rhsensor [protected] |
Definition at line 109 of file SampleController.h.
InPort<TimedDoubleSeq> SampleController::m_rhsensorIn [protected] |
Definition at line 110 of file SampleController.h.
TimedDoubleSeq SampleController::m_torque [protected] |
Definition at line 116 of file SampleController.h.
OutPort<TimedDoubleSeq> SampleController::m_torqueOut [protected] |
Definition at line 117 of file SampleController.h.
std::ofstream SampleController::out [private] |
Definition at line 155 of file SampleController.h.
bool SampleController::pattern [private] |
Definition at line 150 of file SampleController.h.
double* SampleController::Pgain [private] |
Definition at line 145 of file SampleController.h.
double SampleController::q_goal[DOF] [private] |
Definition at line 153 of file SampleController.h.
double SampleController::q_ref[DOF] [private] |
Definition at line 151 of file SampleController.h.
double* SampleController::qold [private] |
Definition at line 147 of file SampleController.h.
double SampleController::remain_t [private] |
Definition at line 152 of file SampleController.h.
int SampleController::step [private] |
Definition at line 154 of file SampleController.h.
std::ifstream SampleController::vel [private] |
Definition at line 144 of file SampleController.h.