ros2 / ros2/ros2cli

Bug in ros2node for showing action servers

Open
#954 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

more-information-needed
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

Hi,
the following line causes an error for me:

https://github.com/ros2/ros2cli/blob/acefd9c0d773e7a067a6c458455eebaa2fbc6751/ros2node/ros2node/api/__init__.py#L128C28-L128C69

The called function get_action_server_names_and_types_by_node() does not actually exist here in rclpy.node, see: https://github.com/ros2/rclpy/blob/rolling/rclpy/rclpy/node.py

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 in ros2node/ros2node/api/init.py at the linked line and compare its call with the available APIs in rclpy/rclpy/node.py. Verify the appropriate action-server lookup behavior and run the ros2node tests or command to confirm that action servers are listed without an attribute error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.