TargetTracker.
#include <TargetTracker.hpp>
|
|
std::string | callsign |
| | ownship callsign
|
| |
|
std::ofstream | logFile |
| | tracker log file
|
| |
|
bool | log |
| | log enable status
|
| |
|
double | timeout |
| | track timeout
|
| |
|
double | modelUncertaintyP [6] |
| | position uncertainty associated with prediction model
|
| |
|
double | modelUncertaintyV [6] |
| | velocity uncertainty associated with velocity model
|
| |
|
double | pThreshold |
| | chi2 threshold for mahalanobis distance - position error
|
| |
|
double | vThreshold |
| | chi2 threshold for mahalanobis distance - velocity error
|
| |
|
larcfm::Position | homePos |
| | initial position - use to produce NED projections
|
| |
|
measurement | currentState |
| | current state of ownship
|
| |
|
std::vector< measurement > | tracks |
| | tracked measurements
|
| |
|
larcfm::EuclideanProjection | proj |
| | projection
|
| |
|
int | totalTracks |
| | total tracks
|
| |
|
double | prevLogTime |
| | previous log time
|
| |
◆ TargetTracker()
| TargetTracker::TargetTracker |
( |
std::string |
callsign, |
|
|
std::string |
configFile |
|
) |
| |
◆ CheckValidationGate()
| int TargetTracker::CheckValidationGate |
( |
measurement & |
data | ) |
|
|
private |
- Parameters
-
- Returns
- int index of track the input data is associated with. -1 if no associations are found
◆ GetData()
- Parameters
-
| i | starts with 0. 0th index is ownship |
- Returns
- measurement
◆ GetIntruderData()
- Parameters
-
| i | starts with 0. 0th index is first traffic track |
- Returns
- measurement
◆ GetTotalTraffic()
| int TargetTracker::GetTotalTraffic |
( |
| ) |
|
◆ InputCurrentState()
- Parameters
-
| time | |
| pos | |
| vel | |
| sigmaP | covariances for xx,yy,zz,xy,xz,yz |
| sigmaV | covariances for xx,yy,zz,xy,xz,yz |
◆ InputMeasurement()
| void TargetTracker::InputMeasurement |
( |
measurement & |
traffic | ) |
|
◆ ReadParamFromFile()
| void TargetTracker::ReadParamFromFile |
( |
std::string |
configFile | ) |
|
◆ SetGateThresholds()
| void TargetTracker::SetGateThresholds |
( |
double |
p, |
|
|
double |
v |
|
) |
| |
- Parameters
-
| p | position error threshold |
| v | velocity error threshold |
◆ SetHomePosition()
◆ SetModelUncertainty()
| void TargetTracker::SetModelUncertainty |
( |
double |
sigmaP[6], |
|
|
double |
sigmaV[6] |
|
) |
| |
- Parameters
-
| sigmaP | xx,yy,zz,xy,xz,yz |
| sigmaV | xx,yy,zz,xy,xz,yz |
◆ UpdateEstimate()
| void TargetTracker::UpdateEstimate |
( |
measurement & |
prediction, |
|
|
measurement & |
value, |
|
|
bool |
onlyPrediction = false, |
|
|
double |
time = 0 |
|
) |
| |
|
private |
- Parameters
-
| prediction | previous know measurement |
| value | new measurement to fuse into update |
| onlyPrediction | perform only prediction |
| time | time to be used for updatess if not available in the measurement |
◆ UpdatePredictions()
| void TargetTracker::UpdatePredictions |
( |
double |
time | ) |
|
The documentation for this class was generated from the following files:
- Modules/Core/TargetTracker/TargetTracker.hpp
- Modules/Core/TargetTracker/TargetTracker.cpp