Bratmobile
Public Member Functions | Static Public Attributes | List of all members
Threshold Class Reference

#include <threshold.h>

Public Member Functions

 Threshold (float e, float a, float d, float aff, float d_dim)
 
float for_robot_position () const
 
float for_robot_angle () const
 
float for_affordance () const
 
Bundle for_Di () const
 Returns a bundle of thresholds for the initial disturbance.
 
Bundle for_Dn () const
 Returns a bundle of thresholds for the initial disturbance.
 
void set_Dn (const Bundle &b)
 
void set_Di (const Bundle &b)
 
Bundle bundle_threshold ()
 Returns a bundle of parameters for disturbance matching.
 

Static Public Attributes

static constexpr float FIXED_ENDPOSE =0.05
 
static constexpr float FIXED_ANGLE = M_PI/6
 
static constexpr float FIXED_DISTPOS = 0.065
 
static constexpr float FIXED_AFFORDANCE =0
 
static constexpr float FIXED_DIMENSIONS =0.03
 

Detailed Description

Error threshold used to match states or components of states /*! Essentially uses distance calculations and (adaptive) thresholding


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