Regards to dynamic_reconfigure and "How to Write Your First .cfg File" tutorial.

asked 2016-08-29 11:44:43 -0500

TOPIC: dynamic_reconfigure

LINK: http://wiki.ros.org/dynamic_reconfigu... Personal working environment: Ubuntu 14.04, Indigo running on Raspi 2

QUESTION: In the tutorial, the writer indicates that the min and max are optional per below.

min - specifies the min value (optional and does not apply to strings and bools) max - specifies the max value (optional and does not apply to strings and bools)

ISSUE: The issue I encountered when NOT specifying the min and max was the default values not initializing correctly. For example when I was expecting a double_t initial parameter of 0.0, I was getting -std::numeric_limits<double>::infinity() instead. Specifying a min and max resolved the issue. Is this expected?

Thank you.

edit retag flag offensive close merge delete