Bratmobile
Public Member Functions | List of all members
DeadReckoner Class Reference

Tracks task execution through dead reckoning. More...

#include <tracker.h>

Inheritance diagram for DeadReckoner:
Inheritance graph
[legend]
Collaboration diagram for DeadReckoner:
Collaboration graph
[legend]

Public Member Functions

TrackingResult track (const Task &t, const CoordinateContainer &pts, const std::vector< BodyFeatures > &objects)
 Tracks task execution. More...
 
void on_new_task (const Task &task, const Task &goal) override
 Called every time a new task is created. More...
 
void init (const Task &goal)
 
- Public Member Functions inherited from Tracker
virtual Threshold get_threshold (const State &s)
 
void register_learner (ThresholdLearner *l)
 
b2Transform getDeltaTransform ()
 
virtual TrackingResult get_transform (const Task &t, const CoordinateContainer &pts, const std::vector< BodyFeatures > &objects)
 
virtual void on_new_reading (const Task &goal, const Task &task)
 Called every time a new reading is available. More...
 
virtual bool hasTaskEnded (Task &t)
 
void make_log ()
 opens file where all the data is dumped
 

Additional Inherited Members

- Protected Member Functions inherited from Tracker
void log_thresholds ()
 
- Protected Attributes inherited from Tracker
friend Configurator
 
ThresholdLearnerlearner =NULL
 
b2Transform deltaTransform =b2Transform_zero
 
Threshold threshold =Threshold()
 

Detailed Description

Tracks task execution through dead reckoning.

Member Function Documentation

◆ on_new_task()

void DeadReckoner::on_new_task ( const Task task,
const Task goal 
)
inlineoverridevirtual

Called every time a new task is created.

Parameters
tthe task

Implements Tracker.

◆ track()

TrackingResult DeadReckoner::track ( const Task t,
const CoordinateContainer pts,
const std::vector< BodyFeatures > &  objects 
)
virtual

Tracks task execution.

Parameters
tinput task
ptspoint cloud
observed_disturbancepointer body features of the observed disturbance.
objectsworld objects as extracted in worldbuilder
Returns
b2Transform that the robot has moved by, can use for updating cognitive map and control

Implements Tracker.


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