Skip to content

Commit

Permalink
modify doc string regarding the requirement of asserting liveliness
Browse files Browse the repository at this point in the history
  • Loading branch information
mm318 committed Apr 2, 2019
1 parent e6b33d4 commit e0206ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ class Node : public std::enable_shared_from_this<Node>
/// Manually assert that this Node is alive (for RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_NODE)
/**
* If the rmw Liveliness policy is set to RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_NODE, the creator
* of this node must manually call `assert_liveliness` on a regular basis to signal to the rest
* of this node may manually call `assert_liveliness` at some point in time to signal to the rest
* of the system that this Node is still alive.
* This function must be called at least as often as the qos_profile's liveliness_lease_duration
*/
Expand Down
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class PublisherBase
/// Manually assert that this Publisher is alive (for RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_TOPIC)
/**
* If the rmw Liveliness policy is set to RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_TOPIC, the creator
* of this Publisher must manually call `assert_liveliness` on a regular basis to signal to the
* of this publisher may manually call `assert_liveliness` at some point in time to signal to the
* rest of the system that this Node is still alive.
* This function must be called at least as often as the qos_profile's liveliness_lease_duration
*/
Expand Down

0 comments on commit e0206ec

Please sign in to comment.