|
ASCO Aerial Autonomy
|
Defines a strategy for choosing a target to track among a group of tracked targets. More...
#include <tracking_strategy.h>
Public Member Functions | |
| virtual bool | initialize (const std::unordered_map< uint32_t, Position > &tracking_vectors)=0 |
| Initialize the strategy from a group of targets. More... | |
| virtual bool | getTrackingVector (const std::unordered_map< uint32_t, Position > &tracking_vectors, std::tuple< uint32_t, Position > &tracking_vector)=0 |
| Get the tracking vector for one target based on the implemented strategy. More... | |
Defines a strategy for choosing a target to track among a group of tracked targets.
|
pure virtual |
Get the tracking vector for one target based on the implemented strategy.
| tracking_vectors | The vectors to the tracked targets |
| tracking_vector | Chosen target |
Implemented in ClosestTrackingStrategy, and SimpleTrackingStrategy.
|
pure virtual |
Initialize the strategy from a group of targets.
| tracking_vectors | The vectors to the tracked targets |
Implemented in ClosestTrackingStrategy, and SimpleTrackingStrategy.
1.8.6