Expand description
Robot geometry: DH parameters, forward/inverse kinematics, Jacobians, workspace computation, collision checking, and self-collision detection.
All transforms are represented as 4×4 homogeneous matrices stored in
row-major order as [f64; 16]. Joint arrays use plain [f64; 3] vectors
for positions and axes. No external linear-algebra crate is used.
Structs§
- DhParam
- Standard Denavit-Hartenberg parameters for a single joint/link.
- Joint
Limits - Angular or linear limits for a single joint.
- Reachability
Map - A coarse voxel reachability map for a robot arm.
- Robot
Arm - A serial-chain robot arm described by a sequence of DH links.
- Robot
Link - Describes a single link of a robot arm.
- Urdf
Joint - A joint in a URDF-like robot description.
- Urdf
Link - A link in a URDF-like description.
- Urdf
Robot - A complete URDF-like robot description parsed from structs.
Enums§
- Joint
Type - Type of a robot joint.
- Singularity
Class - Classifies the manipulability of a configuration.
Functions§
- build_
6dof_ puma_ like - Builds a 6-DOF robot arm using standard Puma-like DH parameters.
- build_
planar_ 3dof - Builds a 3-DOF planar robot arm (all joints revolute, links in XY plane).
- capsule_
aabb_ overlap - Tests whether a capsule (axis
[a,b], radiusr) overlaps an AABB. - classify_
singularity - Classifies the singularity of a configuration from its manipulability value.
- dist_
point_ segment - Minimum distance from point
pto line segment[a, b]. - dist_
segment_ segment - Minimum distance between two line segments
[a1,b1]and[a2,b2]. - end_
effector_ velocity - Computes the end-effector Cartesian velocity given joint velocities
dq. - jacobian_
condition_ number - Estimates the condition number of the
3×nJacobian via the ratio of the largest to smallest singular value approximation. - joint_
space_ path - Generates a linear interpolation path in joint space.
- joint_
torques_ from_ force - Computes the joint torques required to produce a given end-effector force.
- joint_
velocity_ from_ cartesian - Computes the minimum norm joint velocity for a desired Cartesian velocity.
- mat3_
det - Computes the determinant of a 3×3 row-major matrix.
- mat3_
inverse - Computes the inverse of a 3×3 row-major matrix.
- mat4_
identity - Returns the 4×4 identity matrix.
- mat4_
mul - Multiplies two 4×4 row-major matrices.
- mat4_
transform_ dir - Transforms a 3-direction (w = 0) by a 4×4 matrix.
- mat4_
transform_ point - Transforms a 3-vector by a 4×4 homogeneous matrix (w = 1).
- mat4_
translation - Extracts the translation component from a 4×4 matrix.
- mat4_
transpose - Transposes a 4×4 row-major matrix.
- path_
collision_ free - Checks whether every configuration along a straight-line joint-space path is within joint limits and collision-free with respect to a sphere obstacle.
Type Aliases§
- Mat4
- A 4×4 homogeneous transformation matrix stored row-major.