File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
modules/prediction/container/storytelling Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ std::shared_ptr<const hdmap::JunctionInfo> StoryTellingContainer::ADCJunction()
3232 return PredictionMap::JunctionById (adc_junction_id);
3333}
3434
35+ std::string StoryTellingContainer::ADCJunctionId () const {
36+ return close_to_junction_.junction_id ();
37+ }
38+
3539double StoryTellingContainer::ADCDistanceToJunction () const {
3640 return close_to_junction_.distance ();
3741}
Original file line number Diff line number Diff line change @@ -55,6 +55,12 @@ class StoryTellingContainer : public Container {
5555 */
5656 std::shared_ptr<const hdmap::JunctionInfo> ADCJunction () const ;
5757
58+ /* *
59+ * @brief Get ADC junction id
60+ * @return A pointer to ADC junction id
61+ */
62+ std::string ADCJunctionId () const ;
63+
5864 /* *
5965 * @brief Compute ADC's distance to junction
6066 * @return ADC's distance to junction
You can’t perform that action at this time.
0 commit comments