working implementation

This commit is contained in:
2025-08-22 16:20:41 +02:00
parent ef5035b92b
commit 0bb1b5d026
26 changed files with 1104 additions and 257 deletions

View File

@@ -2,13 +2,9 @@ cmake_minimum_required(VERSION 3.20.0)
SET(CMAKE_CXX_COMPILER /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc)
list(APPEND ZEPHYR_EXTRA_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/modules/micro_ros_zephyr_module/modules/libmicroros)
list(APPEND ZEPHYR_EXTRA_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/modules/libmicroros)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(sherpa_ros2_sensor_node)
target_sources(app PRIVATE src/main.cpp)
if(${BOARD} STREQUAL "native_sim")
add_subdirectory(src/emulation)
endif()