Skip to content

Commit

Permalink
Destructor invoke as debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Samahu committed Nov 18, 2023
1 parent 2017792 commit c2b3d69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ouster-ros/src/os_driver_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class OusterDriver : public OusterSensor {
}

~OusterDriver() override {
RCLCPP_INFO(get_logger(), "OusterDriver::~OusterDriver() called");
RCLCPP_DEBUG(get_logger(), "OusterDriver::~OusterDriver() called");
halt();
}

Expand Down
2 changes: 1 addition & 1 deletion ouster-ros/src/os_sensor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ OusterSensor::OusterSensor(const rclcpp::NodeOptions& options)
: OusterSensor("os_sensor", options) {}

OusterSensor::~OusterSensor() {
RCLCPP_INFO(get_logger(), "OusterDriver::~OusterSensor() called");
RCLCPP_DEBUG(get_logger(), "OusterSensor::~OusterSensor() called");
halt();
}

Expand Down

0 comments on commit c2b3d69

Please sign in to comment.