8000 Suggestion: Make ROS 2 nodes "composable" · Issue #59 · iris-ua/iris_lama_ros · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Suggestion: Make ROS 2 nodes "composable" #59
Open
@suo235

Description

@suo235

Overview

In ROS 2, it is recommended that we write a node like a nodelet of ROS 1. Please refer to https://docs.ros.org/en/jazzy/Concepts/Intermediate/About-Composition.html .
I am ready to commit necessary changes for this suggestion.

Target branch

eloquent-devel

Note

We need to add one line to the top-level CMakeLists.txt of iris_lama to build the package.

# install location of generated cmake config files
set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/${CMAKE_PROJECT_NAME}/cmake)

# dependencies
find_package(Eigen3 3.3 REQUIRED NO_MODULE)

# ##
set(CMAKE_POSITION_INDEPENDENT_CODE ON)  # We need to add this !
# ##

# the code
add_subdirectory(src)

# header files, note the "/" after include
install(DIRECTORY include/
  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0