File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
rclcpp/src/rclcpp/executors/events_cbg_executor Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ get_next_ready_entity()
112112 return CBGScheduler::ExecutableEntity{exec_fun, this };
113113 }
114114
115- mark_as_skiped ();
115+ mark_as_skipped ();
116116
117117 return std::nullopt ;
118118}
@@ -140,7 +140,7 @@ get_next_ready_entity(GlobalEventIdProvider::MonotonicId max_id)
140140 return CBGScheduler::ExecutableEntity{exec_fun, this };
141141 }
142142
143- mark_as_skiped ();
143+ mark_as_skipped ();
144144
145145 return std::nullopt ;
146146}
Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ namespace executors
2828{
2929namespace cbg_executor
3030{
31- class CallbackGroupSchedulerEv ;
32- struct WeakExecutableCache ;
33- struct AnyExecutableCbgEv ;
34- class TimerManager ;
35- struct GloablaWeakExecutableCache ;
36-
3731class CBGScheduler
3832{
3933public:
@@ -90,7 +84,7 @@ class CBGScheduler
9084 const CallbackEventType & entity) = 0;
9185
9286 /* *
93- * Marks the last removed ready entitiy as executed.
87+ * Marks the last removed ready entity as executed.
9488 */
9589 void mark_as_executed ()
9690 {
@@ -145,7 +139,7 @@ class CBGScheduler
145139 scheduler.callback_group_ready (this , true );
146140 }
147141
148- void mark_as_skiped ()
142+ void mark_as_skipped ()
149143 {
150144 if (!has_ready_entities ()) {
151145 idle = true ;
@@ -174,7 +168,7 @@ class CBGScheduler
174168
175169 struct ExecutableEntity
176170 {
177- // if called executes the entitiy
171+ // if called executes the entity
178172 std::function<void ()> execute_function;
179173 // The callback group associated with the entity. Can be nullptr.
180174 CallbackGroupHandle *callback_handle = nullptr ;
You can’t perform that action at this time.
0 commit comments