1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! ROS2 TF2 IO layer using the transforms crate.
//!
//! This crate provides message handling for the middleware-independent
//! `transforms` crate. It supports multiple backends:
//!
//! - `r2r` - Rust bindings to ROS2 C libraries
//! - `ros2-client` - Pure Rust ROS2 client
//! - `mt-pubsub` - Minot pub/sub system
//!
//! # Example
//!
//! ```ignore
//! use transforms_io::TfListener;
//!
//! // Create listener (backend-specific)
//! let listener = TfListener::new(&mut node);
//!
//! // Lookup transform
//! let tf = listener.lookup_transform("base_link", "sensor", time)?;
//! ```
// Re-export transforms types for convenience
pub use TfError;
pub use ;
pub use Timestamp;
pub use Registry;
/// Default buffer duration for TF listeners (10 seconds).
/// This matches the default used by ROS2 tf2.
pub const DEFAULT_BUFFER_DURATION_SECS: u64 = 10;