Crate gz_msgs

Source
Expand description

§gz-msgs

crates.io

Rust implementation of Gazebo Messages using rust-protobuf.

Gazebo versionGazebo Messages version
Fortress8.7.0
Garden (EOL)9.5.1
Harmonic10.3.2
Ionic11.0.2

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;

Modules§

gz_msgs9garden
Gazebo Message 9.5.1
gz_msgs10harmonic
Gazebo Message 10.3.2
gz_msgs11ionic
Gazebo Message 11.0.2
ign_msgs8fortress
Gazebo Message 8.7.0