feat(record): add raw ZED body MCAP capture
This commit is contained in:
@@ -26,6 +26,11 @@ struct RawDepthMapView {
|
||||
std::span<const float> pixels{};
|
||||
};
|
||||
|
||||
struct RawBodyTrackingMessageView {
|
||||
std::uint64_t timestamp_ns{0};
|
||||
std::span<const std::uint8_t> bytes{};
|
||||
};
|
||||
|
||||
class McapRecordSink {
|
||||
public:
|
||||
McapRecordSink() = default;
|
||||
@@ -51,6 +56,9 @@ public:
|
||||
[[nodiscard]]
|
||||
std::expected<void, std::string> write_depth_map(const RawDepthMapView &depth_map);
|
||||
|
||||
[[nodiscard]]
|
||||
std::expected<void, std::string> write_body_tracking_message(const RawBodyTrackingMessageView &body_message);
|
||||
|
||||
[[nodiscard]]
|
||||
bool is_open() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user