Decay Class Reference

Models decay of object localizations by decreasing the confidence the longer the object was not localized. More...

#include <RobotAPI/libraries/armem_objects/server/instance/Decay.h>

+ Inheritance diagram for Decay:

Classes

struct  RemoteGui
 

Public Member Functions

void defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="decay.")
 
void updateConfidence (objpose::ObjectPose &pose, const DateTime &now) const
 
void updateConfidences (objpose::ObjectPoseSeq &objectPoses, const DateTime &now) const
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Public Attributes

float delaySeconds = 5.0
 Duration after latest localization before decay starts. More...
 
float durationSeconds = 20.0
 How long to reach minConfidence. More...
 
bool enabled = false
 
float maxConfidence = 1.0
 
float minConfidence = 0.0f
 
float removeObjectsBelowConfidence = 0.1f
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Models decay of object localizations by decreasing the confidence the longer the object was not localized.

Definition at line 19 of file Decay.h.

Member Function Documentation

◆ defineProperties()

void defineProperties ( armarx::PropertyDefinitionsPtr  defs,
const std::string &  prefix = "decay." 
)

Definition at line 12 of file Decay.cpp.

◆ updateConfidence()

void updateConfidence ( objpose::ObjectPose pose,
const DateTime now 
) const

Definition at line 28 of file Decay.cpp.

+ Here is the caller graph for this function:

◆ updateConfidences()

void updateConfidences ( objpose::ObjectPoseSeq objectPoses,
const DateTime now 
) const

Definition at line 40 of file Decay.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ delaySeconds

float delaySeconds = 5.0

Duration after latest localization before decay starts.

Definition at line 38 of file Decay.h.

◆ durationSeconds

float durationSeconds = 20.0

How long to reach minConfidence.

Definition at line 40 of file Decay.h.

◆ enabled

bool enabled = false

Definition at line 35 of file Decay.h.

◆ maxConfidence

float maxConfidence = 1.0

Definition at line 42 of file Decay.h.

◆ minConfidence

float minConfidence = 0.0f

Definition at line 43 of file Decay.h.

◆ removeObjectsBelowConfidence

float removeObjectsBelowConfidence = 0.1f

Definition at line 45 of file Decay.h.


The documentation for this class was generated from the following files: