#include <AccelerationFilter.h>
Public Member Functions | |
AccelerationFilter (RTC::Manager *manager) | |
bool | getParam (::OpenHRP::AccelerationFilterService::AccelerationFilterParam &i_param) |
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 () |
bool | resetFilter (const OpenHRP::AccelerationFilterService::ControlMode &mode, const double *vel) |
bool | setParam (const ::OpenHRP::AccelerationFilterService::AccelerationFilterParam &i_param) |
~AccelerationFilter () | |
Protected Attributes | |
RTC::CorbaPort | m_AccelerationFilterServicePort |
TimedAcceleration3D | m_accIn |
InPort< TimedAcceleration3D > | m_accInIn |
TimedPoint3D | m_posIn |
InPort< TimedPoint3D > | m_posInIn |
TimedAngularVelocity3D | m_rateIn |
InPort< TimedAngularVelocity3D > | m_rateInIn |
TimedOrientation3D | m_rpyIn |
InPort< TimedOrientation3D > | m_rpyInIn |
AccelerationFilterService_impl | m_service0 |
TimedVector3D | m_velOut |
OutPort< TimedVector3D > | m_velOutOut |
Private Types | |
typedef boost::shared_ptr < IIRFilter > | IIRFilterPtr |
Private Attributes | |
double | m_dt |
std::vector< IIRFilterPtr > | m_filters |
hrp::Vector3 | m_global_vel |
double | m_gravity |
coil::Mutex | m_mutex |
hrp::Vector3 | m_previous_pos |
bool | m_use_filter_bool |
Definition at line 39 of file AccelerationFilter.h.
typedef boost::shared_ptr< IIRFilter> AccelerationFilter::IIRFilterPtr [private] |
Definition at line 141 of file AccelerationFilter.h.
AccelerationFilter::AccelerationFilter | ( | RTC::Manager * | manager | ) |
Definition at line 30 of file AccelerationFilter.cpp.
Definition at line 45 of file AccelerationFilter.cpp.
bool AccelerationFilter::getParam | ( | ::OpenHRP::AccelerationFilterService::AccelerationFilterParam & | i_param | ) |
Definition at line 321 of file AccelerationFilter.cpp.
RTC::ReturnCode_t AccelerationFilter::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 154 of file AccelerationFilter.cpp.
RTC::ReturnCode_t AccelerationFilter::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 159 of file AccelerationFilter.cpp.
RTC::ReturnCode_t AccelerationFilter::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 167 of file AccelerationFilter.cpp.
RTC::ReturnCode_t AccelerationFilter::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 50 of file AccelerationFilter.cpp.
bool AccelerationFilter::resetFilter | ( | const OpenHRP::AccelerationFilterService::ControlMode & | mode, |
const double * | vel | ||
) |
Definition at line 248 of file AccelerationFilter.cpp.
bool AccelerationFilter::setParam | ( | const ::OpenHRP::AccelerationFilterService::AccelerationFilterParam & | i_param | ) |
Definition at line 294 of file AccelerationFilter.cpp.
Definition at line 125 of file AccelerationFilter.h.
TimedAcceleration3D AccelerationFilter::m_accIn [protected] |
Definition at line 104 of file AccelerationFilter.h.
InPort<TimedAcceleration3D> AccelerationFilter::m_accInIn [protected] |
Definition at line 105 of file AccelerationFilter.h.
double AccelerationFilter::m_dt [private] |
Definition at line 142 of file AccelerationFilter.h.
std::vector<IIRFilterPtr > AccelerationFilter::m_filters [private] |
Definition at line 146 of file AccelerationFilter.h.
hrp::Vector3 AccelerationFilter::m_global_vel [private] |
Definition at line 145 of file AccelerationFilter.h.
double AccelerationFilter::m_gravity [private] |
Definition at line 143 of file AccelerationFilter.h.
coil::Mutex AccelerationFilter::m_mutex [private] |
Definition at line 149 of file AccelerationFilter.h.
TimedPoint3D AccelerationFilter::m_posIn [protected] |
Definition at line 110 of file AccelerationFilter.h.
InPort<TimedPoint3D> AccelerationFilter::m_posInIn [protected] |
Definition at line 111 of file AccelerationFilter.h.
Definition at line 147 of file AccelerationFilter.h.
TimedAngularVelocity3D AccelerationFilter::m_rateIn [protected] |
Definition at line 106 of file AccelerationFilter.h.
InPort<TimedAngularVelocity3D> AccelerationFilter::m_rateInIn [protected] |
Definition at line 107 of file AccelerationFilter.h.
TimedOrientation3D AccelerationFilter::m_rpyIn [protected] |
Definition at line 108 of file AccelerationFilter.h.
InPort<TimedOrientation3D> AccelerationFilter::m_rpyInIn [protected] |
Definition at line 109 of file AccelerationFilter.h.
Definition at line 131 of file AccelerationFilter.h.
bool AccelerationFilter::m_use_filter_bool [private] |
Definition at line 144 of file AccelerationFilter.h.
TimedVector3D AccelerationFilter::m_velOut [protected] |
Definition at line 116 of file AccelerationFilter.h.
OutPort<TimedVector3D> AccelerationFilter::m_velOutOut [protected] |
Definition at line 117 of file AccelerationFilter.h.