52   Spinnaker::GenApi::CFloatPtr ptrAcquisitionFrameRate = 
node_map_->GetNode(
"AcquisitionFrameRate");
    53   ROS_DEBUG_STREAM(
"Minimum Frame Rate: \t " << ptrAcquisitionFrameRate->GetMin());
    54   ROS_DEBUG_STREAM(
"Maximum Frame rate: \t " << ptrAcquisitionFrameRate->GetMax());
    59   ROS_DEBUG_STREAM(
"Current Frame rate: \t " << ptrAcquisitionFrameRate->GetValue());
    69     setFrameRate(static_cast<float>(config.acquisition_frame_rate));
    71                 config.acquisition_frame_rate_enable);  
    91     if (IsAvailable(
node_map_->GetNode(
"SharpeningEnable")))
    94       if (config.sharpening_enable)
   103     if (IsAvailable(
node_map_->GetNode(
"SaturationEnable")))
   106       if (config.saturation_enable)
   113     if (config.exposure_auto.compare(std::string(
"Off")) == 0)
   120                   static_cast<float>(config.auto_exposure_time_upper_limit));  
   126     if (config.auto_gain.compare(std::string(
"Off")) == 0)
   135     if (config.gamma_enable)
   142     if (IsAvailable(
node_map_->GetNode(
"BalanceWhiteAuto")))
   145       if (config.auto_white_balance.compare(std::string(
"Off")) == 0)
   154   catch (
const Spinnaker::Exception& e)
   156     throw std::runtime_error(
"[Cm3::setNewConfiguration] Failed to set configuration: " + std::string(e.what()));
   170   Spinnaker::GenApi::CIntegerPtr height_max_ptr = 
node_map_->GetNode(
"HeightMax");
   171   if (!IsAvailable(height_max_ptr) || !IsReadable(height_max_ptr))
   173     throw std::runtime_error(
"[Cm3::setImageControlFormats] Unable to read HeightMax");
   176   Spinnaker::GenApi::CIntegerPtr width_max_ptr = 
node_map_->GetNode(
"WidthMax");
   177   if (!IsAvailable(width_max_ptr) || !IsReadable(width_max_ptr))
   179     throw std::runtime_error(
"[Cm3::setImageControlFormats] Unable to read WidthMax");
   190   if (config.image_format_roi_width <= 0 || config.image_format_roi_width > 
width_max_)
   194   if (config.image_format_roi_height <= 0 || config.image_format_roi_height > 
height_max_)
 bool setProperty(Spinnaker::GenApi::INodeMap *node_map, const std::string &property_name, const std::string &entry_name)
void setNewConfiguration(const SpinnakerConfig &config, const uint32_t &level)
Cm3(Spinnaker::GenApi::INodeMap *node_map)
Spinnaker::GenApi::INodeMap * node_map_
static const uint8_t LEVEL_RECONFIGURE_STOP
void setImageControlFormats(const spinnaker_camera_driver::SpinnakerConfig &config)
#define ROS_DEBUG_STREAM(args)
void setFrameRate(const float frame_rate)
Changes the video mode of the connected camera.