Refs #3366. XML generator works fine. The path of the generated xml may need to be changed.

This commit is contained in:
Javier Moreno
2018-09-14 08:58:44 +02:00
parent 4790bdbdea
commit c54a384b4c
7 changed files with 395 additions and 9 deletions
+11
View File
@@ -0,0 +1,11 @@
find_package(ament_cmake_core QUIET REQUIRED)
ament_register_extension(
"rosidl_generate_interfaces"
"micro_ros_agent"
"micrortps_agent_xml_generator.cmake")
set(micro_ros_agent_BIN "${micro_ros_agent_DIR}/../../../lib/micro_ros_agent/micro_ros_agent")
normalize_path(micro_ros_agent_BIN "${micro_ros_agent_BIN}")
set(micro_ros_agent_GENERATOR_FILES "${micro_ros_agent_DIR}/../../../@PYTHON_INSTALL_DIR@/micro_ros_agent/__init__.py")
normalize_path(micro_ros_agent_GENERATOR_FILES "${micro_ros_agent_GENERATOR_FILES}")