Description

Lane that is grouped into an approach with other ApproachLanes.

#include <SynApproachMessage.h>

Public Member Functions

 ApproachLane (double width, std::vector< ChVector<>> control_points)
 Construct a new Approach Lane object. More...
 
 ApproachLane (const SynFlatBuffers::Approach::Lane *lane)
 

Public Attributes

double width
 define the width of the lane. Control points to the side is width/2.
 
std::vector< ChVector<> > controlPoints
 The points define the center of the lane.
 

Constructor & Destructor Documentation

◆ ApproachLane()

chrono::synchrono::ApproachLane::ApproachLane ( double  width,
std::vector< ChVector<>>  control_points 
)
inline

Construct a new Approach Lane object.

Parameters
widthDefine the width of the lane, which means Control points to the side is width/2
control_pointsThe points define the center of the lane. Each adjacent points will form a rectangle used for lane detection. Will NOT form a Bezier curve

The documentation for this struct was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_synchrono/flatbuffer/message/SynApproachMessage.h
  • /builds/uwsbel/chrono/src/chrono_synchrono/flatbuffer/message/SynApproachMessage.cpp