Skip to content

Commit dab768c

Browse files
Janosch MachowinskiJanosch Machowinski
authored andcommitted
chore: more typos
1 parent 5082992 commit dab768c

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

rclcpp/src/rclcpp/executors/events_cbg_executor/first_in_first_out_scheduler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

rclcpp/src/rclcpp/executors/events_cbg_executor/scheduler.hpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ namespace executors
2828
{
2929
namespace cbg_executor
3030
{
31-
class CallbackGroupSchedulerEv;
32-
struct WeakExecutableCache;
33-
struct AnyExecutableCbgEv;
34-
class TimerManager;
35-
struct GloablaWeakExecutableCache;
36-
3731
class CBGScheduler
3832
{
3933
public:
@@ -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;

0 commit comments

Comments
 (0)