Skip to content

Commit 162bbd7

Browse files
emilkroym899
andauthored
Update to Rerun 0.16 (#9)
* Update to Rerun 0.16 * Fix formatting --------- Co-authored-by: Leonard Bruns <[email protected]>
1 parent a8a6084 commit 162bbd7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cwd = "humble_ws"
7171
cmd = "curl -L -C - -O https://storage.googleapis.com/rerun-example-datasets/carla_ros2.zip && unzip carla_ros2.zip"
7272
cwd = "humble_ws/install/rerun_bridge/share/rerun_bridge"
7373
outputs = ["humble_ws/install/rerun_bridge/share/rerun_bridge/carla_ros2"]
74-
depends_on=["build"]
74+
depends_on = ["build"]
7575

7676
[tasks.carla_example]
7777
cmd = "bash -c 'source ./install/local_setup.bash && ros2 launch rerun_bridge carla_example.launch'"
@@ -110,7 +110,7 @@ cwd = "humble_ws"
110110
# https://github.com/prefix-dev/pixi/issues/1163
111111

112112
[tasks.rerun_viewer]
113-
cmd = "pip install rerun-sdk==0.15"
113+
cmd = "pip install rerun-sdk==0.16"
114114

115115
[tasks.rerun_urdf_loader]
116116
cmd = "pip install git+https://github.com/rerun-io/rerun-loader-python-example-urdf.git"

rerun_bridge/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
66
endif()
77

88
# Avoid warning about CMP0135
9-
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
10-
cmake_policy(SET CMP0135 NEW)
9+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
10+
cmake_policy(SET CMP0135 NEW)
1111
endif()
1212

1313
find_package(ament_cmake REQUIRED)
@@ -22,7 +22,7 @@ find_package(OpenCV REQUIRED)
2222
find_package(yaml-cpp REQUIRED)
2323

2424
include(FetchContent)
25-
FetchContent_Declare(rerun_sdk URL https://github.com/rerun-io/rerun/releases/download/0.15.1/rerun_cpp_sdk.zip)
25+
FetchContent_Declare(rerun_sdk URL https://github.com/rerun-io/rerun/releases/download/0.16.0/rerun_cpp_sdk.zip)
2626
FetchContent_MakeAvailable(rerun_sdk)
2727

2828
# setup targets (has to be done before ament_package call)
@@ -45,6 +45,5 @@ ament_export_include_directories(include)
4545
ament_export_libraries(${PROJECT_NAME})
4646
ament_package()
4747

48-
4948
install(DIRECTORY launch DESTINATION share/${PROJECT_NAME})
5049
install(TARGETS visualizer DESTINATION lib/${PROJECT_NAME})

rerun_bridge/src/rerun_bridge/visualizer_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void RerunLoggerNode::_read_yaml_config(std::string yaml_path) {
179179
extra_transform3d["transform"][2].as<float>(),
180180
extra_transform3d["transform"][6].as<float>(),
181181
extra_transform3d["transform"][10].as<float>()};
182-
_rec.log_timeless(
182+
_rec.log_static(
183183
extra_transform3d["entity_path"].as<std::string>(),
184184
rerun::Transform3D(
185185
rerun::Vec3D(translation),

0 commit comments

Comments
 (0)