[tts] [routing] further revert out-of-scope changes

Signed-off-by: thesupertechie <thesupertechie1@gmail.com>
This commit is contained in:
thesupertechie
2025-12-08 17:49:15 -08:00
committed by zyphlar
parent cc042c3d1c
commit d56f9700f5

View File

@@ -133,7 +133,7 @@ std::string GetTtsText::GetTurnNotification(Notification const & notification) c
if (notification.m_distanceUnits > 0)
distStr = GetTextByIdTrimmed(GetDistanceTextId(notification));
// Get a string like [245] > CA 123/Highway 99/San Francisco
// Get a string like 245; CA 123; Highway 99; San Francisco
// In the future we could use the full RoadNameInfo struct to do some nice formatting.
std::string streetOut;
RouteSegment::RoadNameInfo nsi = notification.m_nextStreetInfo; // extract non-const
@@ -344,10 +344,6 @@ std::string GetYouArriveTextId(Notification const & notification)
return "you_have_reached_the_destination";
}
std::string GetContinueTextId(Notification const & notification){
return "continue"
}
std::string GetDirectionTextId(Notification const & notification)
{
if (notification.IsPedestrianNotification())