Skip to content

Commit

Permalink
small typos fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto committed Dec 12, 2018
1 parent 2b6f4e1 commit 73b963a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions simple_multithread/stress_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class SimpleSubscriberNode : public rclcpp::Node {

void simple_callback(const std_msgs::msg::Header::SharedPtr msg)
{
(void)msg;
msg_count ++;
}

Expand All @@ -62,8 +63,8 @@ int main(int argc, char ** argv)
rclcpp::init(argc, argv);

int n_subscribers = 20;
int wait_time_before_start = 20
int experiment_duration = 20
int wait_time_before_start = 20;
int experiment_duration = 20;

rclcpp::executors::SingleThreadedExecutor::SharedPtr executor =
std::make_shared<rclcpp::executors::SingleThreadedExecutor>();
Expand Down
2 changes: 1 addition & 1 deletion simple_parameters/src/simple_parameters_client_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ void SimpleParametersClientNode::parameter_events_callback(const rcl_interfaces:
}
}

RCLCPP_INFO(this->get_logger(), "%s", ss.str().c_str())
RCLCPP_INFO(this->get_logger(), "%s", ss.str().c_str());

}
5 changes: 4 additions & 1 deletion simple_security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ You can try them first, without security enabled.

$ ros2 run simple_subscriber subscriber_main __node:=simple_subscriber

They are communicating on a topic called `my_topic`
They are communicating on a topic called `my_topic`.
We are using the ROS2 CLI to overwrite the name of the nodes `__node:=<new_name>`.

If you want to check the source code of these nodes: [simple_publisher](../simple_publisher) and [simple_subscriber](../simple_subscriber).

#### Creating authentication keys

Expand Down

0 comments on commit 73b963a

Please sign in to comment.