mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-12 15:29:49 +08:00
Modify the json directory
This commit is contained in:
@@ -62,7 +62,7 @@ class MetadataExportFiles : public rclcpp::Node {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void load_parameters() {
|
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()) {
|
if (!file.is_open()) {
|
||||||
RCLCPP_ERROR(this->get_logger(), "Failed to open JSON file.");
|
RCLCPP_ERROR(this->get_logger(), "Failed to open JSON file.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user