Skip to content

Commit

Permalink
updated prints
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Oct 24, 2024
1 parent 0dffb22 commit a182fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrs_camera_republisher/src/throttle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ void Throttle::onInit() {

ros::NodeHandle nh = nodelet::Nodelet::getMTPrivateNodeHandle();

ROS_INFO("[CameraThrottle_%s]: initializing", _camera_name_.c_str());

ros::Time::waitForValid();

last_time_published_image_ = ros::Time(0);
Expand All @@ -87,6 +85,8 @@ void Throttle::onInit() {
ros::shutdown();
}

ROS_INFO("[CameraThrottle_%s]: initializing", _camera_name_.c_str());

if (rate < 1e-3) {
ROS_ERROR("[CameraThrottle_%s]: provided rate is too low", _camera_name_.c_str());
ros::shutdown();
Expand Down

0 comments on commit a182fcd

Please sign in to comment.