Bratmobile
|
Tracks task execution by observing changes in tracked disturbance. More...
#include <tracker.h>
Public Member Functions | |
b2Transform | get_transform (const Task &t, const CoordinateContainer &pts, Disturbance *observed_disturbance, std::vector< BodyFeatures > &objects) |
returns 2d transformation matrix between one scan and the next based on the displacement of disturbance Di for a task More... | |
b2Transform | track (Task &t, const CoordinateContainer &pts, 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 | |
Disturbance * | get_tracked_disturbance () |
void | set_tracked_disturbance (const Disturbance &d) |
std::vector< BodyFeatures >::iterator | find_disturbance (std::vector< BodyFeatures > &objects, const BodyFeatures &dist, b2Transform t, float *_least_square=NULL) |
Get disturbance to be tracked among the worldbuilder objects. More... | |
void | on_new_task (Task *task=NULL) |
Uses the goal to reset tracked disturbance at each task. More... | |
void | on_new_reading (Task *goal=NULL) |
Updates the attention window at each sensor reading. More... | |
void | set_attention (b2PolygonShape ps) |
void | init (Task *goal) |
![]() | |
Threshold * | get_threshold () |
void | register_learner (ThresholdLearner *l) |
void | make_log () |
opens file where all the data is dumped | |
Additional Inherited Members | |
![]() | |
Threshold | threshold =Threshold() |
![]() | |
void | log_thresholds () |
![]() | |
ThresholdLearner * | learner =NULL |
Tracks task execution by observing changes in tracked disturbance.
std::vector< BodyFeatures >::iterator ClosedLoop_Tracker::find_disturbance | ( | std::vector< BodyFeatures > & | objects, |
const BodyFeatures & | dist, | ||
b2Transform | t, | ||
float * | _least_square = NULL |
||
) |
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 |
|
virtual |
returns 2d transformation matrix between one scan and the next based on the displacement of disturbance Di for a task
t | the current task |
pts | lidar reading |
observed_disturbance | disturbance Di for task t |
objects | objects in the world (stored in worldbuilder) |
Implements Tracker.
|
virtual |
|
virtual |
Uses the goal to reset tracked disturbance at each task.
task | the new task |
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.