2 unstable releases
0.2.0 | Aug 12, 2024 |
---|---|
0.1.0 | Aug 12, 2024 |
#12 in #defined
66KB
900 lines
VDA5050 Types
This crate provides data-types for the rust programming language defined by the VDA5050 standard. VDA5050 is an open standard for communication between AGV fleets and a central master control.
Usage
-
Add a dependency on this crate to your project's Cargo.toml:
[dependencies] vda5050-types = { version = "0.1.0", features = ["v2_0"] }
-
Use the types provided by the crate:
use vda5050_types::v2_0::common::{Action, BlockingType}; use vda5050_types::v2_0::instant_actions::InstantActions; fn main() { let action = InstantActions { header_id: 0, timestamp: Utc::now(), version: String::from("2"), manufacturer: String::from("Fubar Co."), serial_number: String::from("1234"), instant_actions: vec![ Action { action_type: String::from("pick"), action_id: String::from("pick-1"), action_description: None, blocking_type: BlockingType::Soft, action_parameters: vec![], } ], }; }
Documentation
License
Licensed using the MIT.
Contributing
All contributions are welcome. Any contribution intentionally submitted for inclusion in this crate by you, as defined in the MIT license, shall be licensed without any additional terms or conditions.
Dependencies
~1–1.3MB
~22K SLoC