-
Notifications
You must be signed in to change notification settings - Fork 171
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
Support for format three package.xml conditions #653
Comments
It seems that this wasn't implemented in |
Yep, #654 fixed it :) Thanks for the quick fix! |
@dirk-thomas - This PR fixed the issue in rosdep. However, it looks like the official XSD (http://download.ros.org/schema/package_format3.xsd) hasn't been updated to support the condition attribute. As such, Looks like an issue was created for it some time ago but it wasn't ready yet (ros-infrastructure/rep#148). |
The |
Hey,
Looking at REP-149 http://www.ros.org/reps/rep-0149.html it looks like the support should already exist as the status is "Final". However, it seems like the tool does not recognize the
condition
option. Or maybe I'm just defining it wrong.The motivation is being able to use catkin's CMake test macros when building for ROS1 and ament's macros when building for ROS2. Other than that the code itself is ROS-agnostic.
Configuration
package.xml has:
Error encountered
When using rosdep under ROS2 I'm getting
Cannot locate rosdep definition for [catkin]
When using rosdep under ROS1 I'm getting
Cannot locate rosdep definition for [ament_cmake_gtest]
Full log:
I looked briefly but didn't see any portion of the code/docs explicitly calling out rep149 support, so I'd appreciate your help figuring out if this is really an issue in rosdep or just misconfiguration on my end.
Thanks!
The text was updated successfully, but these errors were encountered: