24 #define ROOT_FILE "etc/body.dat" 27 const bool CONTROLLER_BRIDGE_DEBUG =
false;
35 "implementation_id",
"SampleRH2",
36 "type_name",
"SampleRH2",
37 "description",
"Sample RH2 component",
40 "category",
"Generic",
41 "activity_type",
"DataFlowComponent",
44 "lang_type",
"compile",
54 m_root_transOut(
"root_trans", m_root_trans)
57 if( CONTROLLER_BRIDGE_DEBUG )
59 std::cout <<
"SampleRH2::SampleRH2" << std::endl;
83 if( CONTROLLER_BRIDGE_DEBUG )
85 std::cout <<
"onInitialize" << std::endl;
123 std::cout <<
"on Activated" << std::endl;
135 std::cout <<
"on Deactivated" << std::endl;
143 if( CONTROLLER_BRIDGE_DEBUG )
145 std::cout <<
"SampleRH2::onExecute" << std::endl;
155 for(
int i=0;
i<4;
i++)
211 std::cerr <<
ROOT_FILE <<
" not opened" << std::endl;
231 RTC::Create<SampleRH2>,
232 RTC::Delete<SampleRH2>);
png_infop png_charpp int png_charpp profile
virtual RTC::ReturnCode_t onInitialize()
virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id)
static const char * samplepd_spec[]
virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id)
bool addOutPort(const char *name, OutPortBase &outport)
SampleRH2(RTC::Manager *manager)
ExecutionContextHandle_t UniqueId
HRP_UTIL_EXPORT Vector3 rpyFromRot(const Matrix33 &m)
HRP_UTIL_EXPORT void calcRodrigues(Matrix33 &out_R, const Vector3 &axis, double q)
virtual bool write(DataType &value)
DLL_EXPORT void SampleRH2Init(RTC::Manager *manager)
OutPort< TimedPose3D > m_root_transOut
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)
virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id)