Bratmobile
Protected Member Functions | List of all members
CLAdaptiveTracker Class Reference
Inheritance diagram for CLAdaptiveTracker:
Inheritance graph
[legend]
Collaboration diagram for CLAdaptiveTracker:
Collaboration graph
[legend]

Protected Member Functions

Threshold get_threshold (const State &s)
 
- Protected Member Functions inherited from ClosedLoop_Tracker
float window_area ()
 gets the area of the attention window (for debugging)
 
- Protected Member Functions inherited from Tracker
void log_thresholds ()
 

Additional Inherited Members

- Public Member Functions inherited from ClosedLoop_Tracker
TrackingResult get_transform (const Task &t, const CoordinateContainer &pts, const std::vector< BodyFeatures > &objects) override
 returns 2d transformation matrix between one scan and the next based on the displacement of disturbance Di for a task + the disturbance as observed (this is to update the noisy measurement) More...
 
TrackingResult track (const Task &t, const CoordinateContainer &pts, const std::vector< BodyFeatures > &objects)
 Tracks task execution. More...
 
cv::Rect2f real_world_focus (const Task *)
 returns an upright rectangle which represents a focus of attention for finding points corresponding to input task's disturbance
 
virtual std::vector< BodyFeatures >::const_iterator find_disturbance (std::vector< BodyFeatures >::const_iterator objects_begin, std::vector< BodyFeatures >::const_iterator objects_end, const BodyFeatures &dist, b2Transform t, float *_least_square=NULL)
 Get disturbance to be tracked among the worldbuilder objects. More...
 
void correctAngle (BodyFeatures &found, const BodyFeatures &dist)
 Sets angle to be smallest possible increment compared to dist. More...
 
void on_new_task (const Task &task, const Task &goal) override
 Uses the goal to reset tracked disturbance at each task. More...
 
void set_attention (b2PolygonShape ps)
 
void init (const Task &goal)
 
virtual bool hasTaskEnded (Task &t)
 
void makeAttentionWindow (const Task &goal, const Task &currentTask)
 Updates the attention window at each sensor reading. More...
 
- Public Member Functions inherited from Tracker
void register_learner (ThresholdLearner *l)
 
b2Transform getDeltaTransform ()
 
virtual void on_new_reading (const Task &goal, const Task &task)
 Called every time a new reading is available. More...
 
void make_log ()
 opens file where all the data is dumped
 
- Protected Attributes inherited from ClosedLoop_Tracker
Disturbance tracked_disturbance
 
b2PolygonShape attention_window
 
bool hasReading =false
 
- Protected Attributes inherited from Tracker
friend Configurator
 
ThresholdLearnerlearner =NULL
 
b2Transform deltaTransform =b2Transform_zero
 
Threshold threshold =Threshold()
 

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