Struct CompressionOptions

Struct Documentation

struct CompressionOptions

Compression options used in the writer which are passed down from the CLI in rosbag2_transport.

Public Members

std::string compression_format = {}
CompressionMode compression_mode = {CompressionMode::NONE}
uint64_t compression_queue_size = {0}
uint64_t compression_threads = {0}

// The number of compression threads

std::optional<int32_t> thread_priority

If set, the compression thread(s) will try to set the given priority for itself For Windows the valid values are: THREAD_PRIORITY_LOWEST, THREAD_PRIORITY_BELOW_NORMAL and THREAD_PRIORITY_NORMAL. For POSIX compatible OSes this is the “nice” value.