Skip to content

Commit

Permalink
fix(hesai_hw_monitor_ros_wrapper): fixed wrong range given for S/N copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomex committed Apr 8, 2024
1 parent e69e313 commit 6713b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula_ros/src/hesai/hesai_hw_monitor_ros_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ HesaiHwMonitorRosWrapper::HesaiHwMonitorRosWrapper(const rclcpp::NodeOptions & o
RCLCPP_INFO_STREAM(this->get_logger(), "HesaiInventory");
RCLCPP_INFO_STREAM(this->get_logger(), result);
info_model = result.get_str_model();
info_serial = std::string(std::begin(result.sn), std::begin(result.sn));
info_serial = std::string(std::begin(result.sn), std::end(result.sn));
hw_interface_.SetTargetModel(result.model);
RCLCPP_INFO_STREAM(this->get_logger(), "Model:" << info_model);
RCLCPP_INFO_STREAM(this->get_logger(), "Serial:" << info_serial);
Expand Down

0 comments on commit 6713b0d

Please sign in to comment.