Skip to content

Commit

Permalink
Fix typo (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
youtalk authored and dirk-thomas committed Jul 13, 2018
1 parent 4e3f5eb commit a528aa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lifecycle/src/lifecycle_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class LifecycleListener : public rclcpp::Node
std::bind(&LifecycleListener::data_callback, this, std::placeholders::_1));

// Notification event topic. All state changes
// are published here as TransiitonEvents with
// are published here as TransitionEvents with
// a start and goal state indicating the transition
sub_notification_ = this->create_subscription<lifecycle_msgs::msg::TransitionEvent>(
"/lc_talker/transition_event", std::bind(&LifecycleListener::notification_callback, this,
Expand Down
4 changes: 2 additions & 2 deletions lifecycle/src/lifecycle_talker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

using namespace std::chrono_literals;

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

0 comments on commit a528aa2

Please sign in to comment.