Skip to content

MultiThreadedExecutor(MutuallyExclusive) sometimes misses to execute Waitable #2012

@fujitatomoya

Description

@fujitatomoya

Bug report

Required Info:

  • Operating System:
    • Ubuntu 22.04
  • Installation type:
    • Source code
  • Version or commit hash:
  • DDS implementation:
    • rmw_fastrtps
  • Client library (if applicable):
    • rclcpp

Steps to reproduce issue

(terminal-1) $ ros2 run prover_rclcpp intraprocess_pub_sub
(terminal-2) $ ros2 topic pub /goal std_msgs/msg/Empty {} -1

Expected behavior

image

all subscriptions should be able to receive message for each publication.

Actual behavior

sometimes subscription does not call user callback on message.

Additional information

we can avoid this problem if,

  • using SingleThreadedExecutor
  • disable intra-process communication

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions