spiderpilot89 commited on
Commit
9d0122c
Β·
verified Β·
1 Parent(s): 9cf8f19

Fix branding: ZeroTrustPhysics.com, kruze@zerotrustphysics.com

Browse files
Files changed (1) hide show
  1. README.md +179 -0
README.md ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Zero-Trust Physics: 1000Hz Domain-Randomized Humanoid Grasp & Slip Trajectories (ZTP-TSA-v1)"
3
+ dataset_info:
4
+ features:
5
+ - name: episode_id
6
+ dtype: int64
7
+ - name: timestamp_sec
8
+ dtype: float64
9
+ - name: mass_kg
10
+ dtype: float64
11
+ - name: true_static_mu
12
+ dtype: float64
13
+ - name: actual_normal_force_n
14
+ dtype: float64
15
+ - name: slip_velocity_mps
16
+ dtype: float64
17
+ - name: slip_angular_velocity_radps
18
+ dtype: float64
19
+ - name: slip_displacement_mm
20
+ dtype: float64
21
+ - name: rot_slip_displacement_deg
22
+ dtype: float64
23
+ - name: action_commanded_force_n
24
+ dtype: float64
25
+ - name: estimated_mu
26
+ dtype: float64
27
+ - name: safety_margin
28
+ dtype: float64
29
+ - name: micro_slip_detected
30
+ dtype: bool
31
+ - name: macro_slip_detected
32
+ dtype: bool
33
+ - name: rotational_slip_detected
34
+ dtype: bool
35
+ - name: taxel_0_normal_n
36
+ dtype: float64
37
+ # Note: Includes taxel_0 to taxel_15 normal, shear_x, and shear_y forces (64 features total)
38
+ splits:
39
+ - name: train
40
+ num_bytes: 224000000
41
+ num_examples: 438605
42
+ download_size: 12270000
43
+ dataset_size: 224000000
44
+ configs:
45
+ - config_name: default
46
+ data_files:
47
+ - split: train
48
+ path: haptic_trajectories.parquet
49
+ tags:
50
+ - robotics
51
+ - reinforcement-learning
52
+ - tactile-sensing
53
+ - haptic-feedback
54
+ - humanoid-manipulation
55
+ - zero-trust-physics
56
+ - aegis-os
57
+ - domain-randomization
58
+ ---
59
+
60
+ # πŸ€– Zero-Trust Physics: 1000Hz Dexterous Grasp & Tactile Slip Trajectories (ZTP-TSA-v1)
61
+
62
+ [![Domain](https://img.shields.io/badge/Website-ZeroTrustPhysics.com-blue?style=flat-square)](https://ZeroTrustPhysics.com)
63
+ [![Maintainer](https://img.shields.io/badge/Lead--Architect-Kruze-purple?style=flat-square)](mailto:kruze@zerotrustphysics.com)
64
+
65
+ This dataset contains **high-fidelity 1000Hz timeseries telemetry** representing dynamic humanoid robotic grasps under translational and torsional slip disturbances. The data was generated by the **Zero-Trust Physics Tactile Slip Auditor (ZTP-TSA)**, a zero-dependency, FPU-optimized, `no-std` Rust solver.
66
+
67
+ ## ⚑ Why This Dataset is Different
68
+
69
+ Standard robotic datasets capture joint states or RGB images at 30-60Hz. **This dataset captures tactile pressure and shear distribution vectors at 1000Hz (1.0ms resolution)**.
70
+
71
+ It exposes the physical transition from **micro-slip** (local tangential sliding of boundary contact points) to **macro-slip** (global translation sliding) and **rotational slip** (circumferential slipping under torsional torque), alongside real-time reflex force corrections executed by an edge microcontroller solver running at FPU speeds.
72
+
73
+ ```
74
+ [4x4 Tactile Sensor Array] (Normal & Shear x/y at 1000Hz)
75
+ β”‚
76
+ β–Ό
77
+ [no-std Rust Solver: ZTP-TSA] (Runs in < 10 microseconds)
78
+ β”‚
79
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
80
+ β–Ό β–Ό
81
+ [Friction Estimation] [Reflex Correction]
82
+ (Adapts mu_s in 5ms) (Arrests slip in < 2ms)
83
+ ```
84
+
85
+ ---
86
+
87
+ ## πŸ“Š Dataset Schema & Columns
88
+
89
+ Each row in the dataset corresponds to a single **1.0 millisecond control cycle** ($dt = 0.001\text{ s}$). The schema is structured for **offline Reinforcement Learning (RL), Behavior Cloning (BC), or VLA (Vision-Language-Action) haptic policy pretraining**.
90
+
91
+ ### 1. Episode / Metadata
92
+ * `timestamp_sec` (float64): Timestamp of the control cycle since episode start.
93
+ * `scenario` (string): The physical environment parameters:
94
+ * `NOMINAL`: $0.8\text{ kg}$ object, dry tactile pad ($\mu_s = 0.60$).
95
+ * `HEAVY_LOAD`: $1.0\text{ kg}$ object, high acceleration load ($\mu_s = 0.60$).
96
+ * `OILED_SURFACE`: $0.4\text{ kg}$ object, sudden low-friction oil patch ($\mu_s = 0.25 \rightarrow 0.10$).
97
+
98
+ ### 2. Ground-Truth Physics State (`state`)
99
+ * `mass_kg` (float64): Mass of the grasped object.
100
+ * `actual_normal_force_n` (float64): Actual normal force exerted by the actuator finger pad.
101
+ * `slip_velocity_mps` (float64): Linear slip velocity relative to the finger pad (meters/sec).
102
+ * `slip_angular_velocity_radps` (float64): Rotational slip velocity (radians/sec).
103
+ * `slip_displacement_mm` (float64): Cumulative linear slip distance (millimeters).
104
+ * `rot_slip_displacement_deg` (float64): Cumulative rotational slip angle (degrees).
105
+ * `static_friction_coeff` / `dynamic_friction_coeff` (float64): True physical friction coefficients.
106
+
107
+ ### 3. High-Density Tactile Sensor Array (`sensor`)
108
+ A coordinate-mapped $4 \times 4$ tactile matrix centered at index $(1.5, 1.5)$. For each of the **16 taxels** ($i \in [0, 15]$):
109
+ * `taxel_{i}_normal_n` (float64): Perpendicular normal pressure force.
110
+ * `taxel_{i}_shear_x_n` (float64): Tangential shear force along the contact grid horizontal axis.
111
+ * `taxel_{i}_shear_y_n` (float64): Tangential shear force along the contact grid vertical axis.
112
+
113
+ ### 4. Reflex Controller Action (`reflex`)
114
+ * `action_commanded_force_n` (float64): Commanded target normal force output by the ZTP-TSA controller.
115
+ * `estimated_mu` (float64): Real-time friction coefficient ($\mu_s$) computed by the running observer.
116
+ * `safety_margin` (float64): Friction cone safety margin ($1.0 = \text{no shear}$, $0.0 = \text{imminent slip}$).
117
+ * `micro_slip_detected` (bool): Flagged when boundary contact taxels exceed the local friction limit.
118
+ * `macro_slip_detected` (bool): Flagged when global linear slip is detected.
119
+ * `rotational_slip_detected` (bool): Flagged when torsional moment exceeds the contact boundary limit.
120
+
121
+ ---
122
+
123
+ ## 🏎️ Physical Benchmarks & Catch Latencies
124
+
125
+ The underlying Rust FFI engine stabilizes all three scenarios in **under 2.0ms** of slip onset.
126
+
127
+ | Scenario | Object Mass | Start Force | Friction Envelope | Catch Latency | Final Slip | Status |
128
+ | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
129
+ | **NOMINAL** | $0.8\text{ kg}$ | $10.0\text{ N}$ | $\mu_s = 0.60$ | **1.00 ms** | $3.85\text{ mm}$ | **Secured** |
130
+ | **HEAVY LOAD** | $1.0\text{ kg}$ | $12.0\text{ N}$ | $\mu_s = 0.60$ | **1.00 ms** | $15.39\text{ mm}$ | **Secured** |
131
+ | **OILED SURFACE**| $0.4\text{ kg}$ | $14.0\text{ N}$ | $\mu_s = 0.25 \rightarrow 0.10$ | **1.00 ms** | $9.48\text{ mm}$ | **Secured** |
132
+
133
+ *Note: Latency calculations include a realistic $1.5\text{ ms}$ physical actuator lag ($\tau = 0.0015\text{ s}$) matching direct-drive humanoid motor dynamics.*
134
+
135
+ ---
136
+
137
+ ## πŸ› οΈ Loading the Dataset
138
+
139
+ ### Python (using Hugging Face `datasets`)
140
+ ```python
141
+ from datasets import load_dataset
142
+ import pandas as pd
143
+
144
+ # Stream or download the haptic dataset
145
+ dataset = load_dataset("spiderpilot89/humanoid-tactile-slip-reflex-1000hz", split="train")
146
+
147
+ # Convert to Pandas DataFrame
148
+ df = dataset.to_pandas()
149
+
150
+ # Filter for the oiled surface patch scenario
151
+ oiled_data = df[df["scenario"] == "OILED_SURFACE"]
152
+
153
+ # View tactile array shear vector for the first taxel
154
+ print(oiled_data[["timestamp_sec", "taxel_0_normal_n", "taxel_0_shear_x_n", "taxel_0_shear_y_n"]].head())
155
+ ```
156
+
157
+ ---
158
+
159
+ ## πŸ”¬ Mathematical Formulations
160
+
161
+ ### 1. Coordinate-Mapped Torsional Moment
162
+ The solver maps each taxel index $i$ to a 2D physical spatial vector $(dx_i, dy_i)$ relative to the array center. The net torsional moment $M_z$ is computed as:
163
+ $$M_z = \sum_{i=0}^{15} \left( dx_i \cdot \text{shear\_y}_i - dy_i \cdot \text{shear\_x}_i \right)$$
164
+
165
+ ### 2. Adaptive Friction Observer
166
+ When boundary taxels begin to slip, their tangential-to-normal force ratio is calculated. The system adapts its friction limits dynamically using a first-order low-pass filter ($\alpha = 0.05$):
167
+ $$\mu_{s, \text{new}} = \mu_{s, \text{old}} \cdot (1 - \alpha) + \mu_{\text{measured}, \text{avg}} \cdot \alpha$$
168
+
169
+ ---
170
+
171
+ ## πŸ”’ Cryptographic Audit & Aegis OS Seal
172
+
173
+ Every simulation run generates a cryptographic proof sealed by **Aegis OS**. The integrity hash protects the simulation manifest from tampering, ensuring that the control latency parameters presented match real execution cycles:
174
+
175
+ * **Domain ID**: `humanoid_dexterity`
176
+ * **Sovereignty Seal (SHA256)**: `ea0fd0d7c71d6f1f4405a3064619a9b71a2e9cb72b38f8702c2e0a02ef496b7a`
177
+ * **ICP Mainnet Registry**: Verification is anchored to the Internet Computer protocol ledger (when `AEGIS_NETWORK=ic`).
178
+
179
+ For the FFI Rust headers and Python bindings, visit the [Zero Trust Physics GitHub repository](https://github.com/ZeroTrustPhysics/Spectrum/tree/main/ztp-dexterous-hand).