Feature/foxy migration (#30)

* Adding rosidl_cmake

* Updated XML generation

* Updated readme

* Update README.md
This commit is contained in:
Pablo Garrido
2020-06-29 10:22:23 +02:00
committed by GitHub
parent f0effec782
commit 85ef5321f8
4 changed files with 42 additions and 14 deletions
+6 -6
View File
@@ -23,6 +23,7 @@ project(micro_ros_agent LANGUAGES CXX)
find_package(ament_cmake REQUIRED)
find_package(microxrcedds_agent REQUIRED)
find_package(rosidl_cmake REQUIRED)
add_executable(${PROJECT_NAME} src/main.cpp)
@@ -79,12 +80,11 @@ if(UROSAGENT_GENERATE_PROFILE)
get_filename_component(_COLCON_CALL_DIR "${_COLCON_CALL_DIR}" DIRECTORY)
set(_PYTHON_SCRIPT_HEAD
"
import os\n
import sys\n
sys.path.append('${_OUTPUT_PATH}')\n
from ${_PYTHON_PKG_TOOL} import *\n
"
"import os
import sys
sys.path.append('${_OUTPUT_PATH}')
from ${_PYTHON_PKG_TOOL} import *
"
)
file(