ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

complete example

#!/usr/bin/env python

import dynamic_reconfigure.client
import rospy

rospy.init_node('rs_config_modifier', anonymous=True)

exposure_roi_client = dynamic_reconfigure.client.Client("camera/stereo_module/auto_exposure_roi",timeout=60)
hole_filling_client = dynamic_reconfigure.client.Client("camera/hole_filling",timeout=60)

exposure_roi_params = { 'left' : 169, 'right' : 678, 'top' : 95, 'bottom' : 384 }
exposure_roi_client.update_configuration(exposure_roi_params)

hole_filling_params = { 'holes_fill' : 2}
hole_filling_client.update_configuration(hole_filling_params)