vda5050-types

Crates.iovda5050-types
lib.rsvda5050-types
version0.2.0
sourcesrc
created_at2024-08-12 08:14:49.445104
updated_at2024-08-12 09:11:11.215317
descriptionTypes defined by the VDA5050 standard for AGV communication.
homepage
repositoryhttps://github.com/kKdH/vda5050-types-rs
max_upload_size
id1334138
size68,387
Elmar Schug (kKdH)

documentation

https://docs.rs/vda5050-types

README

github docs.rs crates.io

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

  1. Add a dependency on this crate to your project's Cargo.toml:

    [dependencies]
    vda5050-types = { version = "0.1.0", features = ["v2_0"] }
    
  2. 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.

Commit count: 0

cargo fmt