File predictive_ttc_calculator.h
Last update: 22.04.2026Location: autonomy/evaluator/predictive_ttc_calculator/predictive_ttc_calculator.h
Classes
Namespaces
Includes
- <osi_groundtruth.pb.h>
Included by
Source
#ifndef SIMFWK_AUTONOMY_AUTONOMY_EVALUATOR_PREDICTIVETTCCALCULATOR_PREDICTIVETTCCALCULATOR_H
#define SIMFWK_AUTONOMY_AUTONOMY_EVALUATOR_PREDICTIVETTCCALCULATOR_PREDICTIVETTCCALCULATOR_H
#include <osi_groundtruth.pb.h>
namespace simulation_framework
{
namespace evaluator
{
class PredictiveTimeToCollisionCalculator
{
public:
std::chrono::milliseconds Calculate(const osi3::GroundTruth& ground_truth) const;
private:
uint64_t predictive_ttc_precision_{100};
uint64_t predictive_ttc_max_{20000};
};
} // namespace evaluator
} // namespace simulation_framework
#endif // SIMFWK_AUTONOMY_AUTONOMY_EVALUATOR_PREDICTIVETTCCALCULATOR_PREDICTIVETTCCALCULATOR_H