From cdbe3f04c44c668e8e49d77ede23d219e1c090d3 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 4 Jul 2024 15:50:00 +0200 Subject: [PATCH] Update to Rerun 0.16 (#11) * Update to 0.16 RC * Update to rerun 0.16 final --- CMakeLists.txt | 2 +- README.md | 4 ++-- src/frame_player.cpp | 2 +- src/imu_player.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 188ba10..661a72f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ endif() # Rerun: include(FetchContent) -FetchContent_Declare(rerun_sdk URL https://github.com/rerun-io/rerun/releases/download/0.15.0/rerun_cpp_sdk.zip) +FetchContent_Declare(rerun_sdk URL https://github.com/rerun-io/rerun/releases/download/0.16.0/rerun_cpp_sdk.zip) FetchContent_MakeAvailable(rerun_sdk) # VRS: diff --git a/README.md b/README.md index 18f9ab2..4f4aeef 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ If you choose not to use pixi, you will need to install a few things yourself be The Rerun C++ SDK works by connecting to an awaiting Rerun Viewer over TCP. If you need to install the viewer, follow the [installation guide](https://www.rerun.io/docs/getting-started/installing-viewer). Two of the more common ways to install the Rerun Viewer are: -* Via cargo: `cargo install rerun-cli@0.15.0` -* Via pip: `pip install rerun-sdk==0.15.0` +* Via cargo: `cargo install rerun-cli@0.16.0` +* Via pip: `pip install rerun-sdk==0.16.0` After you have installed it, you should be able to type `rerun` in your terminal to start the viewer. diff --git a/src/frame_player.cpp b/src/frame_player.cpp index 571a067..5e6adf2 100644 --- a/src/frame_player.cpp +++ b/src/frame_player.cpp @@ -50,7 +50,7 @@ namespace rerun_vrs { if (record.recordType == vrs::Record::Type::CONFIGURATION) { // NOTE this is meta data from the sensor that doesn't change over time and only comes // in once in the beginning - _rec->log_timeless(_entity_path + "/configuration", rerun::TextDocument(layout_str)); + _rec->log_static(_entity_path + "/configuration", rerun::TextDocument(layout_str)); } if (record.recordType == vrs::Record::Type::DATA) { diff --git a/src/imu_player.cpp b/src/imu_player.cpp index e33c0cb..88d7c9e 100644 --- a/src/imu_player.cpp +++ b/src/imu_player.cpp @@ -62,7 +62,7 @@ namespace rerun_vrs { if (record.recordType == vrs::Record::Type::CONFIGURATION) { // NOTE this is meta data from the sensor that doesn't change over time and only comes // in once in the beginning - _rec->log_timeless(_entity_path + "/configuration", rerun::TextDocument(layout_str)); + _rec->log_static(_entity_path + "/configuration", rerun::TextDocument(layout_str)); // read properties required for logging auto& config = getExpectedLayout(layout, blockIndex);