|
The name of an ArmarX package is the name of the project in CMake (all ArmarX packages are CMake projects). This might be different from the directory name. For example, Axii clones the ArmarX package (or CMake project) armar6_skills
into the directory armarx_integration/robots/armar6/skills
inside your workspace, while the package ArmarXSimulation
is currently located in the directory armarx/ArmarXSimulation
.
There are different ways to find out the name of an ArmarX package.
QtCreator shows the name of an open CMake project in the Projects view (usually to the left of the editor):
Run cmake ..
in the build
directory of the project. You should see something like this:
for the package ArmarXSimulation
or
for armar6_skills
at the upper area of the output (you may need to scroll up to see it).
Look at the top-level CMakeLists.txt
of a package. For example, ArmarXSimulation
looks like this:
The CMake project / ArmarX package name is set with the armarx_project()
macro. This looks simple enough (note that the quotes ""
are optional):
Modern ArmarX packages can have a namespace. For instance, armar6_skills
starts like this:
In that case, the ArmarX package / CMake project name is namespace_project
, i.e. the namespace is added in front of the project name with a _
. For example: