Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install headers consistently in subfolder, install apriltags2_ros targets too #22

Closed

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented May 18, 2018

Without this patch catkin will set the correct include folder for devel workspaces only (apriltags2_ros/apriltags2/include/);
using the package with an install workspace fails.
The CMakeLists.txt installs the package headers to .../include/apriltags2/ (this is a good official location
to install to because without the subfolder folder the individual headers would clutter .../include).
But catkin automatically includes only .../include when the installed package is find_packaged.

With this change the official way to include the headers from the apriltags2 package becomes
#include <apriltags2/apriltag.h> which is consistent between devel and install workspace.

Without this patch catkin will set the correct include folder for devel workspaces only (apriltags2_ros/apriltags2/include/);
using the package with an install workspace fails.
The CMakeLists.txt installs the package headers to .../include/apriltags2/ (this is a good official location
to install to because without the subfolder folder the individual headers would clutter .../include).
But catkin automatically includes only .../include when the installed package is find_packaged.

With this change the official way to include the headers from the apriltags2 package becomes
`#include <apriltags2/apriltag.h>` which is consistent between devel and install workspace.
@davelkan-zz
Copy link
Collaborator

this will have a minor conflict with #12

@v4hn
Copy link
Contributor Author

v4hn commented Sep 22, 2018

Ping.

We just hit this bug again in preparation for a competition.
It would be great to see this (and some of the other rather trivial pull-requests) merged soon!

@v4hn v4hn changed the title install headers consistently in subfolder install headers consistently in subfolder, install apriltags2_ros targets too Sep 22, 2018
wxmerkt added a commit to wxmerkt/apriltags2_ros that referenced this pull request Mar 7, 2019
- Replace catkin wrapper which had install issues (cf. AprilRobotics#22, AprilRobotics#37) with a submodule of the latest 0.10.0 version of AprilTag3 with CMake/package.xml support
- Remove forced build in Debug - this slowed things down.
- Removed tag families and options that are no longer supported in v3.0
wxmerkt added a commit to wxmerkt/apriltags2_ros that referenced this pull request Mar 7, 2019
wxmerkt added a commit to wxmerkt/apriltags2_ros that referenced this pull request Mar 7, 2019
- Replace catkin wrapper which had install issues (cf. AprilRobotics#22, AprilRobotics#37) with a submodule of the latest 0.10.0 version of AprilTag3 with CMake/package.xml support
- Remove forced build in Debug - this slowed things down.
- Removed tag families and options that are no longer supported in v3.0
wxmerkt added a commit to wxmerkt/apriltags2_ros that referenced this pull request Mar 7, 2019
@wxmerkt wxmerkt closed this in #43 May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants