Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Jan 29, 2025
1 parent 2e14eeb commit 37e4024
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class VisualizationAggregator : public rclcpp::Node
"/visualizer_svgs", rclcpp::SensorDataQoS(),
[&](const crane_visualization_interfaces::msg::SvgPrimitiveArray::ConstSharedPtr & msg) {
// store into layers
layers.try_emplace(msg->layer, msg->svg_primitives);
layers[msg->layer] = msg->svg_primitives;
});
publisher = create_publisher<crane_visualization_interfaces::msg::SvgLayerArray>("/aggregated_svgs", 10);
timer = create_wall_timer(std::chrono::milliseconds(100), [this]() {
Expand Down

0 comments on commit 37e4024

Please sign in to comment.