Visu.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#include <
ArmarXCore/core/logging/Logging.h
>
5
#include <
ArmarXCore/core/services/tasks/TaskUtil.h
>
6
7
#include <
ArmarXGui/libraries/RemoteGui/Client/Widgets.h
>
8
9
#include <
RobotAPI/components/ArViz/Client/Client.h
>
10
#include <RobotAPI/interface/objectpose/ObjectPoseStorageInterface.h>
11
#include <
RobotAPI/libraries/ArmarXObjects/ObjectPose.h
>
12
#include <RobotAPI/libraries/armem_objects/aron/FamiliarObjectInstance.aron.generated.h>
13
#include <
RobotAPI/libraries/armem_objects/server/instance/visu/LinearPredictionsVisu.h
>
14
15
namespace
armarx
16
{
17
class
ObjectFinder;
18
}
19
20
namespace
armarx::armem::server::obj::familiar_object_instance
21
{
22
23
/**
24
* @brief Models decay of object localizations by decreasing the confidence
25
* the longer the object was not localized.
26
*/
27
class
Visu
:
public
armarx::Logging
28
{
29
public
:
30
void
defineProperties
(
armarx::PropertyDefinitionsPtr
defs,
31
const
std::string& prefix =
"visu."
);
32
33
34
void
visualizeFamiliarObjectsByProvider
(
35
const
std::map<std::string,
36
std::vector<armarx::armem::arondto::FamiliarObjectInstance>>&
37
familiarObjectsByProvider);
38
39
40
viz::Client
arviz
;
41
42
bool
enabled
=
true
;
43
float
frequencyHz
= 25;
44
45
bool
inGlobalFrame
=
true
;
46
float
minConfidence
= -1;
47
float
alpha
= 1.0;
48
bool
alphaByConfidence
=
false
;
49
bool
oobbs
=
false
;
50
51
std::uint8_t
sizePixel
= 5;
52
53
bool
visualizePointCloud
=
true
;
54
bool
visualizeBoundingBox
=
true
;
55
bool
visualizePose
=
true
;
56
bool
visualizeLabels
=
true
;
57
58
bool
objectFrames
=
false
;
59
float
objectFramesScale
= 1.0;
60
61
float
visualizationDuration
= 20;
//[s]
62
63
64
SimpleRunningTask<>::pointer_type
updateTask
;
65
};
66
67
}
// namespace armarx::armem::server::obj::familiar_object_instance
Client.h
armarx::armem::server::obj::familiar_object_instance::Visu::visualizeBoundingBox
bool visualizeBoundingBox
Definition:
Visu.h:54
armarx::armem::server::obj::familiar_object_instance::Visu::visualizePointCloud
bool visualizePointCloud
Definition:
Visu.h:53
armarx::armem::server::obj::familiar_object_instance::Visu::updateTask
SimpleRunningTask ::pointer_type updateTask
Definition:
Visu.h:64
armarx::armem::server::obj::familiar_object_instance::Visu::visualizationDuration
float visualizationDuration
Definition:
Visu.h:61
LinearPredictionsVisu.h
armarx::armem::server::obj::familiar_object_instance::Visu::objectFrames
bool objectFrames
Definition:
Visu.h:58
armarx::armem::server::obj::familiar_object_instance::Visu::enabled
bool enabled
Definition:
Visu.h:42
armarx::armem::server::obj::familiar_object_instance::Visu::objectFramesScale
float objectFramesScale
Definition:
Visu.h:59
armarx::armem::server::obj::familiar_object_instance::Visu::visualizeLabels
bool visualizeLabels
Definition:
Visu.h:56
armarx::armem::server::obj::familiar_object_instance::Visu
Models decay of object localizations by decreasing the confidence the longer the object was not local...
Definition:
Visu.h:27
armarx::armem::server::obj::familiar_object_instance::Visu::sizePixel
std::uint8_t sizePixel
Definition:
Visu.h:51
armarx::armem::server::obj::familiar_object_instance::Visu::defineProperties
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="visu.")
Definition:
Visu.cpp:28
armarx::armem::server::obj::familiar_object_instance::Visu::visualizePose
bool visualizePose
Definition:
Visu.h:55
ObjectPose.h
armarx::armem::server::obj::familiar_object_instance::Visu::alpha
float alpha
Definition:
Visu.h:47
TaskUtil.h
armarx::armem::server::obj::familiar_object_instance::Visu::visualizeFamiliarObjectsByProvider
void visualizeFamiliarObjectsByProvider(const std::map< std::string, std::vector< armarx::armem::arondto::FamiliarObjectInstance >> &familiarObjectsByProvider)
Definition:
Visu.cpp:56
armarx::armem::server::obj::familiar_object_instance::Visu::oobbs
bool oobbs
Definition:
Visu.h:49
armarx::armem::server::obj::familiar_object_instance::Visu::alphaByConfidence
bool alphaByConfidence
Definition:
Visu.h:48
armarx::armem::server::obj::familiar_object_instance::Visu::frequencyHz
float frequencyHz
Definition:
Visu.h:43
armarx::Logging
Base Class for all Logging classes.
Definition:
Logging.h:239
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::server::obj::familiar_object_instance::Visu::inGlobalFrame
bool inGlobalFrame
Definition:
Visu.h:45
Widgets.h
Logging.h
armarx::armem::server::obj::familiar_object_instance
Definition:
Decay.cpp:8
armarx::viz::Client
Definition:
Client.h:117
armarx::armem::server::obj::familiar_object_instance::Visu::arviz
viz::Client arviz
Definition:
Visu.h:40
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
armarx::armem::server::obj::familiar_object_instance::Visu::minConfidence
float minConfidence
Definition:
Visu.h:46
RobotAPI
libraries
armem_objects
server
familiar_object_instance
Visu.h
Generated on Sat Mar 29 2025 09:17:28 for armarx_documentation by
1.8.17