MemoryIntrospector.cpp
Go to the documentation of this file.
1
#include "
MemoryIntrospector.h
"
2
3
#include <
armarx/navigation/memory/client/stack_result/Writer.h
>
4
5
namespace
armarx::navigation::server
6
{
7
MemoryIntrospector::MemoryIntrospector
(
memory::client::stack_result::Writer
& globPlanWriter,
8
const
std::string& clientID) :
9
globPlanWriter(globPlanWriter), clientID(clientID)
10
{
11
}
12
13
void
14
MemoryIntrospector::onGlobalPlannerResult
(
const
global_planning::GlobalPlannerResult
& result)
15
{
16
globPlanWriter.
store
(result, clientID);
17
}
18
19
void
20
MemoryIntrospector::onLocalPlannerResult
(
21
const
std::optional<local_planning::LocalPlannerResult>& result)
22
{
23
// TODO(fabian.reister): implement
24
}
25
26
void
27
MemoryIntrospector::onGoal
(
const
core::Pose
& goal)
28
{
29
// TODO(fabian.reister): implement
30
}
31
32
// void
33
// MemoryIntrospector::onStackResult(const StackResult& result)
34
// {
35
// globPlanWriter.store(result, clientID);
36
// // TODO(fabian.reister): add more
37
// }
38
}
// namespace armarx::navigation::server
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition:
basic_types.h:31
armarx::navigation::server
This file is part of ArmarX.
Definition:
EventPublishingInterface.h:10
armarx::navigation::server::MemoryIntrospector::onLocalPlannerResult
void onLocalPlannerResult(const std::optional< local_planning::LocalPlannerResult > &result) override
Definition:
MemoryIntrospector.cpp:20
armarx::navigation::global_planning::GlobalPlannerResult
Definition:
GlobalPlanner.h:38
MemoryIntrospector.h
armarx::navigation::memory::client::stack_result::Writer
Definition:
Writer.h:35
armarx::navigation::memory::client::stack_result::Writer::store
bool store(const server::StackResult &result, const std::string &clientID)
Definition:
Writer.cpp:16
armarx::navigation::server::MemoryIntrospector::onGlobalPlannerResult
void onGlobalPlannerResult(const global_planning::GlobalPlannerResult &result) override
Definition:
MemoryIntrospector.cpp:14
Writer.h
armarx::navigation::server::MemoryIntrospector::MemoryIntrospector
MemoryIntrospector(memory::client::stack_result::Writer &globPlanWriter, const std::string &clientID)
Definition:
MemoryIntrospector.cpp:7
armarx::navigation::server::MemoryIntrospector::onGoal
void onGoal(const core::Pose &goal) override
Definition:
MemoryIntrospector.cpp:27
armarx
navigation
server
introspection
MemoryIntrospector.cpp
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17