Drake
MonolaneOnrampMerge Class Reference

MonolaneOnrampMerge contains an example lane-merge scenario expressed as a maliput monolane road geometry. More...

#include <drake/automotive/monolane_onramp_merge.h>

Public Member Functions

 MonolaneOnrampMerge (const RoadCharacteristics &rc)
 Constructor for the example. More...
 
 MonolaneOnrampMerge ()
 Constructor for the example, using default RoadCharacteristics settings. More...
 
std::unique_ptr< const maliput::api::RoadGeometryBuildOnramp ()
 Implements the onramp example. More...
 
Does not allow copy, move, or assignment
 MonolaneOnrampMerge (const MonolaneOnrampMerge &)=delete
 
MonolaneOnrampMergeoperator= (const MonolaneOnrampMerge &)=delete
 
 MonolaneOnrampMerge (MonolaneOnrampMerge &&)=delete
 
MonolaneOnrampMergeoperator= (MonolaneOnrampMerge &&)=delete
 

Detailed Description

MonolaneOnrampMerge contains an example lane-merge scenario expressed as a maliput monolane road geometry.

The intent of this class is to enable easy creation and modification of road geometries for simulating/analyzing such scenarios.

Implements the following onramp example, where each road section is composed of sequences of linear and arc primitives:

          pre-merge      post-merge
            road           road
       |------>-------+------>-------|
                     /
                    /
           onramp  /
                  ^
                  |
                  |
                  _

Constructor & Destructor Documentation

MonolaneOnrampMerge ( const RoadCharacteristics rc)
inlineexplicit

Constructor for the example.

The user supplies rc, a RoadCharacteristics structure that aggregates the road boundary data.

MonolaneOnrampMerge ( )
inline

Constructor for the example, using default RoadCharacteristics settings.

Member Function Documentation

std::unique_ptr< const maliput::api::RoadGeometry > BuildOnramp ( )

Implements the onramp example.

MonolaneOnrampMerge& operator= ( const MonolaneOnrampMerge )
delete
MonolaneOnrampMerge& operator= ( MonolaneOnrampMerge &&  )
delete

The documentation for this class was generated from the following files: