$darkmode
Public Types | |
| enum class | Type { Unknown , Solid , Dashed , Grass , Curb } |
| enum class | Color { Unknown , White , Yellow , Red , Green , Blue } |
Public Member Functions | |
| fable::Schema | schema_impl () override |
| void | to_json (fable::Json &j) const override |
Public Member Functions inherited from fable::Confable | |
| Confable (const Confable &) noexcept | |
| Confable (Confable &&) noexcept=default | |
| Confable & | operator= (const Confable &other) noexcept |
| Confable & | operator= (Confable &&other) noexcept |
| virtual void | reset_schema () |
| Schema & | schema () |
| const Schema & | schema () const |
| virtual void | validate_or_throw (const Conf &c) const |
| virtual bool | validate (const Conf &c, std::optional< SchemaError > &err) const |
| virtual void | from_conf (const Conf &c) |
| 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 (fable::Json &j, const LaneBoundary::Type &t) |
| void | from_json (const fable::Json &j, LaneBoundary::Type &t) |
| void | to_json (fable::Json &j, const LaneBoundary::Color &t) |
| void | from_json (const fable::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.
|
overridevirtual |
Serialize a Confable to Json.
Note: If you implement this type, make sure to either use CONFABLE_FRIENDS or a using Confable::to_json statement in your derived type.
Reimplemented from fable::Confable.