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