Skip to content

Commit

Permalink
Update rosonenode.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCornelis2 authored Sep 19, 2019
1 parent e295812 commit 8b17eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rosonenode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ int main(int argc, char **argv) {
using namespace std_msgs::msg;
rclcpp::init(0, nullptr);

int create = argc > 1 ? std::atoi(argv[1]) : 10;
int create = argc > 1 ? std::atoi(argv[1]) : 1;
std::chrono::milliseconds interval(argc > 2 ? std::atoi(argv[2]) : 20);
std::cout << "ROS create " << create << " nodes @ " << interval.count() << "ms" << std::endl;

Expand Down

0 comments on commit 8b17eab

Please sign in to comment.