use-kinematics-label 0.0.1

Primitive kinematics terminology labels for RustUse robotics
Documentation
  • Coverage
  • 100%
    26 out of 26 items documented1 out of 16 items with examples
  • Size
  • Source code size: 12.13 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 844.41 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s 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-kinematics-label

Primitive kinematics terminology labels for RustUse robotics.

This crate provides descriptive kinematics kinds, kinematic chain names, link names, and non-zero degrees of freedom. It does not implement forward kinematics, inverse kinematics, Jacobians, solvers, or robot dynamics.

Example

use use_kinematics_label::{DegreeOfFreedom, KinematicChainName, KinematicsKind, LinkName};

let kind = "forward".parse::<KinematicsKind>()?;
let chain = KinematicChainName::new("arm-chain")?;
let link = LinkName::new("wrist-link")?;
let dof = DegreeOfFreedom::new(6)?;

assert_eq!(kind.to_string(), "forward");
assert_eq!(chain.as_str(), "arm-chain");
assert_eq!(link.as_str(), "wrist-link");
assert_eq!(dof.get(), 6);
# Ok::<(), Box<dyn std::error::Error>>(())

The values are labels only. They do not solve kinematics.

License

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