Expand description
§gz-msgs
Rust implementation of Gazebo Messages using rust-protobuf.
This crate is supporting multiple versions of Gazebo messages. The version is determined by the feature flag or using pkg-config.
If you specify any feature flag (fortress
, garden
, harmonic
or ionic
), the messages from the specified version will be used. Naturally, if more than one is specified, a compile error will occur.
[dependencies]
gz-msgs = { version = "0.9.0", features = ["harmonic"] }
Otherwise, no feature flag is specified, the version is determined by using pkg-config. When multiple versions are installed, the newer version takes precedence. If you want to use an older version, set the feature flag as above.
§Note
For consistency with gz-transport, pkg-config checkes the version of Gazebo Transport instead Gazebo Messages. If gz-garden
and libgz-msgs10
are installed, garden
will be used.
§Note
In docs.rs, documentation for all features are provided. However, when you use this crate, you can only use one of the modules, and its contents are re-exported directly under the crate.
Re-exports§
pub use gz_msgs_common::protobuf;