$darkmode
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 | |
| Confable & | operator= (const Confable &other) noexcept |
| Confable & | operator= (Confable &&other) noexcept |
| virtual void | reset_schema () |
| Schema & | schema () |
| const Schema & | schema () 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 |
|
strong |
Color of the lane boundary.
|
strong |
Type of lane boundary.
|
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.