|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer_v2 repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/facontidavide/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged data_tamer_v2 at Robotics Stack Exchange
|
data_tamer_v2 package from data_tamer repodata_tamer_v2 data_tamer_msgs |
ROS Distro
|
Package Summary
| Version | 2.1.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/PickNikRobotics/data_tamer.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2026-11-13 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Davide Faconti
- Henry Moore
- Nathan Brooks
Authors
- Davide Faconti
Changelog for package data_tamer
2.1.0 (2026-11-13)
-
MCAPSinkandMCAPRingSinkkeep the page cache of the files they write bounded on Linux: every 32 MiB they start the writeback of the new data, wait for the previous 32 MiB to reach the disk and drop it from the cache, so about 96 MiB of a file is cached at most. A 2 GiB dump no longer leaves 2 GiB of dirty pages for the kernel to flush at once, which flooded the disk queue and stalled other processes on page faults. Closing a file now runsfsync():stop(),stopRecording()and a rollover return once the file is on disk. -
MCAPSinkreports failed writes. It usedmcap::FileWriter, whosefwrite()check is anassert, so a full disk produced a truncated file with no error. Now a failed write throws fromonSnapshot()(counted inSinkWorker::errors()), and a failure while closing the file throws fromstopRecording(), or from theonSnapshot()orrestartRecording()that closed it.MCAPRingDumpreports a failedfsync()orclose()too. - The sink worker threads are named
dt_sink_workerand theMCAPRingSinkwriter threaddt_ring_writer(Linux, macOS), fortop -H, perf and debuggers.
2.0.0 (2026-10-24)
First release of the 2.x series, relative to 1.0.4. It breaks source and
binary compatibility: rebuild every binary that links data_tamer, and
read docs/MIGRATION.md, which gives the replacement for each removed
API and lists the behaviour changes that compile without a warning.
Readers need the 2.0 parser for files recorded by 2.0; it still reads
1.x files.
Breaking changes
- The namespace is
DataTamer2(wasDataTamer), the headers are indata_tamer_v2/(weredata_tamer/) and the standalone parser isdata_tamer_v2/data_tamer_parser.hpp(wasdata_tamer_parser/data_tamer_parser.hpp).SerializeMeandDataTamerParserkeep their names, inside an inline namespacev2. -
DataSinkBaseis replaced byDataSink, whose protected callbacks areonSchema(),onSnapshot(const SnapshotRef&)and the optionalonStop()andonStart()(throw to report a failure), owned by aSinkWorkerthat runs the delivery thread.addChannel(),pushSnapshot(),storeSnapshot(),stopThread(),stopAcceptingSnapshots(),processQueuedSnapshots()andstartAcceptingSnapshots()are gone: useSinkWorker::stop(),drain()andstart(). To write data_tamer MCAP files from your own data, usesinks/mcap_encoding.hpp. - Sinks are created with
MCAPSink::create(),ROS2PublisherSink::create(),DummySink::create()orSinkWorker::create<T>(), which return astd::shared_ptr<SinkWorkerOf<T>>: aSinkWorkerwhosesink()is theT(static cast, nodynamic_cast), converting to thestd::shared_ptr<SinkWorker>thataddDataSink()andaddDefaultSink()take.worker->as<T>()reaches the sink through a plainSinkWorker(std::bad_castfor the wrong type). Passingstd::make_shared<MCAPSink>(path), as in 1.x, toaddDataSink(),removeDataSink()oraddDefaultSink()fails with astatic_assertthat namesMCAPSink::create()andSinkWorker::create<T>().LogChannel::addDataSink()takes the worker and returnsbool(falseif it was attached already).MCAPSink::finishQueueAndStop()is removed (worker->stop()),restartRecording()no longer resumes a stopped worker, andDummySinkhas accessors (latestSnapshot(),schema(hash), ...) instead of public members. -
Snapshothas nochannel_name(useSchema::channel_name, matched byschema_hash), andschema_hashisuint64_t.DataSnapshotis removed. -
takeSnapshot()returns aSnapshotResultinstead ofbool(accepted(result)replaces thebool).getActiveFlags()is removed:isEnabled(id)in the application,Snapshot::active_maskin a sink. -
LogChannel::writeMutex()and theMutexalias are removed: another thread writes registered variables insidescopedWrite(). -
LoggedValue: scalars are atomic and useset()andget()only. Structs and vectors keepgetMutablePtr()andgetConstPtr(), whose guards are not movable and have nooperator booland nomutex().getLockedPtr()and theauto_enableparameter ofset()are removed. ALoggedValuecan't be moved or default-constructed. -
RegistrationIDis opaque: nofirst_index,fields_countoroperator+=. -
CustomSerializerT(std::string)isexplicit,CustomTypeName<T>::get()is notconstexpr,Schema::custom_typesandcustom_schemasarestd::map(werestd::unordered_map), andlong doubleis a compile error. Removed:getPointerType(),SerializeMe::enable_if_same_tand the library'sAddFieldToHash(), replaced bySchemaTextHash()andComputeSchemaHash()(the parser keeps its own, for version 4 texts). - Parser:
ParseSnapshot()loses its unusedcallback_customparameter and is[[nodiscard]];ParseSnapshotRecursivemoves toDataTamerParser::detailandNullCustomCallbackis removed;SnapshotView::schema_hashisuint64_t;BuilSchemaFromText()is a deprecated alias ofBuildSchemaFromText(). The header needs a little-endian host and no longer includes<iostream>. -
sinks/ros2_publisher_sink.hppno longer includes thedata_tamer_msgsheaders.
Behaviour changes
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| ament_cmake_gtest | |
| gtest_vendor | |
| rclcpp | |
| rclcpp_lifecycle | |
| mcap_vendor | |
| data_tamer_msgs |