Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
maliput
Creates Rustacean API for maliput.
It is implemented on top of maliput-sys package.
Note: What is maliput? Refer to https://maliput.readthedocs.org.
Description
maliput provides a Rust API implemented on top of FFI bindings provided by maliput-sys package.
Features
Backends are exposed as Cargo features:
| Feature | Default | Description |
|---|---|---|
maliput_malidrive |
✅ | OpenDRIVE (.xodr) backend |
maliput_geopackage |
❌ | GeoPackage (.gpkg) backend |
all |
❌ | Enables both backends |
Only RoadNetworkBackend variants for enabled features are available. With default features, only MaliputMalidrive is compiled in.
# Default (maliput_malidrive only)
# Both backends
# Only maliput_geopackage
Usage
use ;
use HashMap;
Apps
-
maliput_query: A command-line tool for interactively querying a road network. It loads a road network using the available backends (depending on enabled features) and provides a set of commands to inspect its geometric properties and perform coordinate transformations.To run the application:
For example, using one of the provided XODR files (requires
maliput_malidrivefeature, enabled by default):
Examples
- Load
maliput::api::RoadNetworkand perform some basic queries against the Road Geometry.
Benches
- Evaluate the execution of
maliput::api::RoadGeometry::to_road_positionmethod.
License
Licensed under BSD 3-Clause.