micro-ROS / micro-ROS/micro-ROS-Agent
The CPU usage of micro-ros-agent fluctuates greatly
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 201
- Forks
- 111
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 10
Description
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report with micro-ros-agent on Ubuntu 22.04.5 using ROS 2 Humble, publishing above 10 Hz, and measure the CPU pattern described. Compare whether the published topic passes through the agent; done means identifying the cause of the fluctuation and documenting a reproducible explanation or next diagnostic step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ubuntu
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100