use-robot 0.0.1

Primitive robot vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    29 out of 29 items documented1 out of 16 items with examples
  • Size
  • Source code size: 11.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 770.73 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-robotics
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-robot

Primitive robot vocabulary for RustUse.

This crate provides descriptive robot names, kinds, models, and manufacturers. It does not create robot registries, connect to robots, control robots, or implement robot configuration systems.

Example

use use_robot::{RobotKind, RobotModel, RobotName};

let name = RobotName::new("inspection-arm")?;
let model = RobotModel::new("RX-4")?;
let kind = "collaborative".parse::<RobotKind>()?;

assert_eq!(name.as_str(), "inspection-arm");
assert_eq!(model.as_str(), "RX-4");
assert_eq!(kind.to_string(), "collaborative");
# Ok::<(), Box<dyn std::error::Error>>(())

License

Licensed under either the MIT license or Apache License, Version 2.0.