ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The ament_cpplint
has two ways to detect the root for your source code:
It determines the --root
by looking for known names in the path hierarchy, namely include
, src
, test
. If you are using the latest release of ROS 2 (Ardent) this will likely not work for you. There was recently a fix for this logic (see https://github.com/ament/ament_lint/pull/94). You might want to consider to use a newer version of this package from source to make this work for your use case.
It also looks for the root of a git repository in case your code is using that. I guess that is not the case for you though.