mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 03:57:46 +08:00
feat: add logging for subnet mask and gateway in device listing
This commit is contained in:
@@ -56,6 +56,10 @@ int main() {
|
||||
"usb connect type: " << connection_type);
|
||||
RCLCPP_INFO_STREAM(rclcpp::get_logger("list_device_node"),
|
||||
"MAC address: " << list->getUid(i));
|
||||
RCLCPP_INFO_STREAM(rclcpp::get_logger("list_device_node"),
|
||||
"subnet mask: " << list->getSubnetMask(i));
|
||||
RCLCPP_INFO_STREAM(rclcpp::get_logger("list_device_node"),
|
||||
"gateway: " << list->getGateway(i));
|
||||
std::cout << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user