maliput / maliput-rs

Rust bindings for maliput and other tools
https://maliput.github.io/maliput-rs/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Adds base RoadNetwork/RoadGeometry Rust API. #32

Closed francocipollone closed 7 months ago

francocipollone commented 7 months ago

🎉 New feature

Related to #30 #31

Summary

Adds Rust API for a minor part of the maliput::api::RoadNetwork/RoadGeometry (cpp) interface.

Checklist

francocipollone commented 7 months ago

@agalbachicar Note that this case for the RoadNetwork and RoadGeometry is probably not the one that is related to the F2F talk about rust vs cpp ownership and heap allocation In this case we have a road network being created in cpp world and we consume from there. Its allocaiton is in the head and managed by the cpp world. It sounds that therefore makes sense ...:

A different case happens with simpler structs/classes like LanePosition or InertialPosition. In those cases, having a cpp heap allocation sounds wrong and it is where I should narrow down the search for investigating that use case.