42 void SR300Nodelet::onInit()
61 SyncNodelet::onInit();
67 void SR300Nodelet::setStreams()
70 BaseNodelet::setStreams();
79 fastest_stream_ = RS_STREAM_COLOR;
87 std::vector<std::string> SR300Nodelet::setDynamicReconfServer()
89 dynamic_reconf_server_.reset(
new dynamic_reconfigure::Server<realsense_camera::sr300_paramsConfig>(pnh_));
92 realsense_camera::sr300_paramsConfig params_config;
93 dynamic_reconf_server_->getConfigDefault(params_config);
94 std::vector<realsense_camera::sr300_paramsConfig::AbstractParamDescriptionConstPtr> param_desc =
95 params_config.__getParamDescriptions__();
96 std::vector<std::string> dynamic_params;
97 for (realsense_camera::sr300_paramsConfig::AbstractParamDescriptionConstPtr param_desc_ptr : param_desc)
99 dynamic_params.push_back((* param_desc_ptr).name);
102 return dynamic_params;
108 void SR300Nodelet::startDynamicReconfCallback()
110 dynamic_reconf_server_->setCallback(boost::bind(&SR300Nodelet::configCallback,
this, _1, _2));
116 void SR300Nodelet::configCallback(realsense_camera::sr300_paramsConfig &config, uint32_t
level)
121 BaseNodelet::setDepthEnable(config.enable_depth);
133 config.color_enable_auto_exposure, 0);
134 if (config.color_enable_auto_exposure == 0)
139 config.color_enable_auto_white_balance, 0);
140 if (config.color_enable_auto_white_balance == 0)
154 config.sr300_auto_range_enable_motion_versus_range, 0);
155 if (config.sr300_auto_range_enable_motion_versus_range == 1)
158 config.sr300_auto_range_min_motion_versus_range, 0);
160 config.sr300_auto_range_max_motion_versus_range, 0);
162 config.sr300_auto_range_start_motion_versus_range, 0);
165 config.sr300_auto_range_enable_laser, 0);
166 if (config.sr300_auto_range_enable_laser == 1)
169 config.sr300_auto_range_min_laser, 0);
171 config.sr300_auto_range_max_laser, 0);
173 config.sr300_auto_range_start_laser, 0);
176 config.sr300_auto_range_upper_threshold, 0);
178 config.sr300_auto_range_lower_threshold, 0);
RS_OPTION_COLOR_ENABLE_AUTO_EXPOSURE
void rs_set_device_option(rs_device *device, rs_option option, double value, rs_error **error)
RS_OPTION_SR300_AUTO_RANGE_START_LASER
RS_OPTION_COLOR_BACKLIGHT_COMPENSATION
RS_OPTION_SR300_AUTO_RANGE_MIN_LASER
RS_OPTION_F200_MOTION_RANGE
RS_OPTION_COLOR_ENABLE_AUTO_WHITE_BALANCE
RS_OPTION_SR300_AUTO_RANGE_MAX_LASER
RS_OPTION_SR300_AUTO_RANGE_LOWER_THRESHOLD
PLUGINLIB_EXPORT_CLASS(depth_image_proc::ConvertMetricNodelet, nodelet::Nodelet)
RS_OPTION_COLOR_WHITE_BALANCE
RS_OPTION_F200_CONFIDENCE_THRESHOLD
RS_OPTION_COLOR_SHARPNESS
RS_OPTION_SR300_AUTO_RANGE_MAX_MOTION_VERSUS_RANGE
const std::string TYPE_16UC1
RS_OPTION_SR300_AUTO_RANGE_ENABLE_LASER
RS_OPTION_SR300_AUTO_RANGE_START_MOTION_VERSUS_RANGE
RS_OPTION_SR300_AUTO_RANGE_UPPER_THRESHOLD
#define ROS_INFO_STREAM(args)
RS_OPTION_COLOR_SATURATION
RS_OPTION_F200_FILTER_OPTION
RS_OPTION_SR300_AUTO_RANGE_MIN_MOTION_VERSUS_RANGE
RS_OPTION_F200_LASER_POWER
RS_OPTION_COLOR_BRIGHTNESS
RS_OPTION_SR300_AUTO_RANGE_ENABLE_MOTION_VERSUS_RANGE