-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.xml
65 lines (59 loc) · 3.43 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>metavision_driver</name>
<version>1.0.0</version>
<description>ROS1 and ROS2 drivers for metavision based event cameras</description>
<maintainer email="bernd.pfrommer@gmail.com">Bernd Pfrommer</maintainer>
<license>Apache-2</license>
<!-- ROS1 specific dependencies -->
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
<depend condition="$ROS_VERSION == 1">dynamic_reconfigure</depend>
<depend condition="$ROS_VERSION == 1">nodelet</depend>
<!-- ROS2 specific dependencies -->
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake_auto</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake_ros</buildtool_depend>
<depend condition="$ROS_VERSION == 2">rclcpp</depend>
<depend condition="$ROS_VERSION == 2">rclcpp_components</depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_copyright</test_depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_cppcheck</test_depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_cpplint</test_depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_flake8</test_depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_lint_cmake</test_depend>
<!-- does not work on galactic/foxy
<test_depend condition="$ROS_VERSION == 2">ament_cmake_pep257</test_depend> -->
<test_depend condition="$ROS_VERSION == 2">ament_cmake_xmllint</test_depend>
<test_depend condition="$ROS_VERSION == 2">ament_cmake_clang_format</test_depend>
<!--
for some reason the build fails if rosbag2_composable_recorder is not present
<exec_depend condition="$ROS_VERSION == 2">rosbag2_composable_recorder</exec_depend>
-->
<!-- common dependencies -->
<depend>event_camera_msgs</depend>
<buildtool_depend>ros_environment</buildtool_depend> <!-- ROS_VERSION + ROS_DISTRO -->
<depend>std_srvs</depend>
<!-- openeb dependencies -->
<buildtool_depend condition="$ROS_VERSION == 1">wget</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 1">unzip</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 1">curl</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 1">git</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 1">cmake</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 1">hdf5-tools</buildtool_depend>
<depend condition="$ROS_VERSION == 2">openeb_vendor</depend>
<depend condition="$ROS_VERSION == 1">boost</depend>
<depend condition="$ROS_VERSION == 1">libusb-1.0-dev</depend>
<depend condition="$ROS_VERSION == 1">libhdf5-dev</depend>
<depend condition="$ROS_VERSION == 1">libglew-dev</depend>
<depend condition="$ROS_VERSION == 1">libglfw3-dev</depend>
<depend condition="$ROS_VERSION == 1">ffmpeg</depend>
<depend condition="$ROS_VERSION == 1">libopencv-dev</depend>
<depend condition="$ROS_VERSION == 1">libopenscenegraph</depend>
<test_depend condition="$ROS_VERSION == 1">gtest</test_depend>
<export>
<nodelet plugin="${prefix}/nodelet_plugins.xml"/>
<!-- this is crucial else the package will not be registered! -->
<build_type condition="$ROS_VERSION == 1">catkin</build_type>
<build_type condition="$ROS_VERSION == 2">ament_cmake</build_type>
</export>
</package>