Function safe_drive_msg::depends

source ·
pub fn depends(
    outdir: &Path,
    libs: &[&str],
    safe_drive: SafeDrive<'_>
) -> Result<(), DynError>
Expand description

Transpile ROS2’s message types to Rust’s types. Dependencies will be automatically

Example

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.1"));