From 5e8ccc2eea522e4d8638cf7600c1eb696bd41195 Mon Sep 17 00:00:00 2001 From: Will Stuckey Date: Sun, 8 Nov 2026 16:09:24 -0500 Subject: [PATCH] hotfix for CI on Ubuntu 24 --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index f7f02ff..6415f72 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -25,7 +25,7 @@ void init_config(const std::string& configPath) { YAML::Node yaml = YAML::LoadFile(configPath); config.set_camera_id(yaml["cam_id"].as(0)); for (auto const& x : YAML::LoadFile(yaml["bot_heights_file"].as("robot-heights.yml")).as>()) { - config.mutable_robot_heights()->insert(x); + config.mutable_robot_heights()->insert({x.first, static_cast(x.second)}); } std::string driver = getOptional(yaml["camera"])["driver"].as("SPINNAKER");