Make MCAP and depth support optional
This commit is contained in:
@@ -8,6 +8,15 @@
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
#ifndef CVMMAP_STREAMER_HAS_MCAP
|
||||
#define CVMMAP_STREAMER_HAS_MCAP 0
|
||||
#endif
|
||||
|
||||
#ifndef CVMMAP_STREAMER_HAS_MCAP_DEPTH
|
||||
#define CVMMAP_STREAMER_HAS_MCAP_DEPTH 0
|
||||
#endif
|
||||
|
||||
|
||||
namespace cvmmap_streamer {
|
||||
|
||||
enum class CodecType {
|
||||
@@ -89,6 +98,7 @@ struct OutputsConfig {
|
||||
|
||||
struct McapRecordConfig {
|
||||
bool enabled{false};
|
||||
bool depth_enabled{true};
|
||||
std::string path{"capture.mcap"};
|
||||
std::string topic{"/camera/video"};
|
||||
std::string depth_topic{"/camera/depth"};
|
||||
|
||||
Reference in New Issue
Block a user