Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skucheria committed Jul 19, 2019
1 parent 050647a commit 6b1ba5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pendulum_control/src/pendulum_teleop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ class PendulumTeleop : public rclcpp::Node

rclcpp::sleep_for(500ms);
pub->publish(std::move(msg));
rclcpp::spin_some(this);
printf("Teleop message published.\n");
rclcpp::sleep_for(1s);
printf("Teleop node exited.\n");

rclcpp::shutdown();
}
};
Expand Down

0 comments on commit 6b1ba5b

Please sign in to comment.