20 : lowerThreshold_(0.0),
22 useLowerThreshold_(false),
23 useUpperThreshold_(false),
51 "ThresholdFilter did not find parameter 'lower_threshold' or 'upper_threshold',");
57 "Set either 'lower_threshold' or 'upper_threshold'! Only one threshold can be used!");
62 ROS_ERROR(
"ThresholdFilter did not find parameter 'set_to'.");
67 ROS_ERROR(
"ThresholdFilter did not find parameter 'condition_layer'.");
72 ROS_ERROR(
"ThresholdFilter did not find parameter 'ouput_layer'.");
99 const size_t i = iterator.getLinearIndex();
100 const float& conditionValue = condition(i);
101 float& outputValue = data(i);
virtual bool update(const T &mapIn, T &mapOut)
virtual ~ThresholdFilter()
double setTo_
If threshold triggered set to this value.
double upperThreshold_
Upper Threshold.
std::string conditionLayer_
Layer the threshold will be evaluated.
double lowerThreshold_
Lower Threshold.
bool useLowerThreshold_
Booleans to decide which threshold should be used.
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
std::string outputLayer_
Layer the threshold should be applied to.