ros2 / ros2/geometry2

static_transform_publisher starts failing after many nodes

Open
#398 0 comments 0 reactions 1 assignee View on GitHub

@ahcorde is already working on this.

Since May 6, 2021.

Dominant language
C++
Stars
153
Forks
256
Avg merge
3d 23h
Merged PRs (30d)
14

Description

Bug report

Required Info:

  • Operating System:
    • Ubuntu 20.04.2 LTS
  • Installation type:
    • binaries
  • Version or commit hash:
    • ros-foxy-desktop/focal,now 0.9.2-1focal.20210226.004308 amd64
  • DDS implementation:
    • default implementation
  • Client library (if applicable):
    • rclpy
Steps to reproduce issue
  1. Clone repo
git clone https://github.com/ARC-Advanced-Robotics-Construction/test-ros2.git
  1. Move into directory
cd test-ros2
  1. Build
colcon build --packages-select test_stfp
  1. Source setup.bash
source install/setup.bash
  1. Run
ros2 launch test_stfp test_static_transform_publisher.py
  1. Check that frames work
ros2 run tf2_ros tf2_echo frame_0 frame_1
  1. Change number of frames and repeat
  • Open src/test_stfp/launch/test_static_transform_publisher.py
  • Change the argument to get_nodes in the function generate_launch_description
  • Repeat steps 3, 5, and 6
Expected behavior

The transform from frame_0 to frame_1 will always be returned

Actual behavior

Once ~100 or more static transform nodes are started, the frames do not exist.

Additional information

Sometimes 100 nodes works, sometimes it doesn't. 99 has always worked, and 101 has never worked.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.