Robotics StackExchange | Archived questions

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

TOPIC: dynamic_reconfigure

LINK: http://wiki.ros.org/dynamic_reconfigure/Tutorials/HowToWriteYourFirstCfgFile 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 doublet initial parameter of 0.0, I was getting -std::numericlimits::infinity() instead. Specifying a min and max resolved the issue. Is this expected?

Thank you.

Asked by surfertas on 2016-08-29 11:44:43 UTC

Comments

Answers