ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It's important to add all of your dependencies to the package.xml. That does a few different things:
rosdep
know which packages to install from the system.apt-get install ros-foxy-<mypackage>
installs all of the dependencies.That being said, adding to the package.xml doesn't modify your environment at all. So it won't help your python package to "find" dependencies. Essentially if you can run python3
and import <dep>
, then your package should be able to find it. Typically those are either from system packages, or through pip.