Expand description
§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");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. Primitive robot pose vocabulary.
Structs§
- Pose2
Label - A non-empty 2D pose label.
- Pose3
Label - A non-empty 3D pose label.
- Pose
Name - A non-empty pose name.
Enums§
- Orientation
Kind - Descriptive orientation representation labels.
- Orientation
Kind Parse Error - Error returned when parsing orientation kinds fails.
- Pose
Kind - Descriptive pose kind vocabulary.
- Pose
Kind Parse Error - Error returned when parsing pose kinds fails.
- Pose
Text Error - Errors returned while constructing pose text values.