Rosdep doesn't read rosdep.yaml
I'm creating a package which has an external dependency on the python module pymodbus, which in Ubuntu is simply installed with sudo apt-get install python-pymodbus
.
The manifest.xml of my package has the following line: <rosdep name="pymodbus" />
The rosdep.yaml, placed in the the root folder of my package, is the following:
pymodbus:
ubuntu:
python-pymodbus
However, when I type rosdep install mypackage, I get the following output:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
mypackage: Cannot locate rosdep definition for [pymodbus]
From what I have read in the ROS documentation, placing the rosdep.yaml file right next to the manifest.xml should be enough. However, rosdep doesn't seem to find the key for pymodbus.
Any idea on how to make sure that rosdep look for the rosdep.yaml file?
Thanks.