Controller that manages dynamic_reconfigure nodes for Settings and Settings2D More...
#include <capture_settings_controller.h>
Public Member Functions | |
CaptureSettingsController (ros::NodeHandle &nh, Zivid::Camera &camera, const std::string &config_node_name, std::size_t num_acquisition_servers) | |
std::size_t | numAcquisitionConfigServers () const |
void | setZividSettings (const ZividSettingsType &settings) |
ZividSettingsType | zividSettings () const |
~CaptureSettingsController () | |
Private Types | |
using | SettingsAcquisitionConfigTypeDRServer = ConfigDRServer< SettingsAcquisitionConfigType, typename ZividSettingsType::Acquisition > |
using | SettingsConfigTypeDRServer = ConfigDRServer< SettingsConfigType, ZividSettingsType > |
Private Attributes | |
std::vector< std::unique_ptr< SettingsAcquisitionConfigTypeDRServer > > | acquisition_config_dr_servers_ |
std::string | config_node_name_ |
std::unique_ptr< SettingsConfigTypeDRServer > | general_config_dr_server_ |
Controller that manages dynamic_reconfigure nodes for Settings and Settings2D
This is a templated class that handles Zivid::Settings and Zivid::Settings2D configuration. Note that within the Zivid SDK Settings and Settings2D are similar in structure, but there are some differences in what kind of settings are provided.
This controller sets up the dynamic_reconfigure nodes "settings/", "settings/acquisition_0" and so on, handles callbacks and updates the internal config state. It also provides methods to convert from/to Zivid::Settings/Settings2D objects.
Definition at line 31 of file capture_settings_controller.h.
|
private |
Definition at line 51 of file capture_settings_controller.h.
|
private |
Definition at line 49 of file capture_settings_controller.h.
zivid_camera::CaptureSettingsController< ZividSettingsType, SettingsConfigType, SettingsAcquisitionConfigType >::CaptureSettingsController | ( | ros::NodeHandle & | nh, |
Zivid::Camera & | camera, | ||
const std::string & | config_node_name, | ||
std::size_t | num_acquisition_servers | ||
) |
Definition at line 70 of file capture_settings_controller.cpp.
|
default |
std::size_t zivid_camera::CaptureSettingsController< ZividSettingsType, SettingsConfigType, SettingsAcquisitionConfigType >::numAcquisitionConfigServers | ( | ) | const |
Definition at line 160 of file capture_settings_controller.cpp.
void zivid_camera::CaptureSettingsController< ZividSettingsType, SettingsConfigType, SettingsAcquisitionConfigType >::setZividSettings | ( | const ZividSettingsType & | settings | ) |
Definition at line 112 of file capture_settings_controller.cpp.
ZividSettingsType zivid_camera::CaptureSettingsController< ZividSettingsType, SettingsConfigType, SettingsAcquisitionConfigType >::zividSettings | ( | ) | const |
Definition at line 93 of file capture_settings_controller.cpp.
|
private |
Definition at line 54 of file capture_settings_controller.h.
|
private |
Definition at line 52 of file capture_settings_controller.h.
|
private |
Definition at line 53 of file capture_settings_controller.h.