From cef02fabea089eefdba6c9ae92f679cd98e401a7 Mon Sep 17 00:00:00 2001
From: Alessio Quaglino
Date: Wed, 9 Jul 2025 09:28:15 -0700
Subject: [PATCH] Remove sdflib plugin and move interpolation to
engine_collision_sdf.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Before:
```
Simulation time : 1.71 s
Steps per second : 5854
Realtime factor : 11.71 x
Time per step : 170.8 µs
Newton iters / step : 2.19
Contacts / step : 3.45
Constraints / step : 13.79
Degrees of freedom : 12
Dynamic memory usage : 0.2% of 14M
```
After:
```
Simulation time : 1.41 s
Steps per second : 7093
Realtime factor : 14.19 x
Time per step : 141.0 µs
Newton iters / step : 2.19
Contacts / step : 3.45
Constraints / step : 13.79
Degrees of freedom : 12
Dynamic memory usage : 0.2% of 14M
```
PiperOrigin-RevId: 781087896
Change-Id: Iaf69dccc5e95af5bac862344683c74f962162186
---
model/plugin/sdf/cow.xml | 17 +-
plugin/sdf/CMakeLists.txt | 2 -
plugin/sdf/README.md | 10 --
plugin/sdf/register.cc | 2 -
plugin/sdf/sdflib.cc | 279 ------------------------------
plugin/sdf/sdflib.h | 57 ------
src/engine/engine_collision_sdf.c | 191 +++++++++++++++++++-
src/user/user_mesh.cc | 3 +-
test/engine/engine_plugin_test.cc | 2 +-
9 files changed, 189 insertions(+), 374 deletions(-)
delete mode 100644 plugin/sdf/sdflib.cc
delete mode 100644 plugin/sdf/sdflib.h
diff --git a/model/plugin/sdf/cow.xml b/model/plugin/sdf/cow.xml
index 0e9528a2..7eb055d4 100644
--- a/model/plugin/sdf/cow.xml
+++ b/model/plugin/sdf/cow.xml
@@ -8,19 +8,12 @@
-
-
-
-
-
-
-
-
+
@@ -48,15 +41,11 @@
-
-
-
+
-
-
-
+