Modify the json directory

This commit is contained in:
jj
2024-09-29 09:49:23 +08:00
parent 647003bcfd
commit f4ff15316b
@@ -62,7 +62,7 @@ class MetadataExportFiles : public rclcpp::Node {
}
void load_parameters() {
std::ifstream file("src/OrbbecSDK_ROS2/orbbec_camera/config/metadataexport/metadata_export_params.json");
std::ifstream file("install/orbbec_camera/share/orbbec_camera/config/metadataexport/metadata_export_params.json");
if (!file.is_open()) {
RCLCPP_ERROR(this->get_logger(), "Failed to open JSON file.");
return;