lcm 0.2.0

Rust bindings for the LCM library
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate lcm;
use lcm::Lcm;

fn main()
{
	let mut lcm = Lcm::new().unwrap();
	lcm.subscribe("example", |msg: String| println!("Message: {}", msg) );

	loop { lcm.handle().unwrap(); }
}