Created
August 31, 2018 21:47
-
-
Save wjwwood/72e16b014ef2f7bab56fea96af3c974e to your computer and use it in GitHub Desktop.
example package that causes cmake errors when changing rosidl generation target name
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
cmake_minimum_required(VERSION 3.5) | |
project(test_pkg) | |
find_package(ament_cmake REQUIRED) | |
find_package(rosidl_default_generators REQUIRED) | |
rosidl_generate_interfaces(${PROJECT_NAME}_ext_to_avoid_target_collision "msg/MyMsg.msg") | |
ament_package() |
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
# Place this in the msg folder | |
int32 foo |
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
<?xml version="1.0"?> | |
<?xml-model | |
href="http://download.ros.org/schema/package_format2.xsd" | |
schematypens="http://www.w3.org/2001/XMLSchema"?> | |
<package format="3"> | |
<name>test_pkg</name> | |
<version>0.0.1</version> | |
<description> | |
test_pkg | |
</description> | |
<maintainer email="[email protected]">Nobody</maintainer> | |
<license>Apache License 2.0</license> | |
<buildtool_depend>ament_cmake</buildtool_depend> | |
<build_depend>rosidl_default_generators</build_depend> | |
<exec_depend>rosidl_default_runtime</exec_depend> | |
<member_of_group>rosidl_interface_packages</member_of_group> | |
<export> | |
<build_type>ament_cmake</build_type> | |
</export> | |
</package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment