use-pose 0.0.1

Primitive robot pose vocabulary for RustUse robotics
Documentation
  • Coverage
  • 100%
    36 out of 36 items documented1 out of 18 items with examples
  • Size
  • Source code size: 13.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 926.06 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-pose

Primitive robot pose vocabulary for RustUse robotics.

This crate provides pose names, pose-kind labels, 2D and 3D pose labels, and orientation-kind labels. It does not solve transforms, implement coordinate geometry, plan motion, interpolate poses, or duplicate use-geometry.

Example

use use_pose::{OrientationKind, Pose3Label, PoseKind, PoseName};

let name = PoseName::new("home")?;
let kind = "waypoint".parse::<PoseKind>()?;
let label = Pose3Label::new("pick-ready")?;
let orientation = "quaternion".parse::<OrientationKind>()?;

assert_eq!(name.as_str(), "home");
assert_eq!(kind.to_string(), "waypoint");
assert_eq!(label.as_str(), "pick-ready");
assert_eq!(orientation.to_string(), "quaternion");
# Ok::<(), Box<dyn std::error::Error>>(())

The labels describe robot-domain concepts only. They are not transforms or vector/matrix math.

License

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