use-frame 0.0.1

Primitive robotics frame vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    29 out of 29 items documented1 out of 17 items with examples
  • Size
  • Source code size: 10.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 744.48 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-frame

Primitive coordinate frame vocabulary for RustUse robotics.

This crate provides frame names, frame kinds, frame references, and parent/child frame relations. It does not implement TF trees, transform buffers, coordinate conversion, or geometry math.

Example

use use_frame::{FrameKind, FrameName, FrameRef, FrameRelation};

let parent = FrameRef::new(FrameName::new("base_link")?, FrameKind::Base);
let child = FrameRef::new(FrameName::new("tool0")?, FrameKind::Tool);
let relation = FrameRelation::new(parent, child);

assert_eq!(relation.parent().name().as_str(), "base_link");
assert_eq!(relation.child().kind(), &FrameKind::Tool);
# Ok::<(), Box<dyn std::error::Error>>(())

The relation labels a parent and child. It does not compute transforms.

License

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