3 releases

0.1.2 Nov 4, 2024
0.1.1 May 28, 2024
0.1.0 Apr 8, 2024

#337 in Simulation

Download history 457/week @ 2024-10-27 471/week @ 2024-11-03 220/week @ 2024-11-10 454/week @ 2024-11-17 329/week @ 2024-11-24 384/week @ 2024-12-01 265/week @ 2024-12-08 569/week @ 2024-12-15 83/week @ 2024-12-22 215/week @ 2024-12-29 602/week @ 2025-01-05 673/week @ 2025-01-12 1056/week @ 2025-01-19 292/week @ 2025-01-26 701/week @ 2025-02-02 1191/week @ 2025-02-09

3,241 downloads per month
Used in maliput

BSD-3-Clause

71KB
683 lines

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++ Namespace Rust Namespace
maliput::api::Lane maliput_sys::api::ffi::Lane
maliput::api::RoadGeometry maliput_sys::api::ffi::RoadGeometry
maliput::api::RoadNetwork maliput_sys::api::ffi::RoadNetwork
maliput::math::Vector3 maliput_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.

Dependencies

~0.5–2.1MB
~34K SLoC