micro-ROS / micro-ROS/micro_ros_diagnostics
Provide the ability to pass a context when setting up a task
未关闭
还没有人认领这个 Issue。
enhancement
help wanted
- 主要语言
- C
- 星标
- 10
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
Like on rclc when adding [subscriptions](https://github.com/ros2/rclc/blob/master/rclc/include/rclc/executor.h#L265) or services to the executor. It'd be useful to let the API accept a `void * context` as part of the task callback.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先将任务设置 API 与 issue 中链接的 rclc executor API 进行比较,尤其关注如何传递订阅上下文和服务上下文。跟踪现有的任务回调设置,并确定将接受该上下文的公共入口点。完成的标准是:调用任务回调时,它们能够接收所提供的 void * context。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c
- 领域
- embedded-iot
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100