#ros2 #ros #ament

build ament_rs

This crate is a client for ament which is a system for cataloging and referencing resources distributed by software packages used by ROS2

2 releases

0.2.1 Jun 3, 2019
0.2.0 Jun 3, 2019

#114 in Robotics

Download history 46/week @ 2023-11-20 35/week @ 2023-11-27 25/week @ 2023-12-04 26/week @ 2023-12-11 27/week @ 2023-12-18 25/week @ 2023-12-25 17/week @ 2024-01-01 44/week @ 2024-01-08 32/week @ 2024-01-15 24/week @ 2024-01-22 48/week @ 2024-01-29 38/week @ 2024-02-05 55/week @ 2024-02-12 103/week @ 2024-02-19 94/week @ 2024-02-26 110/week @ 2024-03-04

367 downloads per month
Used in 2 crates

ISC license

16KB
251 lines

ament_rs

This crate is a client for ament which is a system for cataloging and referencing resources distributed by software packages used by ROS2.

docs.rs

Examples

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",
    ],
}

lib.rs:

This crate is a client for ament which is a system for cataloging and referencing resources distributed by software packages used by ROS2.

Examples

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",
    ],
}

Dependencies

~530–730KB
~11K SLoC