[Bug]: nav2_traffic uses too much CPU time

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

Maintainers usually reply within 15 days

Nobody has claimed this yet.

Assessment

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

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.

Description

bug
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

Dominant language
Python
Stars
10
Forks
9
Avg merge
3h 21m
Merged PRs (30d)
1

Getting set up

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.

More from open-rmf/next_gen_prototype

All issues in open-rmf/next_gen_prototype

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.