Crate maliput_sys

Source
Expand description

§maliput-sys

github crates.io docs.rs build status

Creates FFI bindings using cxx of maliput. It relies on maliput-sdk to bring the maliput-ecosystem to Rust land.

Note: What is maliput? Refer to https://maliput.readthedocs.org.

§Description

maliput-sys provides FFI bindings on top of maliput-sdk package.

§Usage

The maliput namespace is respected and positioned behind a ffi namespace. For example:

C++ NamespaceRust Namespace
maliput::api::Lanemaliput_sys::api::ffi::Lane
maliput::api::RoadGeometrymaliput_sys::api::ffi::RoadGeometry
maliput::api::RoadNetworkmaliput_sys::api::ffi::RoadNetwork
maliput::math::Vector3maliput_sys::math::ffi::Vector3

§Examples

  • Load maliput::api::RoadNetwork and perform some basic queries.
    cargo run --example create_rn

§License

Licensed under BSD 3-Clause.

Modules§