Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated deprecated rcpputils::path #1014

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions image_proc/test/rostest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#include <gtest/gtest.h>

#include <filesystem>
#include <memory>
#include <string>

Expand Down Expand Up @@ -65,9 +66,9 @@ class ImageProcTest
topic_color = camera_ns + "image_color";
topic_rect_color = camera_ns + "image_rect_color";

const rcpputils::fs::path base{_SRC_RESOURCES_DIR_PATH};
const rcpputils::fs::path raw_image_file = base / "logo.png";
const rcpputils::fs::path cam_info_file = base / "calibration_file.ini";
const std::filesystem::path base{_SRC_RESOURCES_DIR_PATH};
const std::filesystem::path raw_image_file = base / "logo.png";
const std::filesystem::path cam_info_file = base / "calibration_file.ini";

/// @todo Test variety of encodings for raw image (bayer, mono, color)
cv::Mat img = cv::imread(raw_image_file.string(), 0);
Expand Down