Skip to content

Commit a528aa2

Browse files
youtalkdirk-thomas
authored andcommitted
Fix typo (#270)
1 parent 4e3f5eb commit a528aa2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lifecycle/src/lifecycle_listener.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class LifecycleListener : public rclcpp::Node
4242
std::bind(&LifecycleListener::data_callback, this, std::placeholders::_1));
4343

4444
// Notification event topic. All state changes
45-
// are published here as TransiitonEvents with
45+
// are published here as TransitionEvents with
4646
// a start and goal state indicating the transition
4747
sub_notification_ = this->create_subscription<lifecycle_msgs::msg::TransitionEvent>(
4848
"/lc_talker/transition_event", std::bind(&LifecycleListener::notification_callback, this,

lifecycle/src/lifecycle_talker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
using namespace std::chrono_literals;
3434

35-
/// LifeycycleTalker inheriting from rclcpp_lifecycle::LifecycleNode
35+
/// LifecycleTalker inheriting from rclcpp_lifecycle::LifecycleNode
3636
/**
3737
* The lifecycle talker does not like the regular "talker" node
3838
* inherit from node, but rather from lifecyclenode. This brings
@@ -108,7 +108,7 @@ class LifecycleTalker : public rclcpp_lifecycle::LifecycleNode
108108
{
109109
// This callback is supposed to be used for initialization and
110110
// configuring purposes.
111-
// We thus initalize and configure our messages, publishers and timers.
111+
// We thus initialize and configure our messages, publishers and timers.
112112
// The lifecycle node API does return lifecycle components such as
113113
// lifecycle publishers. These entities obey the lifecycle and
114114
// can comply to the current state of the node.

0 commit comments

Comments
 (0)