Skip to main content

Robotic State Ontology

Robotics and Embodied AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
ROBOTIC STATE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Robotics and Embodied AI Entities
Version: 1.0 | 03 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/robotics-and-embodied-ai-entities/robotic-state-ontology.html
Source status: The public page identifies the ontology and authors, but does not expose the full formal specification in readable page text. The following is a new, explicit formalisation, not a verbatim transcription.

01 PURPOSE
Represent the observable, estimated and commanded state of a robot over time, preserving provenance, uncertainty, physical constraints, causal transitions and safety boundaries.

02 ENTITY DEFINITION
RoboticState is a time-indexed representation of a robot's configuration, motion, internal operating condition and relevant environmental relations. A state is not identical to a sensor reading: it may be estimated by combining multiple observations.

03 CORE STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = identity, robot instance, frame identifiers and timestamp.
R_t = relations between robot, links, joints, tools, environment and tasks.
B_t = boundaries: mechanical limits, collision constraints, permissions and operating envelope.
K_t = known configuration, velocities, estimates, uncertainties and control mode.
Expanded physical state: x_t = (q_t, dq_t, p_t, v_t, m_t, e_t, c_t)
q_t: joint positions; dq_t: joint velocities; p_t: body/tool poses; v_t: linear/angular velocities; m_t: discrete operating mode; e_t: energy/health status; c_t: contact state.
Not all robots possess all fields. Unknown values remain explicitly unknown.

04 INPUTS
u_t: commanded actuation; z_t: timestamped sensor observations; a_t: task/action intent; d_t: disturbance estimate; M: robot and environment model; C: active constraints.

05 TRANSITION FLOW
x_(t+1)^- = f(x_t, u_t, d_t, M, Delta_t)
z_(t+1) = h(x_(t+1), M) + epsilon_(t+1)
xhat_(t+1) = Update(x_(t+1)^-, z_(t+1), P_t, M)
P_(t+1) = UncertaintyUpdate(P_t, process_noise, measurement_noise)
S_(t+1) = ValidateAndCommit(I_(t+1), R_(t+1), B_(t+1), K_(t+1))
A prediction is not a verified observation; estimated and measured values retain separate provenance.

06 HST RECURSIVE FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and consistent(x, K_t)}
x*_t = argmax_(x in V_t) P(x | I_t, R_t, B_t, K_t)
I_(t+1) = UpdateIdentityAndContext(I_t, x*_t, z_(t+1))
The argmax denotes a candidate selection rule only where the probability model is defined and calibrated. Empty V_t triggers a safe failure state rather than a fabricated result.

07 HOW TO READ THE FLOW
Identify the robot and reference frames; read the latest observations; predict dynamics; estimate current state; enforce constraints; expose uncertainty; commit a traceable snapshot; repeat after the next event.

08 STATE TYPES
MeasuredState: directly reported values with sensor provenance.
EstimatedState: inferred values with estimator and uncertainty metadata.
PredictedState: forecast values with prediction horizon and model version.
CommandedState: target values requested by a controller.
ActualState: physical reality, not assumed to be fully observable.
SafeState: state meeting explicitly defined safety invariants.
FaultState: detected degraded, inconsistent or failed condition.

09 ENTITY RELATIONSHIPS
Robot HAS_STATE RoboticState
RoboticState HAS_TIMESTAMP TimeInstant
RoboticState REFERENCES_FRAME CoordinateFrame
RoboticState DESCRIBES JointState / BodyPose / Velocity / ContactState
Sensor PRODUCES Observation
Estimator DERIVES EstimatedState FROM Observation
Controller CONSUMES EstimatedState
Controller ISSUES CommandedState
Constraint VALIDATES RoboticState
StateTransition CONNECTS RoboticState_t TO RoboticState_(t+1)

10 TRI-MAPPING
Semantic: robot, component, state, mode, event and constraint entities.
Mathematical: vectors, transforms, probability distributions, transition functions and invariants.
Operational: sensor acquisition, fusion, control, actuation, validation and logging.
Mapping must retain robot identity, timestamp, units, reference frames and state category.

11 MAPPING TABLE
Entity | Symbol | Meaning | Validation
Joint position | q | Joint configuration | units, joint limits
Joint velocity | dq | Joint speed | units, speed limits
Pose | T | Rigid transform | frame consistency
State estimate | xhat | Inferred state | estimator provenance
Covariance | P | Estimation uncertainty | symmetric positive semidefinite
Control | u | Actuation command | actuator limits
Mode | m | Discrete control state | permitted transitions
Boundary | B | Constraints | no forbidden transition

12 INFERENCE RULES
R1: If observation is stale, flag corresponding state fields stale.
R2: If frames differ, transform only through a known valid frame relation.
R3: If measured and predicted states disagree beyond a configured threshold, raise inconsistency; do not silently overwrite.
R4: If uncertainty exceeds the task-specific threshold, reduce autonomy or request a safe fallback.
R5: If commanded motion violates an enforced limit, reject or constrain the command.
R6: If fault detection is active, follow the validated fault-handling transition.
R7: If state provenance is missing, do not label the state verified.

13 BOUNDARY AND SAFETY MODEL
B_t = {joint limits, speed/torque limits, workspace limits, collision margins, thermal/electrical limits, access permissions, emergency-stop state}.
Safe(x_t, B_t) := every applicable verified invariant holds.
Unknown safety-critical state is not evidence of safety. Physical execution requires independent safety mechanisms appropriate to the platform and applicable standards.

14 UNCERTAINTY AND CONFIDENCE
Each estimated field may carry covariance, interval, quality score, timestamp and provenance. Confidence must be calibrated for the estimator and operating domain; it is not equivalent to certainty or physical safety.

15 TEMPORAL CONSISTENCY
Each snapshot carries event_time, acquisition_time, processing_time and sequence_id where available. Out-of-order readings must be reconciled or quarantined; interpolation and extrapolation must be labelled.

16 RECURSIVE EXECUTION
Acquire -> Normalise -> Predict -> Fuse -> Validate -> Select -> Publish -> Monitor -> Acquire.
Termination conditions: task completed, operator stop, unrecoverable fault or safety interlock. Continuous monitoring may remain active after task completion.

17 TEXT DIAGRAM
[Robot and Environment]
          |
          v
[Sensors and Observations] ---> [Timestamp / Frame Checks]
                                      |
                                      v
[Robot Model + Previous State] --> [State Estimator]
                                      |
                                      v
                              [Boundary Validation]
                                 /          \
                              valid       invalid
                                |             |
                                v             v
                         [State Snapshot] [Fault / Safe Fallback]
                                |
                                v
                       [Controller / Planner]
                                |
                                v
                        [Permitted Command]
                                |
                                +------> [Next Cycle]

18 EXECUTION CONDITIONS
Preconditions: known robot identifier, relevant coordinate frames, compatible data types and units, explicit timing policy and defined constraints.
Postconditions: immutable state record, declared source category, provenance, uncertainty where available, validation result and transition reference.
Failure behaviour: retain last valid snapshot with staleness flag; signal failure; never invent sensor values.

19 AI SEARCH FLOW
FLOW_ID: semantic-library.robotic-state-ontology.v1
TITLE: Robotic State Ontology — Flow Algebra
ENTITY: RoboticState
CATEGORY: AI Core / Robotics and Embodied AI Entities
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/robotics-and-embodied-ai-entities/robotic-state-ontology.html
PURPOSE: Explain and retrieve the structural and operational representation of robot state.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
INPUTS: sensor observations, robot model, controller commands, previous state, constraints
OUTPUTS: validated state snapshot, uncertainty, transition trace, safety status
PATHWAY: observe -> estimate -> validate -> publish -> act -> observe
INFERENCE_RULES: R1-R7 as defined above
CONFIDENCE: estimator-dependent; do not assume numerical calibration
SEMANTIC_EQUIVALENCE: robotic state; robot state estimate; robot configuration state (context-dependent, not universally identical)
CITATION_BACKLINK: source URL above
UPDATE_MODEL: versioned revisions; preserve previous snapshots
FLOW_HASH: compute SHA-256 over the published canonical TXT bytes at deployment; not preclaimed here

20 EXECUTION GUARANTEE — CONDITIONAL
Given valid typed inputs, a defined model and constraints, the flow guarantees only that validation rules and declared transition logic are applied as specified by an implementation. It does not guarantee perfect state estimation, collision avoidance, hardware reliability or safe physical operation.

21 EXAMPLE
At time t, joint encoder reports q=0.5 rad, with a valid timestamp and frame. The estimator combines this with previous state and other measurements to derive xhat_t. If the joint limit is [-1.0, 1.0] rad, the position satisfies that one constraint; no conclusion about overall robot safety follows without evaluating all other applicable constraints.

22 IMPLEMENTATION NOTES
Store snapshots as versioned structured records. Distinguish commanded, measured, estimated and predicted fields. Keep SI units where appropriate, frame identifiers, estimator version, timestamps and validation outcomes. Apply strict schema validation and deterministic failure handling.

23 SOURCE AND LICENCE NOTE
This document is an original Flow Algebra extension referencing the named Kireth Research ontology. Verify the site's published Open Research Licence and attribution requirements before redistribution. Cite the original source and both credited authors.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ