flow "RobotFrame" v1.0
# Kireth Research Semantic Library — Robot Frame Entity
# Original semantic Flow Algebra representation; not a verified extraction of the linked page.
IDENTITY:
name: "Robot Frame"
class: "EngineeringEntity > RoboticsEngineeringEntity > RobotFrame"
domain: [robotics, kinematics, coordinate_systems, metrology, control]
definition: "A named coordinate reference attached to a robot component, tool, sensor, workpiece or world, used to describe positions, orientations, velocities and transformations."
distinguish_from: ["Robot Base: physical support or mounting structure", "Robot Link: physical rigid member", "Robot Frame: mathematical reference system"]
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence; open use with citation required"
SOURCE:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/robotics-engineering-entities/robot-frame-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/robotics-engineering-entities/robot-frame-ontology.html"
source_status: "User-provided ontology URL; original constructed flow, not verified page extraction"
PURPOSE:
- "Represent reference frames and their relationships in robot kinematic graphs."
- "Enable consistent spatial reasoning across base, joint, link, tool, sensor and world coordinates."
- "Detect frame ambiguity, invalid transforms, stale calibration and unsafe frame-dependent commands."
STATE_MODEL:
S = (I, R, B, K)
I: "frame identifiers, parent links, measured transforms, timestamps and observed poses"
R: "frame composition, inverse transforms, kinematic constraints and inference rules"
B: "valid coordinate conventions, connectivity, temporal validity and safety bounds"
K: "calibration records, robot geometry, uncertainty models and provenance"
frame_state: [unregistered, registered, calibrated, active, stale, invalid, retired]
dynamic_frame: "T_parent_child(t) may vary with time or joint state"
static_frame: "T_parent_child is assumed constant within calibration validity"
ENTITIES:
RobotFrame:
attributes: [frame_id, frame_type, parent_frame_id, origin, orientation, handedness, units, timestamp, authority, calibration_id, covariance, status]
invariant: "frame_id is unique within its declared frame graph"
FrameTypes:
- WorldFrame: "external global or cell reference"
- MapFrame: "map-relative reference, possibly subject to localisation corrections"
- OdometryFrame: "locally continuous reference subject to accumulated drift"
- BaseFrame: "reference attached to robot base"
- LinkFrame: "reference attached to a kinematic link"
- JointFrame: "reference used to express a joint axis and motion"
- FlangeFrame: "mechanical interface reference at manipulator wrist"
- ToolFrame: "tool centre point and tool orientation"
- SensorFrame: "camera, lidar, IMU or force sensor reference"
- WorkpieceFrame: "reference fixed to an object or fixture"
- TaskFrame: "reference defined for a particular operation"
Transform:
attributes: [source_frame, target_frame, translation, rotation, timestamp, uncertainty, provenance]
representation: "T_A_B in SE(3) maps coordinates expressed in B into A"
homogeneous_form: "T_A_B = [[R_A_B, p_A_B], [0, 0, 0, 1]]"
rigid_rotation: "R^T R = I and det(R) = +1"
composition: "T_A_C = T_A_B * T_B_C"
inverse: "T_B_A = inverse(T_A_B)"
Pose:
attributes: [position, orientation, reference_frame, timestamp, covariance]
Twist:
attributes: [linear_velocity, angular_velocity, expressed_in_frame]
Wrench:
attributes: [force, torque, expressed_in_frame]
Calibration:
attributes: [method, measured_transform, residual, uncertainty, validity_interval, operator_or_system]
FrameGraph:
attributes: [nodes, directed_transform_edges, root_policy, update_authority, consistency_checks]
RELATIONSHIPS:
- "RobotFrame attached_to RobotBase | RobotLink | EndEffector | RobotSensor | Workpiece"
- "RobotFrame has_parent RobotFrame"
- "Transform maps_coordinates_between RobotFrame and RobotFrame"
- "Pose expressed_in RobotFrame"
- "SensorMeasurement referenced_to RobotFrame"
- "Calibration validates Transform"
- "MotionCommand targets Pose expressed_in RobotFrame"
- "FrameGraph resolves TransformPath"
PATHWAYS:
registration:
input: [frame_id, frame_type, parent_frame_id, transform_source]
process: [validate_unique_id, verify_parent_exists, check_conventions, register_edge]
output: [registered_frame, audit_record]
calibration:
input: [measurements, fixture_geometry, instrument_uncertainty]
process: [estimate_transform, calculate_residuals, propagate_uncertainty, validate_against_tolerances]
output: [calibrated_transform, calibration_provenance]
transform_resolution:
input: [source_frame, target_frame, query_timestamp]
process: [find_valid_path, align_timestamps, compose_transforms, propagate_uncertainty]
output: [T_target_source, validity_status, uncertainty]
motion_command:
input: [target_pose, target_frame, execution_time]
process: [resolve_frame, validate_calibration, transform_target, check_workspace, check_collision, authorise_motion]
output: [accepted_command_or_rejection, reason]
monitoring:
input: [frame_updates, timestamps, calibration_age, transform_residuals]
process: [detect_discontinuity, check_staleness, detect_conflicts, flag_invalid_edges]
output: [frame_graph_health, diagnostics]
KINEMATIC_CONSTRAINTS:
- "A coordinate must not be interpreted without its reference frame and units."
- "A transform chain is valid only when adjacent source and target frame identities match."
- "Use right-handed Cartesian conventions unless an explicitly documented alternative is declared."
- "Rotations must remain proper orthonormal matrices; numerical drift requires correction or rejection."
- "Time-varying transforms must be evaluated at compatible timestamps; interpolation requires a supported model."
- "Frame graph cycles must be checked for consistency; a closed loop is not automatically erroneous."
- "Sensor-to-base extrinsics must carry calibration uncertainty and validity information."
- "Transforming a pose differs from transforming a twist or wrench; use the appropriate adjoint mapping."
- "Position, velocity and force limits must be evaluated in the correct reference frames."
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and supported_by(x, K_t)}"
select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t), x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, observations, provenance)"
stop: "stop when requested transform is validated, no valid path exists, or safety constraints require rejection"
safeguard: "inference cannot substitute for missing safety-critical calibration or unverified frame identity"
INFERENCE_RULES:
R01: "IF frame_id absent THEN reject spatial command as frame-ambiguous."
R02: "IF source_frame equals target_frame THEN identity transform applies at a valid query time."
R03: "IF T_A_B and T_B_C valid THEN infer T_A_C by ordered composition."
R04: "IF T_A_B valid and invertible THEN infer T_B_A as its inverse."
R05: "IF transform path missing THEN return unresolved; do not assume coincident frames."
R06: "IF frame calibration expired THEN mark dependent transforms stale."
R07: "IF frame timestamps incompatible THEN defer or reject transform resolution."
R08: "IF transform rotation fails orthonormality tolerance THEN invalidate transform."
R09: "IF loop closure residual exceeds declared tolerance THEN flag graph inconsistency."
R10: "IF uncertainty exceeds task tolerance THEN require recalibration or alternative measurement."
R11: "IF tool frame changes THEN recompute tool centre point dependent motion targets."
R12: "IF base frame relocates THEN invalidate assumptions tied to its previous world pose."
R13: "IF sensor extrinsics update THEN re-evaluate dependent perception and localisation results."
R14: "IF reference frame is moving THEN evaluate transform at intended execution time."
R15: "IF motion target violates workspace or collision constraints THEN reject command regardless of frame resolution confidence."
R16: "IF two authorities publish conflicting transforms for the same edge THEN quarantine conflict pending resolution."
CONFIDENCE:
evidence_classes: [direct_calibration, encoder_derived, localisation_estimate, model_prediction, unverified_assertion]
score_inputs: [measurement_covariance, calibration_residual, timestamp_age, path_length, model_validity, provenance]
policy: "confidence is contextual; no universal numerical threshold is asserted"
uncertainty: "propagate translation/rotation uncertainty through composition using a consistent perturbation convention"
decision: "safety-critical actions require independent safety validation, not confidence score alone"
SEMANTIC_EQUIVALENCE:
accepted_aliases:
- "robot coordinate frame"
- "robot reference frame"
- "robot coordinate system (when referring to a named reference)"
qualified_terms:
- "base frame: frame attached to robot base, not the physical base"
- "tool frame: tool-attached coordinate system, not the end effector hardware"
- "world frame: chosen global reference, not necessarily an absolute physical frame"
non_equivalent:
- "robot frame != robot chassis"
- "frame transform != physical motion"
- "map frame != odometry frame in general"
VALIDATION_TESTS:
- "Identity transform returns unchanged point coordinates."
- "Forward and inverse composition approximates identity within numerical tolerance."
- "Two-edge transform path produces expected ordered matrix product."
- "Unregistered frame cannot resolve a transform."
- "Stale dynamic transform is rejected for a time-critical command."
- "Conflicting loop closure produces a diagnostic rather than a silent overwrite."
- "Tool frame calibration change triggers dependent target review."
- "A frame with unknown units cannot be used for metric motion execution."
FLOW_HASH:
method: "SHA-256 over canonical UTF-8 publication text excluding the hash value itself"
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
version: "1.0"
date: "2026-11-19"
triggers: [new_calibration, kinematic_revision, sensor_replacement, reference_frame_redefinition, safety_review, ontology_revision]
revision_policy: "preserve version history, transform provenance, backward-compatible identifiers where possible"
citation_required: true
END_FLOW
Download Code
Copy to Clipboard