Classes | Public Member Functions | Protected Attributes | Private Attributes
ReferenceForceUpdater Class Reference

sample RT component which has one data input port and one data output port More...

#include <ReferenceForceUpdater.h>

Inheritance diagram for ReferenceForceUpdater:
Inheritance graph
[legend]

List of all members.

Classes

struct  ee_trans
struct  ReferenceForceUpdaterParam

Public Member Functions

void calcFootOriginCoords (hrp::Vector3 &foot_origin_pos, hrp::Matrix33 &foot_origin_rot)
bool eps_eq (const double a, const double b, const double eps=1e-3)
bool getReferenceForceUpdaterParam (const std::string &i_name_, OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam_out i_param)
bool getSupportedReferenceForceUpdaterNameSequence (OpenHRP::ReferenceForceUpdaterService::StrSequence_out o_names)
void getTargetParameters ()
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 ()
 ReferenceForceUpdater (RTC::Manager *manager)
 Constructor.
bool setReferenceForceUpdaterParam (const std::string &i_name_, const OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam &i_param)
bool startReferenceForceUpdater (const std::string &i_name_)
bool startReferenceForceUpdaterNoWait (const std::string &i_name_)
bool stopReferenceForceUpdater (const std::string &i_name_)
bool stopReferenceForceUpdaterNoWait (const std::string &i_name_)
void updateRefFootOriginExtMoment (const std::string &arm)
void updateRefForces (const std::string &arm)
void updateRefObjExtMoment0 (const std::string &arm)
void waitReferenceForceUpdaterTransition (const std::string &i_name_)
virtual ~ReferenceForceUpdater ()
 Destructor.

Protected Attributes

TimedPoint3D m_basePos
InPort< TimedPoint3D > m_basePosIn
TimedOrientation3D m_baseRpy
InPort< TimedOrientation3D > m_baseRpyIn
TimedPoint3D m_diffFootOriginExtMoment
InPort< TimedPoint3D > m_diffFootOriginExtMomentIn
std::vector< TimedDoubleSeq > m_force
std::vector< InPort
< TimedDoubleSeq > * > 
m_forceIn
TimedDoubleSeq m_qRef
InPort< TimedDoubleSeq > m_qRefIn
std::vector< TimedDoubleSeq > m_ref_force_in
std::vector< TimedDoubleSeq > m_ref_force_out
std::vector< InPort
< TimedDoubleSeq > * > 
m_ref_forceIn
std::vector< OutPort
< TimedDoubleSeq > * > 
m_ref_forceOut
ReferenceForceUpdaterService_impl m_ReferenceForceUpdaterService
RTC::CorbaPort m_ReferenceForceUpdaterServicePort
TimedPoint3D m_refFootOriginExtMoment
TimedBoolean m_refFootOriginExtMomentIsHoldValue
OutPort< TimedBoolean > m_refFootOriginExtMomentIsHoldValueOut
OutPort< TimedPoint3D > m_refFootOriginExtMomentOut
TimedOrientation3D m_rpy
InPort< TimedOrientation3D > m_rpyIn

Private Attributes

std::map< std::string, size_t > ee_index_map
std::map< std::string, ee_transee_map
hrp::Matrix33 foot_origin_rot
const std::string footoriginextmoment_name
int loop
unsigned int m_debugLevel
double m_dt
coil::Mutex m_mutex
std::map< std::string,
ReferenceForceUpdaterParam
m_RFUParam
hrp::BodyPtr m_robot
std::map< std::string,
hrp::VirtualForceSensorParam
m_vfs
const std::string objextmoment0_name
std::vector< hrp::Vector3ref_force
std::map< std::string,
interpolator * > 
ref_force_interpolator
std::map< std::string,
interpolator * > 
transition_interpolator
std::vector< double > transition_interpolator_ratio
bool use_sh_base_pos_rpy

Detailed Description

sample RT component which has one data input port and one data output port

Definition at line 47 of file ReferenceForceUpdater.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
managerpointer to the Manager

Definition at line 54 of file ReferenceForceUpdater.cpp.

Destructor.

Definition at line 75 of file ReferenceForceUpdater.cpp.


Member Function Documentation

void ReferenceForceUpdater::calcFootOriginCoords ( hrp::Vector3 foot_origin_pos,
hrp::Matrix33 foot_origin_rot 
)

Definition at line 540 of file ReferenceForceUpdater.cpp.

bool ReferenceForceUpdater::eps_eq ( const double  a,
const double  b,
const double  eps = 1e-3 
) [inline]

Definition at line 122 of file ReferenceForceUpdater.h.

bool ReferenceForceUpdater::getReferenceForceUpdaterParam ( const std::string &  i_name_,
OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam_out  i_param 
)

Definition at line 763 of file ReferenceForceUpdater.cpp.

bool ReferenceForceUpdater::getSupportedReferenceForceUpdaterNameSequence ( OpenHRP::ReferenceForceUpdaterService::StrSequence_out  o_names)

Definition at line 858 of file ReferenceForceUpdater.cpp.

Definition at line 486 of file ReferenceForceUpdater.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 312 of file ReferenceForceUpdater.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 318 of file ReferenceForceUpdater.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 326 of file ReferenceForceUpdater.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 284 of file ReferenceForceUpdater.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 81 of file ReferenceForceUpdater.cpp.

bool ReferenceForceUpdater::setReferenceForceUpdaterParam ( const std::string &  i_name_,
const OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam &  i_param 
)

Definition at line 710 of file ReferenceForceUpdater.cpp.

Definition at line 838 of file ReferenceForceUpdater.cpp.

Definition at line 785 of file ReferenceForceUpdater.cpp.

Definition at line 845 of file ReferenceForceUpdater.cpp.

Definition at line 818 of file ReferenceForceUpdater.cpp.

Definition at line 565 of file ReferenceForceUpdater.cpp.

Definition at line 626 of file ReferenceForceUpdater.cpp.

Definition at line 583 of file ReferenceForceUpdater.cpp.

Definition at line 852 of file ReferenceForceUpdater.cpp.


Member Data Documentation

std::map<std::string, size_t> ReferenceForceUpdater::ee_index_map [private]

Definition at line 240 of file ReferenceForceUpdater.h.

std::map<std::string, ee_trans> ReferenceForceUpdater::ee_map [private]

Definition at line 239 of file ReferenceForceUpdater.h.

Definition at line 246 of file ReferenceForceUpdater.h.

Definition at line 249 of file ReferenceForceUpdater.h.

Definition at line 248 of file ReferenceForceUpdater.h.

TimedPoint3D ReferenceForceUpdater::m_basePos [protected]

Definition at line 134 of file ReferenceForceUpdater.h.

InPort<TimedPoint3D> ReferenceForceUpdater::m_basePosIn [protected]

Definition at line 135 of file ReferenceForceUpdater.h.

TimedOrientation3D ReferenceForceUpdater::m_baseRpy [protected]

Definition at line 136 of file ReferenceForceUpdater.h.

InPort<TimedOrientation3D> ReferenceForceUpdater::m_baseRpyIn [protected]

Definition at line 137 of file ReferenceForceUpdater.h.

Definition at line 237 of file ReferenceForceUpdater.h.

Definition at line 144 of file ReferenceForceUpdater.h.

Definition at line 145 of file ReferenceForceUpdater.h.

double ReferenceForceUpdater::m_dt [private]

Definition at line 236 of file ReferenceForceUpdater.h.

std::vector<TimedDoubleSeq> ReferenceForceUpdater::m_force [protected]

Definition at line 138 of file ReferenceForceUpdater.h.

std::vector<InPort<TimedDoubleSeq> *> ReferenceForceUpdater::m_forceIn [protected]

Definition at line 139 of file ReferenceForceUpdater.h.

Definition at line 238 of file ReferenceForceUpdater.h.

TimedDoubleSeq ReferenceForceUpdater::m_qRef [protected]

Definition at line 122 of file ReferenceForceUpdater.h.

InPort<TimedDoubleSeq> ReferenceForceUpdater::m_qRefIn [protected]

Definition at line 133 of file ReferenceForceUpdater.h.

std::vector<TimedDoubleSeq> ReferenceForceUpdater::m_ref_force_in [protected]

Definition at line 140 of file ReferenceForceUpdater.h.

std::vector<TimedDoubleSeq> ReferenceForceUpdater::m_ref_force_out [protected]

Definition at line 151 of file ReferenceForceUpdater.h.

std::vector<InPort<TimedDoubleSeq> *> ReferenceForceUpdater::m_ref_forceIn [protected]

Definition at line 141 of file ReferenceForceUpdater.h.

std::vector<OutPort<TimedDoubleSeq> *> ReferenceForceUpdater::m_ref_forceOut [protected]

Definition at line 152 of file ReferenceForceUpdater.h.

Definition at line 173 of file ReferenceForceUpdater.h.

Definition at line 167 of file ReferenceForceUpdater.h.

Definition at line 153 of file ReferenceForceUpdater.h.

Definition at line 155 of file ReferenceForceUpdater.h.

Definition at line 156 of file ReferenceForceUpdater.h.

Definition at line 154 of file ReferenceForceUpdater.h.

Definition at line 241 of file ReferenceForceUpdater.h.

Definition at line 235 of file ReferenceForceUpdater.h.

TimedOrientation3D ReferenceForceUpdater::m_rpy [protected]

Definition at line 142 of file ReferenceForceUpdater.h.

InPort<TimedOrientation3D> ReferenceForceUpdater::m_rpyIn [protected]

Definition at line 143 of file ReferenceForceUpdater.h.

Definition at line 234 of file ReferenceForceUpdater.h.

Definition at line 249 of file ReferenceForceUpdater.h.

Definition at line 242 of file ReferenceForceUpdater.h.

Definition at line 243 of file ReferenceForceUpdater.h.

Definition at line 244 of file ReferenceForceUpdater.h.

Definition at line 245 of file ReferenceForceUpdater.h.

Definition at line 247 of file ReferenceForceUpdater.h.


The documentation for this class was generated from the following files:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20