14 static const char*
spec[] =
16 "implementation_id",
"RangeNoiseMixer",
17 "type_name",
"RangeNoiseMixer",
18 "description",
"noise mixer for range data",
19 "version", HRPSYS_PACKAGE_VERSION,
21 "category",
"example",
22 "activity_type",
"DataFlowComponent",
25 "lang_type",
"compile",
27 "conf.default.maxDist",
"0.02",
36 m_rangeIn(
"original", m_range),
37 m_rangeOut(
"mixed", m_range),
104 std::cout <<
m_profile.instance_name<<
": onActivated(" << ec_id <<
")" << std::endl;
110 std::cout <<
m_profile.instance_name<<
": onDeactivated(" << ec_id <<
")" << std::endl;
121 for (
unsigned int i=0;
i<
m_range.ranges.length();
i++){
177 RTC::Create<RangeNoiseMixer>,
178 RTC::Delete<RangeNoiseMixer>);
ComponentProfile m_profile
png_infop png_charpp int png_charpp profile
noise mixer for range data
virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id)
static const char * spec[]
coil::Properties & getProperties()
bool addOutPort(const char *name, OutPortBase &outport)
virtual ~RangeNoiseMixer()
Destructor.
ExecutionContextHandle_t UniqueId
bool bindParameter(const char *param_name, VarType &var, const char *def_val, bool(*trans)(VarType &, const char *)=coil::stringTo)
virtual RTC::ReturnCode_t onInitialize()
virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id)
virtual bool write(DataType &value)
RangeNoiseMixer(RTC::Manager *manager)
Constructor.
bool addInPort(const char *name, InPortBase &inport)
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)
virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id)
InPort< RangeData > m_rangeIn
void RangeNoiseMixerInit(RTC::Manager *manager)
OutPort< RangeData > m_rangeOut