mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2025-06-20 11:18:12 +02:00
Found a way to unify the hdr_output_folder so that it's set across both
the publisher and the camera_simulator with just the flag
This commit is contained in:
@ -9,10 +9,12 @@ catkin_simple()
|
||||
set(HEADERS
|
||||
include/esim/common/types.hpp
|
||||
include/esim/common/utils.hpp
|
||||
include/esim/common/hdr.hpp
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
src/utils.cpp
|
||||
src/hdr.cpp
|
||||
)
|
||||
|
||||
cs_add_library(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
||||
|
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <gflags/gflags.h>
|
||||
|
||||
extern std::string hdr_output_folder;
|
9
event_camera_simulator/esim_common/src/hdr.cpp
Normal file
9
event_camera_simulator/esim_common/src/hdr.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include "esim/common/hdr.hpp"
|
||||
|
||||
DEFINE_string(
|
||||
hdr_output_folder,
|
||||
"/home/arno/sim_ws/out",
|
||||
"Folder in which to output the events."
|
||||
);
|
||||
|
||||
std::string hdr_output_folder = FLAGS_hdr_output_folder;
|
Reference in New Issue
Block a user