open-rmf / open-rmf/next_gen_prototype

[Bug]: nav2_traffic uses too much CPU time

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
10
Forks
9
Avg merge
3d 8h
Merged PRs (30d)
2

Description

Before proceeding, is there an existing issue or discussion for this?
OS and version

Ubuntu 24.04

Open-RMF installation type

Source build

Other Open-RMF installation methods

No response

Open-RMF version or commit hash

main

ROS distribution

Rolling

ROS installation type

Source build

Other ROS installation methods

No response

Package or library, if applicable

No response

Description of the bug

The nav2 traffic consumes a lot of cpu. I suspect bevy is busy-looping and not doing all that much .

Steps to reproduce the bug

Run the demos with nav2 here and use top to observe resource usage.

Expected behavior

No response

Actual behavior

No response

Additional information or screenshots

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the demos in nav2_integration on Ubuntu 24.04 and observe nav2_traffic with top. Investigate whether Bevy is busy-looping while reproducing the high CPU usage. Done means the cause is identified and CPU usage is reduced without breaking the demos.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
performance, robotics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.