micro-ROS / micro-ROS/micro-ROS-Agent

The CPU usage of micro-ros-agent fluctuates greatly

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

还没有人认领这个 Issue。

主要语言
C++
星标
201
派生
111
平均合并
1 天 6 小时
30 天内合并 PR
10

描述

- Hardware description: using linux PC Ubuntu 22.04.5
- RTOS: none linux itself
- Installation type: ros2 humble setting without docker
- Version or commit hash: humble

Expected behavior
When I publish a topic with a frequency of more than 10hz, I can clearly see that the CPU usage rises from 7% to 70%, and then gradually drops back to 7%. I would like to know what causes this. The published topic is not on the micro-ros-agent node.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先,在 Ubuntu 22.04.5 上使用 ROS 2 Humble,通过 micro-ros-agent 复现该报告,以高于 10 Hz 的频率发布,并测量所描述的 CPU 模式。比较已发布的 topic 是否经过 agent;完成标准是确定波动的原因,并记录可复现的解释或下一步诊断步骤。

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

评估

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

把新 issue 发到你的邮箱

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