How to specify package version in package.xml or rosdep depends.yaml
I would like to make sure that a specific version of a system package is installed for my ros package.
Let's assume, that I want to make sure, that my rospackage rpkg
requires the system dependency foo
in version 3.4. I thus want to have foo
in version 3.4 installed when I run rosdep update && rosdep install
.
I could either include that in the package.xml
for that package (e.g. something like <depends>foo:3.4</depends>
), but I don't know how.
I could otherwise include that in the depends.yaml
(e.g. something like
foo:
ubuntu: foo=3.4
) but again I don't know how :-(
I know, that it's possible to require/check the version in the CMakeLists.txt
, but that is not what I want.