Skip to content

Commit dc73eab

Browse files
committed
🔨 Uncommented previous log statements and assigned as debug statement.s
Signed-off-by: gary.bey <gary.bey@kabam.ai>
1 parent e9617ab commit dc73eab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/virtual_camera/virtual_camera.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class VirtualCamera : public rclcpp::Node
9292
if (rcpputils::fs::exists(FILE_PATH_TO_DATA_FOLDER)) {
9393
RCLCPP_INFO(this->get_logger(), "[ %s ] - FOUND. Proceeding... \n", DATA_FOLDER_NAME.c_str());
9494
} else {
95-
RCLCPP_INFO(
95+
RCLCPP_WARN(
9696
this->get_logger(), "[ %s ] - MISSING. Creating [ %s ] folder... \n",
9797
DATA_FOLDER_NAME.c_str(),
9898
DATA_FOLDER_NAME.c_str());
@@ -115,7 +115,7 @@ class VirtualCamera : public rclcpp::Node
115115

116116
// If failed to load image proper, load default image.
117117
if (img.empty()) {
118-
RCLCPP_INFO(
118+
RCLCPP_WARN(
119119
this->get_logger(),
120120
"[ %s ] - IMAGE EMPTY. Assigning DEFAULT_IMAGE \n",
121121
(FILE_PATH_TO_PACKAGE + FILE_PATH_TO_DEFAULT_IMAGE).c_str());
@@ -138,7 +138,7 @@ class VirtualCamera : public rclcpp::Node
138138

139139
sensor_msgs::msg::Image process_timer_callback()
140140
{
141-
// RCLCPP_INFO(this->get_logger(), "Publishing Image");
141+
RCLCPP_DEBUG(this->get_logger(), "Publishing Image");
142142
rclcpp::Parameter int_param = this->get_parameter("FPS");
143143
int new_fps = int_param.as_int();
144144

0 commit comments

Comments
 (0)