#ros2 #transpiler #message #msg #drive #safe

safe_drive_msg

A transpiler from ROS2's message types to Rust's types

8 releases

0.2.6 May 14, 2024
0.2.5 May 7, 2024
0.2.4 Apr 6, 2024
0.2.3 Sep 21, 2023
0.1.3 Nov 7, 2022

#57 in Robotics

Download history 100/week @ 2024-07-27 53/week @ 2024-08-03 148/week @ 2024-08-10 23/week @ 2024-08-17 38/week @ 2024-08-24 75/week @ 2024-08-31 36/week @ 2024-09-07 27/week @ 2024-09-14 29/week @ 2024-09-21 44/week @ 2024-09-28 44/week @ 2024-10-05 47/week @ 2024-10-12 19/week @ 2024-10-19 10/week @ 2024-10-26 54/week @ 2024-11-02 18/week @ 2024-11-09

107 downloads per month

Custom license

94KB
2.5K SLoC

Message Transpiler for safe_drive

A transpiler from ROS2's message types to Rust's types. This library is used by cargo-ament-build internally.

use safe_drive_msg;
use std::path::Path;

let dependencies = ["std_msgs", "std_srvs"];
safe_drive_msg::depends(&Path::new("/tmp/output_dir"), &dependencies, safe_drive_msg::SafeDrive::Version("0.2"));

Limitation

This does not support C/C++ like preprocessor.


lib.rs:

Transpiler from ROS2's message types to Rust's types.

See https://github.com/ament/ament_cmake/blob/master/ament_cmake_core/doc/resource_index.md

Dependencies

~2.7–9.5MB
~94K SLoC