Skip to content

Commit 4bc7778

Browse files
authored
fix print statement (#374)
1 parent bf43f89 commit 4bc7778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/world_interface/simulator_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ std::unordered_set<CameraID> getCameras() {
288288
std::shared_ptr<robot::types::CameraHandle> openCamera(CameraID cam) {
289289
cv::FileStorage fs(Constants::CAMERA_CONFIG_PATHS.at(cam), cv::FileStorage::READ);
290290
if (!fs.isOpened()) {
291-
throw std::invalid_argument("Configuration file for Camera ID" + std::to_string(cam) + " does not exist");
291+
throw std::invalid_argument("Configuration file for Camera ID" + cam + " does not exist");
292292
}
293293

294294
if (fs[KEY_IMAGE_WIDTH].empty() || fs[KEY_IMAGE_HEIGHT].empty() || fs[KEY_FRAMERATE].empty()) {

0 commit comments

Comments
 (0)