Skip to content

Commit

Permalink
fix(log-messages): lower some info message to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed Ebrahim authored and ahmeddesokyebrahim committed Feb 28, 2024
1 parent 4651feb commit c2c3b58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ VelodyneDriverRosWrapper::VelodyneDriverRosWrapper(const rclcpp::NodeOptions & o
RCLCPP_ERROR_STREAM(this->get_logger(), this->get_name() << " Error:" << wrapper_status_);
return;
}
RCLCPP_INFO_STREAM(this->get_logger(), this->get_name() << ". Starting...");
RCLCPP_DEBUG_STREAM(this->get_logger(), this->get_name() << ". Starting...");

calibration_cfg_ptr_ =
std::make_shared<drivers::VelodyneCalibrationConfiguration>(calibration_configuration);

sensor_cfg_ptr_ = std::make_shared<drivers::VelodyneSensorConfiguration>(sensor_configuration);

RCLCPP_INFO_STREAM(this->get_logger(), this->get_name() << ". Driver ");
RCLCPP_DEBUG_STREAM(this->get_logger(), this->get_name() << ". Driver ");
wrapper_status_ = InitializeDriver(
std::const_pointer_cast<drivers::SensorConfigurationBase>(sensor_cfg_ptr_),
std::static_pointer_cast<drivers::CalibrationConfigurationBase>(calibration_cfg_ptr_));

RCLCPP_INFO_STREAM(this->get_logger(), this->get_name() << "Wrapper=" << wrapper_status_);
RCLCPP_DEBUG_STREAM(this->get_logger(), this->get_name() << "Wrapper=" << wrapper_status_);

velodyne_scan_sub_ = create_subscription<velodyne_msgs::msg::VelodyneScan>(
"velodyne_packets", rclcpp::SensorDataQoS(),
Expand Down

0 comments on commit c2c3b58

Please sign in to comment.