mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[routing] New API for lanes
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
This commit is contained in:
16
libs/routing/lanes/lanes_parser.hpp
Normal file
16
libs/routing/lanes/lanes_parser.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "routing/lanes/lane_info.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace routing::turns::lanes
|
||||
{
|
||||
/**
|
||||
* Parse lane information which comes from lanesString
|
||||
* @param lanesString lane information. Example through|through|through|through;right
|
||||
* @return LanesInfo. @see LanesInfo
|
||||
* @note if lanesString is empty, returns empty LanesInfo.
|
||||
*/
|
||||
LanesInfo ParseLanes(std::string_view lanesString);
|
||||
} // namespace routing::turns::lanes
|
||||
Reference in New Issue
Block a user