$darkmode
cloe::LaneBoundary Class Reference
Inheritance diagram for cloe::LaneBoundary:
[legend]
Collaboration diagram for cloe::LaneBoundary:
[legend]

Public Types

enum  Type {
  Unknown, Solid, Dashed, Grass,
  Curb
}
 
enum  Color {
  Unknown, White, Yellow, Red,
  Green, Blue
}
 

Public Member Functions

Schema schema_impl () override
 
void to_json (Json &j) const override
 
- Public Member Functions inherited from fable::Confable
 Confable (const Confable &) noexcept
 
 Confable (Confable &&) noexcept
 
Confableoperator= (const Confable &other) noexcept
 
Confableoperator= (Confable &&other) noexcept
 
virtual void reset_schema ()
 
Schemaschema ()
 
const Schemaschema () const
 
virtual void validate (const Conf &c) const
 
virtual void from_conf (const Conf &c)
 
virtual void to_json (Json &j) const
 
Json to_json () const
 

Public Attributes

int id {-1}
 
int prev_id {-1}
 
int next_id {-1}
 
double dx_start {0}
 
double dy_start {0}
 
double heading_start {0}
 
double curv_hor_start {0}
 
double curv_hor_change {0}
 
double dx_end {0}
 
double exist_prob {0}
 
Type type {Type::Unknown}
 
Color color {Color::Unknown}
 
std::vector< Eigen::Vector3d > points
 

Friends

void to_json (Json &j, const LaneBoundary::Type &t)
 
void from_json (const Json &j, LaneBoundary::Type &t)
 
void to_json (Json &j, const LaneBoundary::Color &t)
 
void from_json (const Json &j, LaneBoundary::Color &t)
 

Additional Inherited Members

Member Enumeration Documentation

◆ Color

Color of the lane boundary.

◆ Type

Type of lane boundary.

Member Function Documentation

◆ schema_impl()

Schema cloe::LaneBoundary::schema_impl ( )
overridevirtual

Return a new instance of the schema for this object.

This schema is then stored in schema_. This is called every time the object is created or moved, since Schema contains references to fields that (should be) in the object.

Reimplemented from fable::Confable.

Here is the call graph for this function:

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