Drake
drake::maliput::multilane Namespace Reference

Namespaces

 test
 

Classes

class  ArcOffset
 Specification for path offset along a circular arc. More...
 
class  ArcRoadCurve
 RoadCurve specification for a reference curve that describes a piece of an arc. More...
 
class  BranchPoint
 An implementation of api::BranchPoint. More...
 
class  Builder
 Convenient builder class which makes it easy to construct a multilane road network. More...
 
class  Connection
 Representation of a reference path connecting two endpoints. More...
 
class  CubicPolynomial
 A cubic polynomial, f(p) = a + b*p + c*p^2 + d*p^3. More...
 
class  Endpoint
 Complete set of parameters for an endpoint of a connection, specified in the world frame. More...
 
class  EndpointXy
 XY-plane-only parameters for an endpoint of a connection, specified in the world frame. More...
 
class  EndpointZ
 Out-of-plane parameters for an endpoint of a connection, specified in the world frame. More...
 
class  Group
 A group of Connections. More...
 
class  Junction
 An api::Junction implementation. More...
 
class  Lane
 Base class for the multilane implementation of api::Lane. More...
 
class  LaneEndSet
 An implementation of LaneEndSet. More...
 
class  LineRoadCurve
 RoadCurve specification for a reference curve that describes a line. More...
 
class  RoadCurve
 Defines an interface for a path in a Segment object surface. More...
 
class  RoadGeometry
 A simple api::RoadGeometry implementation that only supports a single lane per segment. More...
 
class  Rot3
 An R^3 rotation parameterized by roll, pitch, yaw. More...
 
class  Segment
 An api::Segment implementation. More...
 

Typedefs

typedef Vector2< doubleV2
 
typedef Vector3< doubleV3
 

Functions

std::ostream & operator<< (std::ostream &out, const EndpointXy &endpoint_xy)
 Streams a string representation of endpoint_xy into out. More...
 
std::ostream & operator<< (std::ostream &out, const EndpointZ &endpoint_z)
 Streams a string representation of endpoint_z into out. More...
 
std::ostream & operator<< (std::ostream &out, const Endpoint &endpoint)
 Streams a string representation of endpoint into out. More...
 
std::unique_ptr< const api::RoadGeometryLoad (const std::string &input)
 Loads the input string as a maliput_multilane_builder document. More...
 
std::unique_ptr< const api::RoadGeometryLoadFile (const std::string &filename)
 Loads the named file as a maliput_multilane_builder document. More...
 
 TEST_F (MultilaneArcRoadCurveTest, ConstructorTest)
 
 TEST_F (MultilaneArcRoadCurveTest, ArcGeometryTest)
 
 GTEST_TEST (MultilaneArcRoadCurve, IsValidTest)
 
 TEST_F (MultilaneArcRoadCurveTest, ToCurveFrameTest)
 
 TEST_F (MultilaneArcRoadCurveTest, OffsetTest)
 
 TEST_F (MultilaneArcRoadCurveTest, WorldFunction)
 
 TEST_F (MultilaneArcRoadCurveTest, WorldFunctionDerivative)
 
 TEST_F (MultilaneArcRoadCurveTest, ReferenceCurveRotation)
 
 TEST_F (MultilaneArcRoadCurveTest, Orientation)
 
 GTEST_TEST (MultilaneBuilderTest, Fig8)
 
 GTEST_TEST (MultilaneBuilderTest, QuadRing)
 
 TEST_F (MultilaneBuilderPrimitivesTest, MultilaneLineSegment)
 
 TEST_F (MultilaneBuilderPrimitivesTest, MultilaneArcSegment)
 
 GTEST_TEST (MultilaneBuilderTest, MultilaneCross)
 
 GTEST_TEST (EndpointXyTest, DefaultConstructor)
 
 GTEST_TEST (EndpointXyTest, ParametrizedConstructor)
 
 GTEST_TEST (EndpointXyTest, Reverse)
 
 GTEST_TEST (EndpointZTest, DefaultConstructor)
 
 GTEST_TEST (EndpointZTest, ParametrizedConstructor)
 
 GTEST_TEST (EndpointZTest, Reverse)
 
 GTEST_TEST (ArcOffsetTest, DefaultConstructor)
 
 GTEST_TEST (ArcOffsetTest, ParametrizedConstructor)
 
 TEST_F (MultilaneConnectionTest, ArcAccessors)
 
 TEST_F (MultilaneConnectionTest, LineAccessors)
 
 TEST_F (MultilaneConnectionTest, ArcRoadCurveValidation)
 
 TEST_F (MultilaneConnectionTest, LineRoadCurveValidation)
 
std::ostream & operator<< (std::ostream &stream, const EndpointZTestParameters &endpoint_z_test_param)
 
 TEST_P (MultilaneConnectionEndpointZTest, ArcLaneEndpoints)
 
 TEST_P (MultilaneConnectionEndpointZTest, LineLaneEndpoints)
 
 INSTANTIATE_TEST_CASE_P (EndpointZ, MultilaneConnectionEndpointZTest, testing::Values(EndpointZTestParameters(EndpointZ(0., 0., 0., 0.), EndpointZ(0., 0., 0., 0.), 0., 1), EndpointZTestParameters(EndpointZ(0., 0., 0., 0.), EndpointZ(0., 0., 0., 0.), 2., 3), EndpointZTestParameters(EndpointZ(1., 0., 0., 0.), EndpointZ(1., 0., 0., 0.), 2., 3), EndpointZTestParameters(EndpointZ(1., 1., 0., 0.), EndpointZ(5., 1., 0., 0.), 2., 3), EndpointZTestParameters(EndpointZ(0., 0., M_PI/6., 0.), EndpointZ(0., 0., M_PI/6., 0.), 0., 1), EndpointZTestParameters(EndpointZ(1., 1., M_PI/6., 0.), EndpointZ(5., 1., M_PI/6., 0.), 0., 1), EndpointZTestParameters(EndpointZ(1., 1., M_PI/3., 1.), EndpointZ(5., 1., M_PI/6., 1.), 0., 1)))
 
 GTEST_TEST (MultilaneLanesTest, Rot3)
 
 TEST_P (MultilaneLanesParamTest, FlatLineLane)
 
 TEST_P (MultilaneLanesParamTest, FlatArcLane)
 
 TEST_P (MultilaneLanesParamTest, HillIntegration)
 
 INSTANTIATE_TEST_CASE_P (Offset, MultilaneLanesParamTest, testing::Values(0., 5.,-5.))
 
 GTEST_TEST (MultilaneLanesTest, ArcLaneWithConstantSuperelevation)
 
 TEST_F (MultilaneMultipleLanesTest, MultipleLineLanes)
 
 TEST_F (MultilaneMultipleLanesTest, MultipleArcLanes)
 
 TEST_F (MultilaneLineRoadCurveTest, LineRoadCurve)
 
 TEST_F (MultilaneLineRoadCurveTest, IsValidTest)
 
 TEST_F (MultilaneLineRoadCurveTest, ToCurveFrameTest)
 
 TEST_F (MultilaneLineRoadCurveTest, OffsetTest)
 
 TEST_F (MultilaneLineRoadCurveTest, WorldFunction)
 
 TEST_F (MultilaneLineRoadCurveTest, WorldFunctionDerivative)
 
 TEST_F (MultilaneLineRoadCurveTest, ReferenceCurveRotation)
 
 TEST_F (MultilaneLineRoadCurveTest, Orientation)
 
const api::LaneGetLaneByJunctionId (const api::RoadGeometry &rg, const std::string &junction_id)
 
 GTEST_TEST (MultilaneLanesTest, DoToRoadPosition)
 
 GTEST_TEST (MultilaneLanesTest, HintWithDisconnectedLanes)
 
 GTEST_TEST (MultilaneSegmentsTest, MultipleLanes)
 

Variables

const double kLinearTolerance = 1e-6
 
const double kAngularTolerance = 1e-6
 
const double kVeryExact = 1e-11
 
const double kWidth {2.}
 
const double kHeight {5.}
 
const double kZeroTolerance = 0.
 

Typedef Documentation

typedef Vector2<double> V2
typedef Vector3<double> V3

Function Documentation

const api::Lane* drake::maliput::multilane::GetLaneByJunctionId ( const api::RoadGeometry rg,
const std::string &  junction_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

drake::maliput::multilane::GTEST_TEST ( EndpointXyTest  ,
DefaultConstructor   
)
drake::maliput::multilane::GTEST_TEST ( MultilaneBuilderTest  ,
Fig8   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( MultilaneSegmentsTest  ,
MultipleLanes   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( MultilaneLanesTest  ,
Rot3   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( EndpointXyTest  ,
ParametrizedConstructor   
)
drake::maliput::multilane::GTEST_TEST ( MultilaneLanesTest  ,
DoToRoadPosition   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( EndpointXyTest  ,
Reverse   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( EndpointZTest  ,
DefaultConstructor   
)
drake::maliput::multilane::GTEST_TEST ( EndpointZTest  ,
ParametrizedConstructor   
)
drake::maliput::multilane::GTEST_TEST ( EndpointZTest  ,
Reverse   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( ArcOffsetTest  ,
DefaultConstructor   
)
drake::maliput::multilane::GTEST_TEST ( ArcOffsetTest  ,
ParametrizedConstructor   
)
drake::maliput::multilane::GTEST_TEST ( MultilaneArcRoadCurve  ,
IsValidTest   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( MultilaneBuilderTest  ,
QuadRing   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( MultilaneLanesTest  ,
HintWithDisconnectedLanes   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( MultilaneBuilderTest  ,
MultilaneCross   
)

Here is the call graph for this function:

drake::maliput::multilane::GTEST_TEST ( MultilaneLanesTest  ,
ArcLaneWithConstantSuperelevation   
)

Here is the call graph for this function:

drake::maliput::multilane::INSTANTIATE_TEST_CASE_P ( EndpointZ  ,
MultilaneConnectionEndpointZTest  ,
testing::Values(EndpointZTestParameters(EndpointZ(0., 0., 0., 0.), EndpointZ(0., 0., 0., 0.), 0., 1), EndpointZTestParameters(EndpointZ(0., 0., 0., 0.), EndpointZ(0., 0., 0., 0.), 2., 3), EndpointZTestParameters(EndpointZ(1., 0., 0., 0.), EndpointZ(1., 0., 0., 0.), 2., 3), EndpointZTestParameters(EndpointZ(1., 1., 0., 0.), EndpointZ(5., 1., 0., 0.), 2., 3), EndpointZTestParameters(EndpointZ(0., 0., M_PI/6., 0.), EndpointZ(0., 0., M_PI/6., 0.), 0., 1), EndpointZTestParameters(EndpointZ(1., 1., M_PI/6., 0.), EndpointZ(5., 1., M_PI/6., 0.), 0., 1), EndpointZTestParameters(EndpointZ(1., 1., M_PI/3., 1.), EndpointZ(5., 1., M_PI/6., 1.), 0., 1))   
)

Here is the caller graph for this function:

drake::maliput::multilane::INSTANTIATE_TEST_CASE_P ( Offset  ,
MultilaneLanesParamTest  ,
testing::Values(0., 5.,-5.)   
)
std::unique_ptr< const api::RoadGeometry > Load ( const std::string &  input)

Loads the input string as a maliput_multilane_builder document.

Here is the caller graph for this function:

std::unique_ptr< const api::RoadGeometry > LoadFile ( const std::string &  filename)

Loads the named file as a maliput_multilane_builder document.

Here is the call graph for this function:

std::ostream & operator<< ( std::ostream &  out,
const EndpointXy endpoint_xy 
)

Streams a string representation of endpoint_xy into out.

Returns out. This method is provided for the purposes of debugging or text-logging. It is not intended for serialization.

Here is the call graph for this function:

Here is the caller graph for this function:

std::ostream & operator<< ( std::ostream &  out,
const EndpointZ endpoint_z 
)

Streams a string representation of endpoint_z into out.

Returns out. This method is provided for the purposes of debugging or text-logging. It is not intended for serialization.

Here is the call graph for this function:

std::ostream & operator<< ( std::ostream &  out,
const Endpoint endpoint 
)

Streams a string representation of endpoint into out.

Returns out. This method is provided for the purposes of debugging or text-logging. It is not intended for serialization.

Here is the call graph for this function:

std::ostream& drake::maliput::multilane::operator<< ( std::ostream &  stream,
const EndpointZTestParameters &  endpoint_z_test_param 
)
drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
LineRoadCurve   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
ConstructorTest   
)
drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
ArcGeometryTest   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
IsValidTest   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
ToCurveFrameTest   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneConnectionTest  ,
ArcAccessors   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
OffsetTest   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneConnectionTest  ,
LineAccessors   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
WorldFunction   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
ToCurveFrameTest   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneConnectionTest  ,
ArcRoadCurveValidation   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
WorldFunctionDerivative   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
OffsetTest   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
WorldFunction   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneConnectionTest  ,
LineRoadCurveValidation   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneBuilderPrimitivesTest  ,
MultilaneLineSegment   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
ReferenceCurveRotation   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
WorldFunctionDerivative   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneBuilderPrimitivesTest  ,
MultilaneArcSegment   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneLineRoadCurveTest  ,
Orientation   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
ReferenceCurveRotation   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneArcRoadCurveTest  ,
Orientation   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneMultipleLanesTest  ,
MultipleLineLanes   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_F ( MultilaneMultipleLanesTest  ,
MultipleArcLanes   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_P ( MultilaneLanesParamTest  ,
FlatLineLane   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_P ( MultilaneLanesParamTest  ,
FlatArcLane   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_P ( MultilaneConnectionEndpointZTest  ,
ArcLaneEndpoints   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_P ( MultilaneConnectionEndpointZTest  ,
LineLaneEndpoints   
)

Here is the call graph for this function:

drake::maliput::multilane::TEST_P ( MultilaneLanesParamTest  ,
HillIntegration   
)

Here is the call graph for this function:

Variable Documentation

const double kAngularTolerance = 1e-6
const double kHeight {5.}
const double kLinearTolerance = 1e-6
const double kVeryExact = 1e-11
const double kWidth {2.}
const double kZeroTolerance = 0.