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

Here's one way to do it in Python, using rospkg:

import rospkg

r = rospkg.RosPack()
m = r.get_manifest('my_package')
print(m.version)

# Output: '1.3.0'