Ask Your Question

Revision history [back]

Another way to get the version defined in package.xml is to do the same/similar as rospack does. Example can be seen in this PR. It parses vector instance that contains info retrieved from parsed package.xml. Not intuitive nor convenient at all, but it's also C++.