ros2 / ros2/ros2cli

Daemon slows down CLI on Windows

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

Nobody has claimed this yet.

bug help wanted
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

Bug report

Required Info:

  • Operating System:
    • Windows 10
  • Installation type:
    • From source
  • Version or commit hash:
  • DDS implementation:
    • All
  • Client library (if applicable):
    • rclpy
Steps to reproduce issue

On a Windows box, do the following with and without a daemon node running:

  • Start an action server
    ros2 run action_tutorials_cpp fibonacci_action_server
    
  • Ensure daemon is not running
    ros2 daemon stop
    
  • Query action server info
    ros2 action info /fibonacci_action_server
    
Expected behavior

Querying with and without a daemon running takes a comparable amount of time.

Actual behavior

Querying with a daemon running takes a way longer.

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 with the reported Windows 10 reproduction using ros2 run action_tutorials_cpp fibonacci_action_server and ros2 action info /fibonacci_action_server. Compare timings with the daemon stopped and running via ros2 daemon stop; trace the CLI and daemon path involved in the query. Done means both modes take comparable time.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.