-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic ROS 1 node, update CMakelists and package.xml
Signed-off-by: Evan Flynn <[email protected]>
- Loading branch information
1 parent
a34f2aa
commit b1d5c4b
Showing
4 changed files
with
399 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<package format="3"> | ||
<name>usb_cam</name> | ||
<version>0.7.0</version> | ||
<description>A ROS 2 Driver for V4L USB Cameras</description> | ||
<description>A ROS Driver for V4L USB Cameras</description> | ||
|
||
<maintainer email="[email protected]">Evan Flynn</maintainer> | ||
|
||
|
@@ -13,11 +13,17 @@ | |
<url type="bugtracker">https://github.com/ros-drivers/usb_cam/issues</url> | ||
<url type="repository">https://github.com/ros-drivers/usb_cam</url> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend> | ||
|
||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend condition="$ROS_VERSION == 2">rosidl_default_generators</buildtool_depend> | ||
|
||
<build_depend condition="$ROS_VERSION == 1">roscpp</build_depend> | ||
|
||
<depend condition="$ROS_VERSION == 2">rclcpp</depend> | ||
<depend condition="$ROS_VERSION == 2">rclcpp_components</depend> | ||
|
||
<depend>cv_bridge</depend> | ||
<depend>rclcpp</depend> | ||
<depend>rclcpp_components</depend> | ||
<depend>std_msgs</depend> | ||
<depend>std_srvs</depend> | ||
<depend>sensor_msgs</depend> | ||
|
@@ -30,17 +36,16 @@ | |
<!-- Only required for MJPEG to RGB converison --> | ||
<depend>ffmpeg</depend> | ||
|
||
<test_depend>ament_cmake_gtest</test_depend> | ||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
|
||
<test_depend condition="$ROS_VERSION == 2">ament_cmake_gtest</test_depend> | ||
<test_depend condition="$ROS_VERSION == 2">ament_lint_auto</test_depend> | ||
<test_depend condition="$ROS_VERSION == 2">ament_lint_common</test_depend> | ||
|
||
<buildtool_depend>rosidl_default_generators</buildtool_depend> | ||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
<exec_depend condition="$ROS_VERSION == 2">rosidl_default_runtime</exec_depend> | ||
|
||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
<member_of_group condition="$ROS_VERSION == 2">rosidl_interface_packages</member_of_group> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
<build_type condition="$ROS_VERSION == 1">ament_cmake</build_type> | ||
<build_type condition="$ROS_VERSION == 2">ament_cmake</build_type> | ||
</export> | ||
</package> |
Oops, something went wrong.