Skip to content

Commit 7d6a1e8

Browse files
committed
fix comments
Signed-off-by: Soragna, Alberto <[email protected]>
1 parent 292fe84 commit 7d6a1e8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

rclcpp/include/rclcpp/executors/events_executor.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ namespace executors
3535

3636
/// Events executor implementation
3737
/**
38-
* Add description
38+
* This executor is a variation of the standard one that does not uses a waitset.
39+
* The executor uses an events queue and a timers manager to execute entities from its
40+
* associated nodes and callback groups.
41+
* This provides improved performance as it allows to skip all the waitset maintenance operations.
3942
*
4043
* To run this executor:
4144
* rclcpp::executors::EventsExecutor executor;

rclcpp/include/rclcpp/executors/events_executor_notify_waitable.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class EventsExecutorNotifyWaitable final : public EventWaitable
7575
false);
7676

7777
if (RCL_RET_OK != ret) {
78-
throw std::runtime_error("Couldn't set guard condition callback");
78+
throw std::runtime_error("Couldn't set guard condition events callback");
7979
}
8080
}
8181
}

0 commit comments

Comments
 (0)