diff --git a/wrappers/ros/src/mynt_eye_ros_wrapper/launch/mynteye.launch b/wrappers/ros/src/mynt_eye_ros_wrapper/launch/mynteye.launch index e477f62..39df4df 100644 --- a/wrappers/ros/src/mynt_eye_ros_wrapper/launch/mynteye.launch +++ b/wrappers/ros/src/mynt_eye_ros_wrapper/launch/mynteye.launch @@ -44,49 +44,45 @@ - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - + + + - - - + + + + + + + + + + + + + + + @@ -136,18 +132,16 @@ - - - - - - - + + + + + diff --git a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc index 6037d19..e35a6e8 100644 --- a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc +++ b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc @@ -147,18 +147,16 @@ class ROSWrapperNodelet : public nodelet::Nodelet { // device options std::map option_names = { - {Option::GAIN, "gain"}, {Option::BRIGHTNESS, "brightness"}, - {Option::CONTRAST, "contrast"}, - {Option::FRAME_RATE, "frame_rate"}, - {Option::IMU_FREQUENCY, "imu_frequency"}, {Option::EXPOSURE_MODE, "exposure_mode"}, {Option::MAX_GAIN, "max_gain"}, {Option::MAX_EXPOSURE_TIME, "max_exposure_time"}, {Option::DESIRED_BRIGHTNESS, "desired_brightness"}, - {Option::IR_CONTROL, "ir_control"}, - {Option::HDR_MODE, "hdr_mode"}, - }; + {Option::MIN_EXPOSURE_TIME, "min_exposure_time"}, + {Option::EXPOSURE_MODE, "accel_range"}, + {Option::GYROSCOPE_RANGE, "gyro_range"}, + {Option::ACCELEROMETER_LOW_PASS_FILTER, "accel_low_filter"}, + {Option::GYROSCOPE_LOW_PASS_FILTER, "gyro_low_filter"}}; for (auto &&it = option_names.begin(); it != option_names.end(); ++it) { if (!api_->Supports(it->first)) continue;