cv-bridge 0.3.3

Rust implemenation of cv_bridge that converts between ROS image messages and OpenCV images
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{
    env,
    path::PathBuf,
};

fn main() {
    let ros_msg_path = PathBuf::from(env::var("CARGO_MANIFEST_DIR").expect("Failed to get CARGO_MANIFEST_DIR"))
        .join("ros_msgs");
    println!("cargo:rustc-env=ROSRUST_MSG_PATH={}", ros_msg_path.to_str().expect("Failed to set ROSRUST_MSG_PATH"));
}