#include <PA10Controller.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 () |
PA10Controller (RTC::Manager *manager) | |
~PA10Controller () | |
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 46 of file PA10Controller.h.
PA10Controller::PA10Controller | ( | RTC::Manager * | manager | ) |
Definition at line 49 of file PA10Controller.cpp.
Definition at line 70 of file PA10Controller.cpp.
void PA10Controller::closeFiles | ( | ) | [private] |
Definition at line 234 of file PA10Controller.cpp.
RTC::ReturnCode_t PA10Controller::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 133 of file PA10Controller.cpp.
RTC::ReturnCode_t PA10Controller::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 150 of file PA10Controller.cpp.
RTC::ReturnCode_t PA10Controller::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 158 of file PA10Controller.cpp.
RTC::ReturnCode_t PA10Controller::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 78 of file PA10Controller.cpp.
void PA10Controller::openFiles | ( | ) | [private] |
Definition at line 221 of file PA10Controller.cpp.
std::ifstream PA10Controller::angle [private] |
Definition at line 139 of file PA10Controller.h.
double* PA10Controller::Dgain [private] |
Definition at line 141 of file PA10Controller.h.
double PA10Controller::dq_ref[DOF] [private] |
Definition at line 143 of file PA10Controller.h.
int PA10Controller::dummy [private] |
Definition at line 138 of file PA10Controller.h.
std::ifstream PA10Controller::gain [private] |
Definition at line 139 of file PA10Controller.h.
TimedDoubleSeq PA10Controller::m_angle [protected] |
Definition at line 110 of file PA10Controller.h.
InPort<TimedDoubleSeq> PA10Controller::m_angleIn [protected] |
Definition at line 111 of file PA10Controller.h.
TimedDoubleSeq PA10Controller::m_torque [protected] |
Definition at line 117 of file PA10Controller.h.
OutPort<TimedDoubleSeq> PA10Controller::m_torqueOut [protected] |
Definition at line 118 of file PA10Controller.h.
double* PA10Controller::Pgain [private] |
Definition at line 140 of file PA10Controller.h.
double PA10Controller::q_ref[DOF] [private] |
Definition at line 143 of file PA10Controller.h.
std::vector<double> PA10Controller::qold [private] |
Definition at line 142 of file PA10Controller.h.
std::ifstream PA10Controller::vel [private] |
Definition at line 139 of file PA10Controller.h.