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im2Real Dataset
|
| 2 |
+
|
| 3 |
+
This dataset accompanies the research paper "Bridging High-Fidelity Simulations and Physics-Based Learning Using A Surrogate Model for Soft Robot Control" published in Advanced Intelligent Systems, 2025.
|
| 4 |
+
|
| 5 |
+
## π Dataset Overview
|
| 6 |
+
|
| 7 |
+
This dataset contains experimental and simulation data for a 3-actuator pneumatic soft manipulator, designed to enable sim-to-real transfer learning and surrogate model development. The data includes motion capture recordings, pressure mappings, SOFA FEM simulation outputs, and surrogate model training datasets.
|
| 8 |
+
|
| 9 |
+
## π― Dataset Purpose
|
| 10 |
+
|
| 11 |
+
- **Sim2Real Research**: Bridge the gap between SOFA simulations and real hardware
|
| 12 |
+
- **Surrogate Model Training**: Train neural networks for fast dynamics prediction
|
| 13 |
+
- **Model Calibration**: Calibrate FEM parameters using real-world data
|
| 14 |
+
- **Workspace Analysis**: Understand the robot's range of motion and capabilities
|
| 15 |
+
- **Validation**: Compare simulation outputs with experimental ground truth
|
| 16 |
+
|
| 17 |
+
## π Dataset Files
|
| 18 |
+
|
| 19 |
+
| File | Size | Samples | Description | Usage |
|
| 20 |
+
|------|------|---------|-------------|--------|
|
| 21 |
+
| `ForwardDynamics_Pybullet_joint_to_pos.csv` | ~66MB | 100,000+ | PyBullet forward dynamics: joint commands β TCP positions | Surrogate model training |
|
| 22 |
+
| `MotionCaptureData_ROM.csv` | ~15MB | 10,000+ | Real robot motion capture trajectories | Ground truth validation |
|
| 23 |
+
| `PressureThetaMappingData.csv` | ~2MB | 5,000+ | Pressure inputs β joint angle outputs | Actuation mapping |
|
| 24 |
+
| `Pressure_vs_TCP.csv` | ~8MB | 8,000+ | Pressure commands β tool center point positions | Control modeling |
|
| 25 |
+
| `RealPressure_vs_SOFAPressure.csv` | ~3MB | 3,000+ | Hardware vs simulation pressure comparison | Model calibration |
|
| 26 |
+
| `SOFA_snapshot_data.csv` | ~45MB | 50,000+ | FEM nodal displacements from SOFA simulations | Physics validation |
|
| 27 |
+
| `SurrogateModel_ROM.csv` | ~12MB | 15,000+ | Reduced-order model training data | Fast inference |
|
| 28 |
+
| `SurrogateModel_withTooltip_ROM.csv` | ~18MB | 20,000+ | ROM data with tooltip contact forces | Contact modeling |
|
| 29 |
+
|
| 30 |
+
## π§ Data Collection Setup
|
| 31 |
+
|
| 32 |
+
### Hardware Configuration
|
| 33 |
+
- **Robot**: 3-cavity pneumatic soft manipulator (silicone, ~150mm length)
|
| 34 |
+
- **Actuation**: Pneumatic pressure control (-20 kPa to +35 kPa per cavity)
|
| 35 |
+
- **Sensing**: 6-DOF motion capture system (OptiTrack), pressure sensors
|
| 36 |
+
- **Materials**: Ecoflex 00-30 silicone with embedded pneumatic chambers
|
| 37 |
+
|
| 38 |
+
### Simulation Environment
|
| 39 |
+
- **SOFA Framework**: v22.12 with SoftRobots plugin
|
| 40 |
+
- **FEM Model**: TetrahedronFEMForceField with NeoHookean material
|
| 41 |
+
- **Material Properties**: Young's modulus 3-6 kPa, Poisson ratio 0.41
|
| 42 |
+
- **PyBullet**: v3.2.5 for surrogate model validation
|
| 43 |
+
|
| 44 |
+
## π Data Schema
|
| 45 |
+
|
| 46 |
+
### Joint Space Data
|
| 47 |
+
- `thetaX`, `thetaY`: Joint angles (radians, -Ο/4 to Ο/4)
|
| 48 |
+
- `d`: Linear displacement (mm, 0 to 50)
|
| 49 |
+
|
| 50 |
+
### Pressure Commands
|
| 51 |
+
- `P1`, `P2`, `P3`: Cavity pressures (Pa, -20000 to 35000)
|
| 52 |
+
|
| 53 |
+
### Cartesian Space
|
| 54 |
+
- `TCP_X`, `TCP_Y`, `TCP_Z`: Tool center point position (mm)
|
| 55 |
+
- `Normal_X`, `Normal_Y`, `Normal_Z`: End-effector orientation
|
| 56 |
+
|
| 57 |
+
### Forces
|
| 58 |
+
- `Fx`, `Fy`, `Fz`: External forces (N, contact/manipulation tasks)
|
| 59 |
+
|
| 60 |
+
### Temporal Information
|
| 61 |
+
- `Time`: Timestamp (seconds)
|
| 62 |
+
- `Episode`: Experiment episode number
|
| 63 |
+
|
| 64 |
+
## π Usage Examples
|
| 65 |
+
|
| 66 |
+
### Loading Data in Python
|
| 67 |
+
```python
|
| 68 |
+
import pandas as pd
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
|
| 71 |
+
# Load from HuggingFace
|
| 72 |
+
dataset = load_dataset("Ndolphin/SoftManipulator_sim2real")
|
| 73 |
+
|
| 74 |
+
# Or load locally
|
| 75 |
+
df = pd.read_csv("ForwardDynamics_Pybullet_joint_to_pos.csv")
|
| 76 |
+
print(f"Dataset shape: {df.shape}")
|
| 77 |
+
print(f"Columns: {df.columns.tolist()}")
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
### Training a Surrogate Model
|
| 81 |
+
```python
|
| 82 |
+
# Pressure to joint angle mapping
|
| 83 |
+
X = df[['P1', 'P2', 'P3']].values # Pressure inputs
|
| 84 |
+
y = df[['thetaX', 'thetaY', 'd']].values # Joint outputs
|
| 85 |
+
|
| 86 |
+
from sklearn.model_selection import train_test_split
|
| 87 |
+
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
|
| 88 |
+
|
| 89 |
+
# Train your neural network model
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
### Motion Analysis
|
| 93 |
+
```python
|
| 94 |
+
# Analyze workspace coverage
|
| 95 |
+
import matplotlib.pyplot as plt
|
| 96 |
+
|
| 97 |
+
tcp_data = df[['TCP_X', 'TCP_Y', 'TCP_Z']]
|
| 98 |
+
fig = plt.figure()
|
| 99 |
+
ax = fig.add_subplot(111, projection='3d')
|
| 100 |
+
ax.scatter(tcp_data['TCP_X'], tcp_data['TCP_Y'], tcp_data['TCP_Z'])
|
| 101 |
+
ax.set_title('Robot Workspace')
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## π Data Quality & Preprocessing
|
| 105 |
+
|
| 106 |
+
### Quality Assurance
|
| 107 |
+
- **Filtering**: Outliers removed using 3-sigma rule
|
| 108 |
+
- **Smoothing**: Savitzky-Golay filter applied to motion capture data
|
| 109 |
+
- **Synchronization**: All sensors synchronized to 100Hz sampling rate
|
| 110 |
+
- **Validation**: Cross-validated against multiple experimental runs
|
| 111 |
+
|
| 112 |
+
### Recommended Preprocessing
|
| 113 |
+
```python
|
| 114 |
+
from sklearn.preprocessing import StandardScaler
|
| 115 |
+
|
| 116 |
+
# Normalize features for neural network training
|
| 117 |
+
scaler = StandardScaler()
|
| 118 |
+
X_normalized = scaler.fit_transform(X)
|
| 119 |
+
|
| 120 |
+
# Save scaler for inference
|
| 121 |
+
import joblib
|
| 122 |
+
joblib.dump(scaler, 'scaler.pkl')
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
## π Citation
|
| 126 |
+
|
| 127 |
+
If you use this dataset in your research, please cite:
|
| 128 |
+
|
| 129 |
+
```bibtex
|
| 130 |
+
@article{hong2025bridging,
|
| 131 |
+
title={Bridging High-Fidelity Simulations and Physics-Based Learning Using A Surrogate Model for Soft Robot Control},
|
| 132 |
+
author={Hong, T. and Lee, J. and Song, B.-H. and Park, Y.-L.},
|
| 133 |
+
journal={Advanced Intelligent Systems},
|
| 134 |
+
year={2025},
|
| 135 |
+
publisher={Wiley}
|
| 136 |
+
}
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
## π License
|
| 140 |
+
|
| 141 |
+
This dataset is released under the MIT License. See LICENSE file for details.
|
| 142 |
+
|
| 143 |
+
## π€ Contact
|
| 144 |
+
|
| 145 |
+
For questions about the dataset or research:
|
| 146 |
+
- **Authors**: T. Hong, J. Lee, B.-H. Song, Y.-L. Park
|
| 147 |
+
- **Institution**: [Your Institution]
|
| 148 |
+
- **Email**: [Contact Email]
|
| 149 |
+
- **Paper**: [ArXiv/DOI Link when available]
|
| 150 |
+
|
| 151 |
+
## π Related Resources
|
| 152 |
+
|
| 153 |
+
- **Code Repository**: https://github.com/ndolphin-github/Sim2Real_framework_SoftRobot
|
| 154 |
+
- **SOFA Simulations**: Included in the repository
|
| 155 |
+
- **Pre-trained Models**: Available in the code repository
|
| 156 |
+
- **Demo Videos**: SOFA simulation demos included
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
*Dataset Version: 1.0 | Last Updated: October 2025*
|