Skip to content
Snippets Groups Projects
Commit 2578105b authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

(WIP) Define predictor function

parent 45ee34e8
No related branches found
No related tags found
1 merge request!265Robot state predictions
......@@ -22,10 +22,14 @@
#pragma once
#include <functional>
#include <vector>
#include <RobotAPI/interface/armem/prediction.h>
#include <RobotAPI/libraries/armem/core/MemoryID.h>
#include <RobotAPI/libraries/aron/core/data/variant/container/Dict.h>
namespace armarx::armem
{
......@@ -66,6 +70,10 @@ namespace armarx::armem
armem::prediction::data::PredictionResult toIce() const;
};
using Predictor = std::function<std::vector<PredictionResult>(const std::vector<PredictionRequest>& requests)>;
void toIce(armem::prediction::data::PredictionEngine& ice,
const PredictionEngine& engine);
void fromIce(const armem::prediction::data::PredictionEngine& ice,
......
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