From 19c0a4ba61672abd02c4b4c8259e022d2814fde4 Mon Sep 17 00:00:00 2001 From: Tomohito ANDO Date: Fri, 20 Sep 2024 10:48:31 +0900 Subject: [PATCH] fix(lidar_centerpoint, pointpainting): increase CAPACITY_POINT to avoid crashing (#1546) Signed-off-by: Tomohito Ando --- .../pointpainting_fusion/pointpainting_trt.hpp | 2 +- .../include/lidar_centerpoint/centerpoint_trt.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perception/image_projection_based_fusion/include/image_projection_based_fusion/pointpainting_fusion/pointpainting_trt.hpp b/perception/image_projection_based_fusion/include/image_projection_based_fusion/pointpainting_fusion/pointpainting_trt.hpp index d28d9eb31216d..d5892de6d7edb 100644 --- a/perception/image_projection_based_fusion/include/image_projection_based_fusion/pointpainting_fusion/pointpainting_trt.hpp +++ b/perception/image_projection_based_fusion/include/image_projection_based_fusion/pointpainting_fusion/pointpainting_trt.hpp @@ -23,7 +23,7 @@ namespace image_projection_based_fusion { -static constexpr size_t CAPACITY_POINT = 1000000; +static constexpr size_t CAPACITY_POINT = 2000000; class PointPaintingTRT : public centerpoint::CenterPointTRT { public: diff --git a/perception/lidar_centerpoint/include/lidar_centerpoint/centerpoint_trt.hpp b/perception/lidar_centerpoint/include/lidar_centerpoint/centerpoint_trt.hpp index 8cf250be0c049..383e8ef719d4d 100644 --- a/perception/lidar_centerpoint/include/lidar_centerpoint/centerpoint_trt.hpp +++ b/perception/lidar_centerpoint/include/lidar_centerpoint/centerpoint_trt.hpp @@ -32,7 +32,7 @@ namespace centerpoint { -static constexpr size_t CAPACITY_POINT = 1000000; +static constexpr size_t CAPACITY_POINT = 2000000; class NetworkParam {