75 if (config.check(
"help"))
84 if (config.check(
"name"))
86 m_name = config.find(
"name").asString();
87 yCInfo(FakeRawValuesPublisherParamsCOMPONENT) <<
"Parameter 'name' using value:" <<
m_name;
91 yCError(FakeRawValuesPublisherParamsCOMPONENT) <<
"Mandatory parameter 'name' not found!";
92 yCError(FakeRawValuesPublisherParamsCOMPONENT) <<
"Description of the parameter: Name of the device";
95 prop_check.unput(
"name");
100 if (config.check(
"njomos"))
102 m_njomos = config.find(
"njomos").asInt64();
103 yCInfo(FakeRawValuesPublisherParamsCOMPONENT) <<
"Parameter 'njomos' using value:" <<
m_njomos;
107 yCError(FakeRawValuesPublisherParamsCOMPONENT) <<
"Mandatory parameter 'njomos' not found!";
108 yCError(FakeRawValuesPublisherParamsCOMPONENT) <<
"Description of the parameter: Number of joint or motors to be instantiated";
111 prop_check.unput(
"njomos");
116 if (config.check(
"threshold"))
119 yCInfo(FakeRawValuesPublisherParamsCOMPONENT) <<
"Parameter 'threshold' using value:" <<
m_threshold;
123 yCError(FakeRawValuesPublisherParamsCOMPONENT) <<
"Mandatory parameter 'threshold' not found!";
124 yCError(FakeRawValuesPublisherParamsCOMPONENT) <<
"Description of the parameter: Threshold used for defining the amplitude of the sawthooth curve that simulates periodic raw encoder data";
127 prop_check.unput(
"threshold");