Skip to content
Snippets Groups Projects
Commit 25c6dbc6 authored by Fabian Reister's avatar Fabian Reister
Browse files

armem vision memory: adding core segment for laser scanner features

parent fbdba1d3
Branches demo-armar6-r3
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
#include <RobotAPI/libraries/armem/server/wm/memory_definitions.h>
#include <RobotAPI/libraries/armem_vision/aron/OccupancyGrid.aron.generated.h>
#include <RobotAPI/libraries/armem_vision/aron/LaserScannerFeatures.aron.generated.h>
namespace armarx::armem::server
{
......@@ -66,10 +66,15 @@ namespace armarx::armem::server
}
{
wm::CoreSegment& cs = workingMemory().addCoreSegment("OccupancyGrid", armem::arondto::OccupancyGrid::ToAronType());
wm::CoreSegment& cs = workingMemory().addCoreSegment("OccupancyGrid", armem::vision::arondto::OccupancyGrid::ToAronType());
cs.setMaxHistorySize(properties.occupancyGridMaxHistorySize);
}
{
wm::CoreSegment& cs = workingMemory().addCoreSegment("LaserScannerFeatures", armem::vision::arondto::LaserScannerFeatures::ToAronType());
cs.setMaxHistorySize(properties.laserScannerFeaturesMaxHistorySize);
}
{
wm::CoreSegment& cs = workingMemory().addCoreSegment("PointCloud");
cs.setMaxHistorySize(properties.pointCloudMaxHistorySize);
......
......@@ -66,6 +66,7 @@ namespace armarx::armem::server
long imageRGBMaxHistorySize = 20;
long imageDepthMaxHistorySize = 20;
long occupancyGridMaxHistorySize = 20;
long laserScannerFeaturesMaxHistorySize = 20;
long pointCloudMaxHistorySize = 20;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment