micro-ROS / micro-ROS/micro_ros_setup

How to get MicroROS thread support for Zephyr

未关闭
#685 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Shell
星标
509
派生
183
平均合并
22 小时 26 分钟
30 天内合并 PR
7

描述

## Issue template

- Hardware description: Olimex STM32-E407
- RTOS: Zephyr
- Installation type: -
- Version or commit hash: -

#### Steps to reproduce the issue
Set up MicroROS like in the Tutorial: https://micro.ros.org/docs/tutorials/core/first_application_rtos/zephyr/
Then add:
"microxrcedds_client": {
"cmake-args": [
"-DUCLIENT_PROFILE_MULTITHREAD=ON"
]
}
to the app-colcon.meta file.

#### Expected behavior
Enable multithreading.

#### Actual behavior
zephyr/microros_ws/firmware/mcu_ws/eProsima/Micro-XRCE-DDS-Client/include/uxr/client/profile/multithread/multithread.h:49:20: error: field 'impl' has incomplete type
49 | struct k_mutex impl;

#### Additional information
Same as https://github.com/micro-ROS/micro_ros_setup/issues/668 but for Zephyr and not freeRTOS
Which directories do I need to include? (I guess in the arm_toolchain.cmake.in)

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

先从 Zephyr 教程设置开始,然后检查 eProsima/Micro-XRCE-DDS-Client/include/uxr/client/profile/multithread/multithread.h 中失败的 struct k_mutex 声明。将 Zephyr 设置与相关的 freeRTOS issue 进行比较,并检查 arm_toolchain.cmake.in,确认需要包含的目录。对于 Olimex STM32-E407 配置,multithread profile 能够成功构建即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake
领域
build-system, embedded-iot
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。