Skip to content

Custom interface in micro ros #304

@Hariveerabadran

Description

@Hariveerabadran

how to create the custom interface in espidf_component. i tried to add header file in cmakelist but its not working.

cmakelist.txt

cmake_minimum_required(VERSION 3.5)

set(EXTRA_COMPONENT_DIRS "$ENV{HOME}/esp/micro_ros_espidf_component-humble")
include_directories("$ENV{HOME}/ros2_ws/install/custom_interface/include")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(cmd_vel)

i tried to add in main/cmakelist.txt. But that will not work as well

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