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.
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set.
 
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.
 
float durationSeconds = 20.0
 How long to reach minConfidence.
 
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 LogSenderPtr & getLogSender () const
 Retrieve log sender.
 
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.

Member Function Documentation

◆ defineProperties()

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

◆ updateConfidence()

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

◆ updateConfidences()

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

Member Data Documentation

◆ delaySeconds

float delaySeconds = 5.0

Duration after latest localization before decay starts.

◆ durationSeconds

float durationSeconds = 20.0

How long to reach minConfidence.

◆ enabled

bool enabled = false

◆ maxConfidence

float maxConfidence = 1.0

◆ minConfidence

float minConfidence = 0.0f

◆ removeObjectsBelowConfidence

float removeObjectsBelowConfidence = 0.1f

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