| Crates.io | ament_rs |
| lib.rs | ament_rs |
| version | 0.3.0 |
| created_at | 2019-06-03 11:49:21.539406+00 |
| updated_at | 2025-02-08 10:38:59.869285+00 |
| description | This crate is a client for ament which is a system for cataloging and referencing resources distributed by software packages used by ROS2. |
| homepage | https://github.com/lelongg/ament_rs |
| repository | https://github.com/lelongg/ament_rs |
| max_upload_size | |
| id | 138668 |
| size | 22,423,683 |
This crate is a client for ament which is a system for cataloging and referencing resources distributed by software packages used by ROS2.
use ament_rs::*;
println!("{:#?}", Ament::new()?.get_packages_prefixes());
This snippet will print a list of packages with the prefixes they were found in, depending of the value of the AMENT_PREFIX_PATH environment variable on your system.
{
"ros_core": [
"/opt/ros/crystal",
"/opt/ros/bouncy",
],
"console_bridge_vendor": [
"/opt/ros/dashing",
"/opt/ros/crystal",
],
"ament_cmake_export_interfaces": [
"/opt/ros/dashing",
"/opt/ros/crystal",
"/opt/ros/bouncy",
],
}