Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Warning] This is old repo. Don't use!

You have to see https://github.com/adnanademovic/rosrust/tree/master/examples instead of this.

rosrust tutorial

Tutorial code of rosrust.

How to build

$ cargo build

How to run

run roscore

$ roscore

run publisher

$ cargo run --bin publisher

or,

$ ./target/debug/publisher

run subscriber

$ cargo run --bin subscriber

or

$ ./target/debug/subscriber

How to use other msg

edit build.rs

Add more message to build.rs.

#[macro_use]
extern crate rosrust;

rosmsg_main!("std_msgs/String", "more_msgs/SomeMsg");

then, you can use msg::more_msgs::SomeMsg in the sample code.

Releases

Packages

Contributors

Languages