sample RT component which has one data input port and one data output port More...
#include <TorqueFilter.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 () |
TorqueFilter (RTC::Manager *manager) | |
Constructor. | |
virtual | ~TorqueFilter () |
Destructor. | |
Protected Attributes | |
TimedDoubleSeq | m_qCurrent |
InPort< TimedDoubleSeq > | m_qCurrentIn |
TimedDoubleSeq | m_tauIn |
InPort< TimedDoubleSeq > | m_tauInIn |
TimedDoubleSeq | m_tauOut |
OutPort< TimedDoubleSeq > | m_tauOutOut |
Private Attributes | |
unsigned int | m_debugLevel |
double | m_dt |
std::vector< IIRFilter > | m_filters |
bool | m_is_gravity_compensation |
hrp::BodyPtr | m_robot |
std::vector< double > | m_torque_offset |
sample RT component which has one data input port and one data output port
Definition at line 43 of file TorqueFilter.h.
TorqueFilter::TorqueFilter | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 51 of file TorqueFilter.cpp.
TorqueFilter::~TorqueFilter | ( | ) | [virtual] |
Destructor.
Definition at line 63 of file TorqueFilter.cpp.
RTC::ReturnCode_t TorqueFilter::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 231 of file TorqueFilter.cpp.
RTC::ReturnCode_t TorqueFilter::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 237 of file TorqueFilter.cpp.
RTC::ReturnCode_t TorqueFilter::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 243 of file TorqueFilter.cpp.
RTC::ReturnCode_t TorqueFilter::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 67 of file TorqueFilter.cpp.
unsigned int TorqueFilter::m_debugLevel [private] |
Definition at line 149 of file TorqueFilter.h.
double TorqueFilter::m_dt [private] |
Definition at line 147 of file TorqueFilter.h.
std::vector<IIRFilter> TorqueFilter::m_filters [private] |
Definition at line 151 of file TorqueFilter.h.
bool TorqueFilter::m_is_gravity_compensation [private] |
Definition at line 152 of file TorqueFilter.h.
TimedDoubleSeq TorqueFilter::m_qCurrent [protected] |
Definition at line 111 of file TorqueFilter.h.
InPort<TimedDoubleSeq> TorqueFilter::m_qCurrentIn [protected] |
Definition at line 117 of file TorqueFilter.h.
hrp::BodyPtr TorqueFilter::m_robot [private] |
Definition at line 148 of file TorqueFilter.h.
TimedDoubleSeq TorqueFilter::m_tauIn [protected] |
Definition at line 112 of file TorqueFilter.h.
InPort<TimedDoubleSeq> TorqueFilter::m_tauInIn [protected] |
Definition at line 118 of file TorqueFilter.h.
TimedDoubleSeq TorqueFilter::m_tauOut [protected] |
Definition at line 113 of file TorqueFilter.h.
OutPort<TimedDoubleSeq> TorqueFilter::m_tauOutOut [protected] |
Definition at line 124 of file TorqueFilter.h.
std::vector<double> TorqueFilter::m_torque_offset [private] |
Definition at line 150 of file TorqueFilter.h.