ad_rss
RssResponseResolving.hpp
Go to the documentation of this file.
1 // ----------------- BEGIN LICENSE BLOCK ---------------------------------
2 //
3 // Copyright (C) 2018-2021 Intel Corporation
4 //
5 // SPDX-License-Identifier: LGPL-2.1-only
6 //
7 // ----------------- END LICENSE BLOCK -----------------------------------
12 #pragma once
13 
16 
20 namespace ad {
24 namespace rss {
28 namespace core {
29 
40 {
41 public:
46 
56  bool provideProperResponse(state::RssStateSnapshot const &currentStateSnapshot, state::ProperResponse &response);
57 
58 private:
72  void combineState(state::UnstructuredSceneRssState const &state,
73  physics::Acceleration &driveAwayBrakeMin,
74  bool &driveAwayToBrakeTransition,
76  state::HeadingRangeVector &responseHeadingRanges,
77  physics::AccelerationRange &accelerationRange);
78 
89  void combineState(state::LongitudinalRssState const &state,
91  physics::AccelerationRange &accelerationRange);
92 
103  void combineState(state::LateralRssState const &state,
104  state::LateralResponse &response,
105  physics::AccelerationRange &accelerationRange);
106 };
107 
108 } // namespace core
109 } // namespace rss
110 } // namespace ad
ad
namespace ad
Definition: LateralRelativePosition.hpp:26
ad::rss::state::HeadingRangeVector
std::vector<::ad::rss::state::HeadingRange > HeadingRangeVector
DataType HeadingRangeVector.
Definition: HeadingRangeVector.hpp:42
RssStateSnapshot.hpp
ad::rss::state::LongitudinalRssState
DataType LongitudinalRssState.
Definition: LongitudinalRssState.hpp:44
ad::rss::core::RssResponseResolving
RssResponseResolving.
Definition: RssResponseResolving.hpp:39
ad::rss::state::LateralResponse
LateralResponse
DataType LateralResponse.
Definition: LateralResponse.hpp:43
ProperResponse.hpp
ad::rss::state::UnstructuredSceneResponse
UnstructuredSceneResponse
DataType UnstructuredSceneResponse.
Definition: UnstructuredSceneResponse.hpp:39
ad::rss::state::UnstructuredSceneRssState
DataType UnstructuredSceneRssState.
Definition: UnstructuredSceneRssState.hpp:43
ad::rss::state::LateralRssState
DataType LateralRssState.
Definition: LateralRssState.hpp:44
ad::rss::state::ProperResponse
DataType ProperResponse.
Definition: ProperResponse.hpp:50
ad::rss::state::RssStateSnapshot
DataType RssStateSnapshot.
Definition: RssStateSnapshot.hpp:46
ad::rss::state::LongitudinalResponse
LongitudinalResponse
DataType LongitudinalResponse.
Definition: LongitudinalResponse.hpp:43
ad::rss::core::RssResponseResolving::RssResponseResolving
RssResponseResolving()
constructor
ad::rss::core::RssResponseResolving::provideProperResponse
bool provideProperResponse(state::RssStateSnapshot const &currentStateSnapshot, state::ProperResponse &response)
Calculate the proper response out of the current responses.