00001 //#line 2 "/opt/ros/diamondback/stacks/driver_common/dynamic_reconfigure/templates/ConfigType.h" 00002 // ********************************************************* 00003 // 00004 // File autogenerated for the wge100_camera package 00005 // by the dynamic_reconfigure package. 00006 // Please do not edit. 00007 // 00008 // ********************************************************/ 00009 00010 /*********************************************************** 00011 * Software License Agreement (BSD License) 00012 * 00013 * Copyright (c) 2008, Willow Garage, Inc. 00014 * All rights reserved. 00015 * 00016 * Redistribution and use in source and binary forms, with or without 00017 * modification, are permitted provided that the following conditions 00018 * are met: 00019 * 00020 * * Redistributions of source code must retain the above copyright 00021 * notice, this list of conditions and the following disclaimer. 00022 * * Redistributions in binary form must reproduce the above 00023 * copyright notice, this list of conditions and the following 00024 * disclaimer in the documentation and/or other materials provided 00025 * with the distribution. 00026 * * Neither the name of the Willow Garage nor the names of its 00027 * contributors may be used to endorse or promote products derived 00028 * from this software without specific prior written permission. 00029 * 00030 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00031 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00032 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00033 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00034 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00035 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00036 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00037 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00038 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00039 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 00040 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00041 * POSSIBILITY OF SUCH DAMAGE. 00042 ***********************************************************/ 00043 00044 // Author: Blaise Gassend 00045 00046 00047 #ifndef __wge100_camera__WGE100CAMERACONFIG_H__ 00048 #define __wge100_camera__WGE100CAMERACONFIG_H__ 00049 00050 #include <dynamic_reconfigure/config_tools.h> 00051 #include <limits> 00052 #include <ros/node_handle.h> 00053 #include <dynamic_reconfigure/ConfigDescription.h> 00054 #include <dynamic_reconfigure/ParamDescription.h> 00055 #include <dynamic_reconfigure/config_init_mutex.h> 00056 00057 namespace wge100_camera 00058 { 00059 class WGE100CameraConfigStatics; 00060 00061 class WGE100CameraConfig 00062 { 00063 public: 00064 class AbstractParamDescription : public dynamic_reconfigure::ParamDescription 00065 { 00066 public: 00067 AbstractParamDescription(std::string n, std::string t, uint32_t l, 00068 std::string d, std::string e) 00069 { 00070 name = n; 00071 type = t; 00072 level = l; 00073 description = d; 00074 edit_method = e; 00075 } 00076 00077 virtual void clamp(WGE100CameraConfig &config, const WGE100CameraConfig &max, const WGE100CameraConfig &min) const = 0; 00078 virtual void calcLevel(uint32_t &level, const WGE100CameraConfig &config1, const WGE100CameraConfig &config2) const = 0; 00079 virtual void fromServer(const ros::NodeHandle &nh, WGE100CameraConfig &config) const = 0; 00080 virtual void toServer(const ros::NodeHandle &nh, const WGE100CameraConfig &config) const = 0; 00081 virtual bool fromMessage(const dynamic_reconfigure::Config &msg, WGE100CameraConfig &config) const = 0; 00082 virtual void toMessage(dynamic_reconfigure::Config &msg, const WGE100CameraConfig &config) const = 0; 00083 }; 00084 00085 typedef boost::shared_ptr<AbstractParamDescription> AbstractParamDescriptionPtr; 00086 typedef boost::shared_ptr<const AbstractParamDescription> AbstractParamDescriptionConstPtr; 00087 00088 template <class T> 00089 class ParamDescription : public AbstractParamDescription 00090 { 00091 public: 00092 ParamDescription(std::string name, std::string type, uint32_t level, 00093 std::string description, std::string edit_method, T WGE100CameraConfig::* f) : 00094 AbstractParamDescription(name, type, level, description, edit_method), 00095 field(f) 00096 {} 00097 00098 T (WGE100CameraConfig::* field); 00099 00100 virtual void clamp(WGE100CameraConfig &config, const WGE100CameraConfig &max, const WGE100CameraConfig &min) const 00101 { 00102 if (config.*field > max.*field) 00103 config.*field = max.*field; 00104 00105 if (config.*field < min.*field) 00106 config.*field = min.*field; 00107 } 00108 00109 virtual void calcLevel(uint32_t &comb_level, const WGE100CameraConfig &config1, const WGE100CameraConfig &config2) const 00110 { 00111 if (config1.*field != config2.*field) 00112 comb_level |= level; 00113 } 00114 00115 virtual void fromServer(const ros::NodeHandle &nh, WGE100CameraConfig &config) const 00116 { 00117 nh.getParam(name, config.*field); 00118 } 00119 00120 virtual void toServer(const ros::NodeHandle &nh, const WGE100CameraConfig &config) const 00121 { 00122 nh.setParam(name, config.*field); 00123 } 00124 00125 virtual bool fromMessage(const dynamic_reconfigure::Config &msg, WGE100CameraConfig &config) const 00126 { 00127 return dynamic_reconfigure::ConfigTools::getParameter(msg, name, config.*field); 00128 } 00129 00130 virtual void toMessage(dynamic_reconfigure::Config &msg, const WGE100CameraConfig &config) const 00131 { 00132 dynamic_reconfigure::ConfigTools::appendParameter(msg, name, config.*field); 00133 } 00134 }; 00135 00136 //#line 46 "../cfg/WGE100Camera.cfg" 00137 std::string camera_url; 00138 //#line 53 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00139 std::string frame_id; 00140 //#line 54 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00141 int register_set; 00142 //#line 56 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00143 int width; 00144 //#line 57 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00145 int height; 00146 //#line 58 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00147 int horizontal_binning; 00148 //#line 59 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00149 int vertical_binning; 00150 //#line 60 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00151 int x_offset; 00152 //#line 61 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00153 int y_offset; 00154 //#line 62 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00155 bool mirror_x; 00156 //#line 63 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00157 bool mirror_y; 00158 //#line 64 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00159 bool rotate_180; 00160 //#line 66 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00161 double imager_rate; 00162 //#line 67 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00163 bool ext_trig; 00164 //#line 68 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00165 bool rising_edge_trig; 00166 //#line 69 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00167 std::string trig_timestamp_topic; 00168 //#line 70 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00169 double trig_rate; 00170 //#line 71 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00171 double first_packet_offset; 00172 //#line 73 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00173 int brightness; 00174 //#line 74 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00175 bool auto_black_level; 00176 //#line 75 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00177 int black_level_filter_length; 00178 //#line 76 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00179 int black_level_step_size; 00180 //#line 77 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00181 int black_level; 00182 //#line 78 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00183 double max_exposure; 00184 //#line 80 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00185 bool auto_exposure; 00186 //#line 81 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00187 double exposure; 00188 //#line 82 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00189 bool auto_gain; 00190 //#line 83 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00191 int gain; 00192 //#line 84 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00193 bool companding; 00194 //#line 86 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00195 bool auto_exposure_alternate; 00196 //#line 87 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00197 double exposure_alternate; 00198 //#line 88 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00199 bool auto_gain_alternate; 00200 //#line 89 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00201 int gain_alternate; 00202 //#line 90 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00203 bool companding_alternate; 00204 //#line 91 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00205 bool test_pattern; 00206 //#line 92 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00207 bool packet_debug; 00208 //#line 138 "/opt/ros/diamondback/stacks/driver_common/dynamic_reconfigure/templates/ConfigType.h" 00209 00210 bool __fromMessage__(dynamic_reconfigure::Config &msg) 00211 { 00212 const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); 00213 int count = 0; 00214 for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00215 if ((*i)->fromMessage(msg, *this)) 00216 count++; 00217 if (count != dynamic_reconfigure::ConfigTools::size(msg)) 00218 { 00219 ROS_ERROR("WGE100CameraConfig::__fromMessage__ called with an unexpected parameter."); 00220 ROS_ERROR("Booleans:"); 00221 for (unsigned int i = 0; i < msg.bools.size(); i++) 00222 ROS_ERROR(" %s", msg.bools[i].name.c_str()); 00223 ROS_ERROR("Integers:"); 00224 for (unsigned int i = 0; i < msg.ints.size(); i++) 00225 ROS_ERROR(" %s", msg.ints[i].name.c_str()); 00226 ROS_ERROR("Doubles:"); 00227 for (unsigned int i = 0; i < msg.doubles.size(); i++) 00228 ROS_ERROR(" %s", msg.doubles[i].name.c_str()); 00229 ROS_ERROR("Strings:"); 00230 for (unsigned int i = 0; i < msg.strs.size(); i++) 00231 ROS_ERROR(" %s", msg.strs[i].name.c_str()); 00232 // @todo Check that there are no duplicates. Make this error more 00233 // explicit. 00234 return false; 00235 } 00236 return true; 00237 } 00238 00239 // This version of __toMessage__ is used during initialization of 00240 // statics when __getParamDescriptions__ can't be called yet. 00241 void __toMessage__(dynamic_reconfigure::Config &msg, const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__) const 00242 { 00243 dynamic_reconfigure::ConfigTools::clear(msg); 00244 for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00245 (*i)->toMessage(msg, *this); 00246 } 00247 00248 void __toMessage__(dynamic_reconfigure::Config &msg) const 00249 { 00250 const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); 00251 __toMessage__(msg, __param_descriptions__); 00252 } 00253 00254 void __toServer__(const ros::NodeHandle &nh) const 00255 { 00256 const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); 00257 for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00258 (*i)->toServer(nh, *this); 00259 } 00260 00261 void __fromServer__(const ros::NodeHandle &nh) 00262 { 00263 const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); 00264 for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00265 (*i)->fromServer(nh, *this); 00266 } 00267 00268 void __clamp__() 00269 { 00270 const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); 00271 const WGE100CameraConfig &__max__ = __getMax__(); 00272 const WGE100CameraConfig &__min__ = __getMin__(); 00273 for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00274 (*i)->clamp(*this, __max__, __min__); 00275 } 00276 00277 uint32_t __level__(const WGE100CameraConfig &config) const 00278 { 00279 const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); 00280 uint32_t level = 0; 00281 for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00282 (*i)->calcLevel(level, config, *this); 00283 return level; 00284 } 00285 00286 static const dynamic_reconfigure::ConfigDescription &__getDescriptionMessage__(); 00287 static const WGE100CameraConfig &__getDefault__(); 00288 static const WGE100CameraConfig &__getMax__(); 00289 static const WGE100CameraConfig &__getMin__(); 00290 static const std::vector<AbstractParamDescriptionConstPtr> &__getParamDescriptions__(); 00291 00292 private: 00293 static const WGE100CameraConfigStatics *__get_statics__(); 00294 }; 00295 00296 template <> // Max and min are ignored for strings. 00297 inline void WGE100CameraConfig::ParamDescription<std::string>::clamp(WGE100CameraConfig &config, const WGE100CameraConfig &max, const WGE100CameraConfig &min) const 00298 { 00299 return; 00300 } 00301 00302 class WGE100CameraConfigStatics 00303 { 00304 friend class WGE100CameraConfig; 00305 00306 WGE100CameraConfigStatics() 00307 { 00308 //#line 46 "../cfg/WGE100Camera.cfg" 00309 __min__.camera_url = ""; 00310 //#line 46 "../cfg/WGE100Camera.cfg" 00311 __max__.camera_url = ""; 00312 //#line 46 "../cfg/WGE100Camera.cfg" 00313 __default__.camera_url = "any://"; 00314 //#line 46 "../cfg/WGE100Camera.cfg" 00315 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<std::string>("camera_url", "str", 3, "URL defining which camera to connect to, on what interface and with which IP address.", "", &WGE100CameraConfig::camera_url))); 00316 //#line 53 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00317 __min__.frame_id = ""; 00318 //#line 53 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00319 __max__.frame_id = ""; 00320 //#line 53 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00321 __default__.frame_id = ""; 00322 //#line 53 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00323 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<std::string>("frame_id", "str", 0, "Sets the TF frame from which the camera is publishing.", "", &WGE100CameraConfig::frame_id))); 00324 //#line 54 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00325 __min__.register_set = 0; 00326 //#line 54 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00327 __max__.register_set = 3; 00328 //#line 54 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00329 __default__.register_set = 0; 00330 //#line 54 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00331 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("register_set", "int", 3, "Select the register set to work with. In auto mode, an extra pulse on the trigger signal indicates that the alternate set should be used.", "{'enum_description': 'Some wge100 cameras have two register sets. You can chose either set, or have the trigger signal select one of the sets. The camera images will go to camera or camera_alternate depending on which register set is active.', 'enum': [{'srcline': 46, 'description': 'The primary register set is always used.', 'srcfile': '/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py', 'cconsttype': 'const int', 'value': 0, 'ctype': 'int', 'type': 'int', 'name': 'PrimaryRegisterSet'}, {'srcline': 47, 'description': 'The alternate register set is always used.', 'srcfile': '/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py', 'cconsttype': 'const int', 'value': 1, 'ctype': 'int', 'type': 'int', 'name': 'AlternateRegisterSet'}, {'srcline': 48, 'description': 'The trigger signal selects which register set to use.', 'srcfile': '/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py', 'cconsttype': 'const int', 'value': 2, 'ctype': 'int', 'type': 'int', 'name': 'Auto'}]}", &WGE100CameraConfig::register_set))); 00332 //#line 56 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00333 __min__.width = 1; 00334 //#line 56 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00335 __max__.width = 752; 00336 //#line 56 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00337 __default__.width = 640; 00338 //#line 56 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00339 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("width", "int", 3, "Number of pixels horizontally.", "", &WGE100CameraConfig::width))); 00340 //#line 57 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00341 __min__.height = 1; 00342 //#line 57 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00343 __max__.height = 480; 00344 //#line 57 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00345 __default__.height = 480; 00346 //#line 57 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00347 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("height", "int", 3, "Number of pixels vertically.", "", &WGE100CameraConfig::height))); 00348 //#line 58 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00349 __min__.horizontal_binning = 1; 00350 //#line 58 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00351 __max__.horizontal_binning = 4; 00352 //#line 58 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00353 __default__.horizontal_binning = 1; 00354 //#line 58 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00355 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("horizontal_binning", "int", 3, "Number of pixels to bin together horizontally.", "", &WGE100CameraConfig::horizontal_binning))); 00356 //#line 59 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00357 __min__.vertical_binning = 1; 00358 //#line 59 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00359 __max__.vertical_binning = 4; 00360 //#line 59 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00361 __default__.vertical_binning = 1; 00362 //#line 59 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00363 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("vertical_binning", "int", 3, "Number of pixels to bin together vertically.", "", &WGE100CameraConfig::vertical_binning))); 00364 //#line 60 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00365 __min__.x_offset = 0; 00366 //#line 60 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00367 __max__.x_offset = 752; 00368 //#line 60 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00369 __default__.x_offset = 0; 00370 //#line 60 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00371 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("x_offset", "int", 3, "Horizontal offset between the center of the image and the center of the imager in pixels.", "", &WGE100CameraConfig::x_offset))); 00372 //#line 61 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00373 __min__.y_offset = 0; 00374 //#line 61 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00375 __max__.y_offset = 480; 00376 //#line 61 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00377 __default__.y_offset = 0; 00378 //#line 61 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00379 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("y_offset", "int", 3, "Vertical offset between the center of the image and the center of the imager in pixels.", "", &WGE100CameraConfig::y_offset))); 00380 //#line 62 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00381 __min__.mirror_x = 0; 00382 //#line 62 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00383 __max__.mirror_x = 1; 00384 //#line 62 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00385 __default__.mirror_x = 0; 00386 //#line 62 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00387 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("mirror_x", "bool", 3, "Mirrors the image left to right.", "", &WGE100CameraConfig::mirror_x))); 00388 //#line 63 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00389 __min__.mirror_y = 0; 00390 //#line 63 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00391 __max__.mirror_y = 1; 00392 //#line 63 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00393 __default__.mirror_y = 0; 00394 //#line 63 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00395 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("mirror_y", "bool", 3, "Mirrors the image top to bottom.", "", &WGE100CameraConfig::mirror_y))); 00396 //#line 64 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00397 __min__.rotate_180 = 0; 00398 //#line 64 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00399 __max__.rotate_180 = 1; 00400 //#line 64 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00401 __default__.rotate_180 = 0; 00402 //#line 64 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00403 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("rotate_180", "bool", 3, "Rotates the image 180 degrees. Acts in addition to the mirorr parameters", "", &WGE100CameraConfig::rotate_180))); 00404 //#line 66 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00405 __min__.imager_rate = 1.0; 00406 //#line 66 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00407 __max__.imager_rate = 100.0; 00408 //#line 66 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00409 __default__.imager_rate = 30.0; 00410 //#line 66 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00411 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<double>("imager_rate", "double", 3, "Sets the frame rate of the imager. In externally triggered mode this must be more than trig_rate", "", &WGE100CameraConfig::imager_rate))); 00412 //#line 67 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00413 __min__.ext_trig = 0; 00414 //#line 67 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00415 __max__.ext_trig = 1; 00416 //#line 67 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00417 __default__.ext_trig = 0; 00418 //#line 67 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00419 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("ext_trig", "bool", 3, "Set camera to trigger from the external trigger input.", "", &WGE100CameraConfig::ext_trig))); 00420 //#line 68 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00421 __min__.rising_edge_trig = 0; 00422 //#line 68 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00423 __max__.rising_edge_trig = 1; 00424 //#line 68 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00425 __default__.rising_edge_trig = 1; 00426 //#line 68 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00427 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("rising_edge_trig", "bool", 3, "Indicates that the camera should trigger on rising edges (as opposed to falling edges).", "", &WGE100CameraConfig::rising_edge_trig))); 00428 //#line 69 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00429 __min__.trig_timestamp_topic = ""; 00430 //#line 69 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00431 __max__.trig_timestamp_topic = ""; 00432 //#line 69 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00433 __default__.trig_timestamp_topic = ""; 00434 //#line 69 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00435 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<std::string>("trig_timestamp_topic", "str", 3, "Sets the topic from which an externally trigged camera receives its trigger timestamps.", "", &WGE100CameraConfig::trig_timestamp_topic))); 00436 //#line 70 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00437 __min__.trig_rate = 1.0; 00438 //#line 70 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00439 __max__.trig_rate = 100.0; 00440 //#line 70 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00441 __default__.trig_rate = 30.0; 00442 //#line 70 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00443 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<double>("trig_rate", "double", 3, "Sets the expected triggering rate in externally triggered mode.", "", &WGE100CameraConfig::trig_rate))); 00444 //#line 71 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00445 __min__.first_packet_offset = 0.0; 00446 //#line 71 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00447 __max__.first_packet_offset = 0.02; 00448 //#line 71 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00449 __default__.first_packet_offset = 0.0025; 00450 //#line 71 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00451 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<double>("first_packet_offset", "double", 0, "Offset between the end of exposure and the minimal arrival time for the first frame packet. Only used when using internal triggering.", "", &WGE100CameraConfig::first_packet_offset))); 00452 //#line 73 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00453 __min__.brightness = 1; 00454 //#line 73 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00455 __max__.brightness = 64; 00456 //#line 73 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00457 __default__.brightness = 58; 00458 //#line 73 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00459 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("brightness", "int", 3, "The camera brightness for automatic gain/exposure.", "", &WGE100CameraConfig::brightness))); 00460 //#line 74 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00461 __min__.auto_black_level = 0; 00462 //#line 74 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00463 __max__.auto_black_level = 1; 00464 //#line 74 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00465 __default__.auto_black_level = 0; 00466 //#line 74 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00467 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("auto_black_level", "bool", 3, "Enables the automatic black-level detection.", "", &WGE100CameraConfig::auto_black_level))); 00468 //#line 75 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00469 __min__.black_level_filter_length = 0; 00470 //#line 75 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00471 __max__.black_level_filter_length = 7; 00472 //#line 75 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00473 __default__.black_level_filter_length = 4; 00474 //#line 75 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00475 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("black_level_filter_length", "int", 3, "Base 2 logarithm of the number of frames the black-level algorithm should average over.", "", &WGE100CameraConfig::black_level_filter_length))); 00476 //#line 76 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00477 __min__.black_level_step_size = 0; 00478 //#line 76 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00479 __max__.black_level_step_size = 31; 00480 //#line 76 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00481 __default__.black_level_step_size = 2; 00482 //#line 76 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00483 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("black_level_step_size", "int", 3, "Maximum per-frame change in the auto black-level.", "", &WGE100CameraConfig::black_level_step_size))); 00484 //#line 77 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00485 __min__.black_level = -127; 00486 //#line 77 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00487 __max__.black_level = 127; 00488 //#line 77 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00489 __default__.black_level = 0; 00490 //#line 77 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00491 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("black_level", "int", 3, "Sets the black level.", "", &WGE100CameraConfig::black_level))); 00492 //#line 78 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00493 __min__.max_exposure = 0.0; 00494 //#line 78 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00495 __max__.max_exposure = 0.1; 00496 //#line 78 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00497 __default__.max_exposure = 0.0; 00498 //#line 78 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00499 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<double>("max_exposure", "double", 3, "Maximum exposure time in seconds in automatic exposure mode. Zero for automatic.", "", &WGE100CameraConfig::max_exposure))); 00500 //#line 80 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00501 __min__.auto_exposure = 0; 00502 //#line 80 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00503 __max__.auto_exposure = 1; 00504 //#line 80 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00505 __default__.auto_exposure = 1; 00506 //#line 80 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00507 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("auto_exposure", "bool", 3, "Sets the camera exposure duration to automatic. Causes the exposure setting to be ignored.", "", &WGE100CameraConfig::auto_exposure))); 00508 //#line 81 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00509 __min__.exposure = 0.0; 00510 //#line 81 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00511 __max__.exposure = 0.1; 00512 //#line 81 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00513 __default__.exposure = 0.01; 00514 //#line 81 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00515 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<double>("exposure", "double", 3, "Maximum camera exposure time in seconds. The valid range depends on the video mode.", "", &WGE100CameraConfig::exposure))); 00516 //#line 82 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00517 __min__.auto_gain = 0; 00518 //#line 82 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00519 __max__.auto_gain = 1; 00520 //#line 82 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00521 __default__.auto_gain = 1; 00522 //#line 82 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00523 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("auto_gain", "bool", 3, "Sets the analog gain to automatic. Causes the gain setting to be ignored.", "", &WGE100CameraConfig::auto_gain))); 00524 //#line 83 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00525 __min__.gain = 16; 00526 //#line 83 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00527 __max__.gain = 127; 00528 //#line 83 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00529 __default__.gain = 32; 00530 //#line 83 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00531 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("gain", "int", 3, "The camera analog gain.", "", &WGE100CameraConfig::gain))); 00532 //#line 84 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00533 __min__.companding = 0; 00534 //#line 84 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00535 __max__.companding = 1; 00536 //#line 84 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00537 __default__.companding = 1; 00538 //#line 84 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00539 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("companding", "bool", 3, "Turns on companding (a non-linear intensity scaling to improve sensitivity in dark areas).", "", &WGE100CameraConfig::companding))); 00540 //#line 86 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00541 __min__.auto_exposure_alternate = 0; 00542 //#line 86 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00543 __max__.auto_exposure_alternate = 1; 00544 //#line 86 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00545 __default__.auto_exposure_alternate = 1; 00546 //#line 86 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00547 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("auto_exposure_alternate", "bool", 3, "Sets the alternate camera exposure duration to automatic. Causes the exposure_alternate setting to be ignored.", "", &WGE100CameraConfig::auto_exposure_alternate))); 00548 //#line 87 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00549 __min__.exposure_alternate = 0.0; 00550 //#line 87 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00551 __max__.exposure_alternate = 0.1; 00552 //#line 87 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00553 __default__.exposure_alternate = 0.01; 00554 //#line 87 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00555 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<double>("exposure_alternate", "double", 3, "Alternate camera exposure in seconds. The valid range depends on the video mode.", "", &WGE100CameraConfig::exposure_alternate))); 00556 //#line 88 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00557 __min__.auto_gain_alternate = 0; 00558 //#line 88 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00559 __max__.auto_gain_alternate = 1; 00560 //#line 88 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00561 __default__.auto_gain_alternate = 1; 00562 //#line 88 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00563 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("auto_gain_alternate", "bool", 3, "Sets the alternate analog gain to automatic. Causes the gain_alternate setting to be ignored.", "", &WGE100CameraConfig::auto_gain_alternate))); 00564 //#line 89 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00565 __min__.gain_alternate = 16; 00566 //#line 89 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00567 __max__.gain_alternate = 127; 00568 //#line 89 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00569 __default__.gain_alternate = 32; 00570 //#line 89 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00571 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<int>("gain_alternate", "int", 3, "The alternate camera analog gain.", "", &WGE100CameraConfig::gain_alternate))); 00572 //#line 90 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00573 __min__.companding_alternate = 0; 00574 //#line 90 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00575 __max__.companding_alternate = 1; 00576 //#line 90 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00577 __default__.companding_alternate = 1; 00578 //#line 90 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00579 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("companding_alternate", "bool", 3, "Turns on companding for the alternate imager register set.", "", &WGE100CameraConfig::companding_alternate))); 00580 //#line 91 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00581 __min__.test_pattern = 0; 00582 //#line 91 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00583 __max__.test_pattern = 1; 00584 //#line 91 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00585 __default__.test_pattern = 0; 00586 //#line 91 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00587 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("test_pattern", "bool", 3, "Turns on the camera's test pattern.", "", &WGE100CameraConfig::test_pattern))); 00588 //#line 92 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00589 __min__.packet_debug = 0; 00590 //#line 92 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00591 __max__.packet_debug = 1; 00592 //#line 92 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00593 __default__.packet_debug = 0; 00594 //#line 92 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00595 __param_descriptions__.push_back(WGE100CameraConfig::AbstractParamDescriptionConstPtr(new WGE100CameraConfig::ParamDescription<bool>("packet_debug", "bool", 0, "Enable debug mode for dropped packets in diagnostics", "", &WGE100CameraConfig::packet_debug))); 00596 //#line 239 "/opt/ros/diamondback/stacks/driver_common/dynamic_reconfigure/templates/ConfigType.h" 00597 00598 for (std::vector<WGE100CameraConfig::AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) 00599 __description_message__.parameters.push_back(**i); 00600 __max__.__toMessage__(__description_message__.max, __param_descriptions__); 00601 __min__.__toMessage__(__description_message__.min, __param_descriptions__); 00602 __default__.__toMessage__(__description_message__.dflt, __param_descriptions__); 00603 } 00604 std::vector<WGE100CameraConfig::AbstractParamDescriptionConstPtr> __param_descriptions__; 00605 WGE100CameraConfig __max__; 00606 WGE100CameraConfig __min__; 00607 WGE100CameraConfig __default__; 00608 dynamic_reconfigure::ConfigDescription __description_message__; 00609 static const WGE100CameraConfigStatics *get_instance() 00610 { 00611 // Split this off in a separate function because I know that 00612 // instance will get initialized the first time get_instance is 00613 // called, and I am guaranteeing that get_instance gets called at 00614 // most once. 00615 static WGE100CameraConfigStatics instance; 00616 return &instance; 00617 } 00618 }; 00619 00620 inline const dynamic_reconfigure::ConfigDescription &WGE100CameraConfig::__getDescriptionMessage__() 00621 { 00622 return __get_statics__()->__description_message__; 00623 } 00624 00625 inline const WGE100CameraConfig &WGE100CameraConfig::__getDefault__() 00626 { 00627 return __get_statics__()->__default__; 00628 } 00629 00630 inline const WGE100CameraConfig &WGE100CameraConfig::__getMax__() 00631 { 00632 return __get_statics__()->__max__; 00633 } 00634 00635 inline const WGE100CameraConfig &WGE100CameraConfig::__getMin__() 00636 { 00637 return __get_statics__()->__min__; 00638 } 00639 00640 inline const std::vector<WGE100CameraConfig::AbstractParamDescriptionConstPtr> &WGE100CameraConfig::__getParamDescriptions__() 00641 { 00642 return __get_statics__()->__param_descriptions__; 00643 } 00644 00645 inline const WGE100CameraConfigStatics *WGE100CameraConfig::__get_statics__() 00646 { 00647 const static WGE100CameraConfigStatics *statics; 00648 00649 if (statics) // Common case 00650 return statics; 00651 00652 boost::mutex::scoped_lock lock(dynamic_reconfigure::__init_mutex__); 00653 00654 if (statics) // In case we lost a race. 00655 return statics; 00656 00657 statics = WGE100CameraConfigStatics::get_instance(); 00658 00659 return statics; 00660 } 00661 00662 //#line 46 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00663 const int WGE100Camera_PrimaryRegisterSet = 0; 00664 //#line 47 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00665 const int WGE100Camera_AlternateRegisterSet = 1; 00666 //#line 48 "/tmp/buildd/ros-diamondback-camera-drivers-1.4.2/debian/ros-diamondback-camera-drivers/opt/ros/diamondback/stacks/camera_drivers/wge100_camera/cfg/common_parameters.py" 00667 const int WGE100Camera_Auto = 2; 00668 } 00669 00670 #endif // __WGE100CAMERARECONFIGURATOR_H__