3 #include "ensenso_camera_msgs/Parameter.h" 28 std::vector<std::string>
path;
33 NxLibItem
node(NxLibItem
const& cameraNode)
35 auto node = cameraNode[itmParameters];
36 for (
auto const& pathElement : path)
38 node = node[pathElement];
54 { ensenso_camera_msgs::Parameter::AUTO_EXPOSURE, {
ParameterType::Bool, { itmCapture, itmAutoExposure } } },
55 { ensenso_camera_msgs::Parameter::AUTO_GAIN, {
ParameterType::Bool, { itmCapture, itmAutoGain } } },
58 { ensenso_camera_msgs::Parameter::FRONT_LIGHT, {
ParameterType::Bool, { itmCapture, itmFrontLight } } },
60 { ensenso_camera_msgs::Parameter::GAIN_BOOST, {
ParameterType::Bool, { itmCapture, itmGainBoost } } },
61 { ensenso_camera_msgs::Parameter::HARDWARE_GAMMA, {
ParameterType::Bool, { itmCapture, itmHardwareGamma } } },
63 { ensenso_camera_msgs::Parameter::PIXEL_CLOCK, {
ParameterType::Number, { itmCapture, itmPixelClock } } },
64 { ensenso_camera_msgs::Parameter::PROJECTOR, {
ParameterType::Bool, { itmCapture, itmProjector } } },
65 { ensenso_camera_msgs::Parameter::TARGET_BRIGHTNESS, {
ParameterType::Number, { itmCapture, itmTargetBrightness } } },
66 { ensenso_camera_msgs::Parameter::TRIGGER_DELAY, {
ParameterType::Number, { itmCapture, itmTriggerDelay } } },
67 { ensenso_camera_msgs::Parameter::TRIGGER_MODE, {
ParameterType::String, { itmCapture, itmTriggerMode } } },
70 { ensenso_camera_msgs::Parameter::MATCHING_METHOD,
72 { ensenso_camera_msgs::Parameter::MINIMUM_DISPARITY,
74 { ensenso_camera_msgs::Parameter::NUMBER_OF_DISPARITIES,
76 { ensenso_camera_msgs::Parameter::MEASUREMENT_VOLUME_NEAR,
78 { ensenso_camera_msgs::Parameter::MEASUREMENT_VOLUME_FAR,
80 { ensenso_camera_msgs::Parameter::UNIQUENESS_RATIO,
82 { ensenso_camera_msgs::Parameter::SCALING, {
ParameterType::Number, { itmDisparityMap, itmScaling } } },
83 { ensenso_camera_msgs::Parameter::PADDING,
bool parameterExists(std::string const &key)
std::map< std::string, ParameterMapping > const parameterInformation
NxLibItem node(NxLibItem const &cameraNode)
std::vector< std::string > path