Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 126

what is the use of " .format(**config)) "

$
0
0
http://wiki.ros.org/dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode%28python%29 in this link ^, they have this piece of code (shown below) rospy.loginfo("Config set to {int_param}, {double_param}, {str_param}, {bool_param}, {size}".**format(**config))** what is the use of the bold part in the above code snippet ^ I am trying to dynamically reconfigure values of upper and lower HSV range values, so do I need to use this .format thing at the end of lower_red=np.array([lowerh,lowers,lowerv]) if not, then what is its use?

Viewing all articles
Browse latest Browse all 126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>