|
Bratmobile
|
Tracks task execution by observing changes in tracked disturbance. More...
#include <tracker.h>
Public Member Functions | |
| 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... | |
| virtual void | on_new_reading (const Task &goal, const Task ¤tTask) override |
| Called every time asensor reading is available. More... | |
| void | set_attention (b2PolygonShape ps) |
| void | init (const Task &goal) |
| virtual bool | hasTaskEnded (Task &t) |
| void | makeAttentionWindow (const Task &goal, const Task ¤tTask) |
| Updates the attention window at each sensor reading. More... | |
Public Member Functions inherited from Tracker | |
| Threshold * | get_threshold () |
| void | register_learner (ThresholdLearner *l) |
| b2Transform | getDeltaTransform () |
| void | make_log () |
| opens file where all the data is dumped | |
Protected Member Functions | |
| float | window_area () |
| gets the area of the attention window (for debugging) | |
Protected Member Functions inherited from Tracker | |
| void | log_thresholds () |
Protected Attributes | |
| Disturbance | tracked_disturbance |
| b2PolygonShape | attention_window |
Protected Attributes inherited from Tracker | |
| friend | Configurator |
| ThresholdLearner * | learner =NULL |
| b2Transform | deltaTransform =b2Transform_zero |
Additional Inherited Members | |
Public Attributes inherited from Tracker | |
| Threshold | threshold =Threshold() |
Tracks task execution by observing changes in tracked disturbance.
| void ClosedLoop_Tracker::correctAngle | ( | BodyFeatures & | found, |
| const BodyFeatures & | dist | ||
| ) |
Sets angle to be smallest possible increment compared to dist.
| found | the found disturbance |
| dist | the disturbance to be tracked |
|
virtual |
Get disturbance to be tracked among the worldbuilder objects.
| objects | worldBuilder objects |
| dist | disturbance to be tracked |
| t | the estimated instantaneous 2d transform associated to the currently executed task |
|
overridevirtual |
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)
| t | the current task |
| pts | lidar reading |
| observed_disturbance | disturbance Di for task t |
| objects | objects in the world (stored in worldbuilder) |
Reimplemented from Tracker.
Updates the attention window at each sensor reading.
| goal | the goal |
Uses the goal to reset tracked disturbance at each task.
| task | the new task |
| goal | the goal |
Implements Tracker.
|
virtual |
Tracks task execution.
| t | input task |
| pts | point cloud |
| observed_disturbance | pointer body features of the observed disturbance. |
| objects | world objects as extracted in worldbuilder |
Implements Tracker.