tf_rosrust/lib.rs
1//! This is a rust port of the [ROS tf library](http://wiki.ros.org/tf). It is intended for being used in robots to help keep track of
2//! multiple coordinate frames and is part of a larger suite of rust libraries that provide support for various robotics related functionality.
3//!
4//! Example usage:
5//!
6//! ```no_run
7//! use tf_rosrust::TfListener;
8//!
9//! rosrust::init("listener");
10//! let listener = TfListener::new();
11//!
12//! let rate = rosrust::rate(1.0);
13//! while rosrust::is_ok() {
14//! let tf = listener.lookup_transform("camera", "base_link", rosrust::Time::new());
15//! println!("{tf:?}");
16//! rate.sleep();
17//! }
18//!```
19
20mod tf_broadcaster;
21mod tf_buffer;
22mod tf_error;
23mod tf_graph_node;
24mod tf_individual_transform_chain;
25pub mod transforms;
26pub use transforms::geometry_msgs::TransformStamped;
27mod tf_listener;
28pub use tf_broadcaster::TfBroadcaster;
29pub use tf_buffer::TfBuffer;
30pub use tf_error::TfError;
31pub use tf_listener::TfListener;