Skip to content
Snippets Groups Projects
Commit be775924 authored by Andreas Rauschert's avatar Andreas Rauschert Committed by René Paris
Browse files

Add route definition to controller config

- needed to make internal engine work with latest MantleAPI (replacement
because follow route control strategy was removed from config)
parent 0f47e850
No related branches found
No related tags found
1 merge request!78.clang-tidy
......@@ -15,6 +15,7 @@
#ifndef MANTLEAPI_TRAFFIC_ICONTROLLERCONFIG_H
#define MANTLEAPI_TRAFFIC_ICONTROLLERCONFIG_H
#include <MantleAPI/Common/route_definition.h>
#include <MantleAPI/Common/spline.h>
#include <MantleAPI/Common/vector.h>
#include <MantleAPI/Map/i_lane_location_query_service.h>
......@@ -45,6 +46,7 @@ struct IControllerConfig
// environment on calling AddController()
ILaneLocationQueryService* map_query_service{nullptr};
std::vector<std::shared_ptr<mantle_api::ControlStrategy>> control_strategies;
RouteDefinition route_definition;
};
inline bool operator==(const IControllerConfig& lhs, const IControllerConfig& rhs) noexcept
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment