#ros #ros2 #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

#204 in Robotics

Download history 92/week @ 2024-07-19 93/week @ 2024-07-26 72/week @ 2024-08-02 77/week @ 2024-08-09 80/week @ 2024-08-16 73/week @ 2024-08-23 125/week @ 2024-08-30 169/week @ 2024-09-06 70/week @ 2024-09-13 98/week @ 2024-09-20 73/week @ 2024-09-27 85/week @ 2024-10-04 89/week @ 2024-10-11 112/week @ 2024-10-18 147/week @ 2024-10-25 70/week @ 2024-11-01

432 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

~0.5–7MB
~47K SLoC