42 const road::Lane &lane,
const double s_start,
const double s_end)
const;
46 const road::Lane& lane,
const double s_start,
const double s_end)
const;
69 const road::Lane &lane,
const double s_start,
const double s_end)
const;
73 const road::Lane &lane,
const double s_start,
const double s_end)
const;
111 std::unique_ptr<Mesh>
MergeAndSmooth(std::vector<std::unique_ptr<Mesh>> &lane_meshes)
const;
115 std::vector<std::unique_ptr<Mesh>>& inout,
116 std::vector<std::string>& outinfo )
const;
122 std::vector<std::unique_ptr<Mesh>>& inout,
123 std::vector<std::string>& outinfo )
const;
130 std::vector<std::unique_ptr<Mesh>>& inout,
131 std::vector<std::string>& outinfo )
const;
void GenerateLaneMarksForNotCenterLine(const road::LaneSection &lane_section, const road::Lane &lane, std::vector< std::unique_ptr< Mesh >> &inout, std::vector< std::string > &outinfo) const
Seting for map generation from opendrive without additional geometry.
float same_lane_weight_multiplier
std::unique_ptr< Mesh > Generate(const road::Road &road) const
Generates a mesh that defines a road.
std::unique_ptr< Mesh > GenerateSidewalk(const road::LaneSection &lane_section) const
std::unique_ptr< Mesh > MergeAndSmooth(std::vector< std::unique_ptr< Mesh >> &lane_meshes) const
void GenerateAllOrderedWithMaxLen(const road::Road &road, std::map< road::Lane::LaneType, std::vector< std::unique_ptr< Mesh >>> &roads) const
std::unique_ptr< Mesh > GenerateRightWall(const road::Lane &lane, const double s_start, const double s_end) const
Generates a wall-like mesh at the right side of the lane.
This file contains definitions of common data structures used in traffic manager. ...
void GenerateLaneSectionOrdered(const road::LaneSection &lane_section, std::map< carla::road::Lane::LaneType, std::vector< std::unique_ptr< Mesh >>> &result) const
Generates a mesh that defines a lane section.
void GenerateLaneMarksForCenterLine(const road::Road &road, const road::LaneSection &lane_section, const road::Lane &lane, std::vector< std::unique_ptr< Mesh >> &inout, std::vector< std::string > &outinfo) const
RoadParameters road_param
std::vector< std::unique_ptr< Mesh > > GenerateWithMaxLen(const road::Road &road) const
Generates a list of meshes that defines a road with a maximum length.
LaneType
Can be used as flags.
MeshFactory(rpc::OpendriveGenerationParameters params=rpc::OpendriveGenerationParameters())
std::unique_ptr< Mesh > GenerateLeftWall(const road::Lane &lane, const double s_start, const double s_end) const
Generates a wall-like mesh at the left side of the lane.
std::unique_ptr< Mesh > GenerateWalls(const road::LaneSection &lane_section) const
Genrates a mesh representing a wall on the road corners to avoid cars falling down.
std::map< carla::road::Lane::LaneType, std::vector< std::unique_ptr< Mesh > > > GenerateOrderedWithMaxLen(const road::Road &road) const
Generates a list of meshes that defines a road with a maximum length.
std::vector< std::unique_ptr< Mesh > > GenerateWallsWithMaxLen(const road::Road &road) const
Generates a list of meshes that defines a road safety wall with a maximum length. ...
std::vector< std::unique_ptr< Mesh > > GenerateAllWithMaxLen(const road::Road &road) const
Generates a chunked road with all the features needed for simulation.
float vertex_width_resolution
void GenerateLaneMarkForRoad(const road::Road &road, std::vector< std::unique_ptr< Mesh >> &inout, std::vector< std::string > &outinfo) const
Parameters for the road generation.
std::unique_ptr< Mesh > GenerateTesselated(const road::Lane &lane, const double s_start, const double s_end) const
Generates a mesh that defines a lane from a given s start and end with bigger tesselation.
float lane_ends_multiplier
float max_weight_distance