Skip to content

Commit

Permalink
Update About-Executors.rst (ros2#3594) (ros2#3601)
Browse files Browse the repository at this point in the history
typo. node2 added twice instead of adding node3

(cherry picked from commit e1a3982)

Co-authored-by: Drewbot <contact@drewhamilton.net>
  • Loading branch information
mergify[bot] and drewhamiltonasdf committed May 15, 2023
1 parent acde9b8 commit 9e03334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Concepts/About-Executors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ All three executors can be used with multiple nodes by calling ``add_node(..)``
rclcpp::executors::StaticSingleThreadedExecutor executor;
executor.add_node(node1);
executor.add_node(node2);
executor.add_node(node2);
executor.add_node(node3);
executor.spin();
In the above example, the one thread of a Static Single-Threaded Executor is used to serve three nodes together.
Expand Down

0 comments on commit 9e03334

Please sign in to comment.