Commit f3039cb
committed
Add comprehensive surgical robotics integration
Implements complete interface framework for integrating Multi-Heart-Model
physiological simulations with major surgical robotics platforms.
New interfaces:
- dVRK (da Vinci Research Kit) with cisst-SAW support
- CRTK (Collaborative Robotics Toolkit) standardized API
- AMBF (Asynchronous Multi-Body Framework) simulator
- ROS2 communication bridge for middleware integration
- Physiological controller for adaptive robot control
Key features:
- Real-time physiological monitoring (HR, BP, SpO2, etc.)
- Multi-level safety alerts (Normal/Caution/Warning/Critical)
- Adaptive control parameter modulation based on patient state
- Emergency stop triggers for critical physiological conditions
- Surgical phase awareness (Approach/Manipulation/Retraction)
- Heart rate variability (HRV) metrics computation
- ROS/ROS2 message formatting and publishing
- Workspace and velocity safety limits
- Force/torque control with physiological scaling
Module structure:
- src/surgical_robotics/dvrk_interface.py (520+ LOC)
- src/surgical_robotics/crtk_interface.py (480+ LOC)
- src/surgical_robotics/ambf_interface.py (380+ LOC)
- src/surgical_robotics/ros2_bridge.py (420+ LOC)
- src/surgical_robotics/physio_controller.py (460+ LOC)
Testing & Documentation:
- Comprehensive test suite in tests/surgical_robotics/
- Complete integration demo in examples/surgical_robotics_demo.py
- Full documentation in docs/SURGICAL_ROBOTICS_INTEGRATION.md
Integration with HBCM:
- PhysiologicalController accepts HeartBrainCouplingModel instance
- Real-time extraction of heart rate and cardiovascular metrics
- Closed-loop feedback between physiology and robot control
- Stress and pain indices influence robot behavior
Safety features:
- Workspace boundary enforcement
- Velocity and force scaling based on vital signs
- Multi-level alert system with progressive response
- Emergency stop on critical physiological thresholds
- Surgical phase-specific constraints
References:
- Kazanzides et al. (2014) dVRK paper
- Kazanzides et al. (2021) CRTK paper
- Munawar et al. (2019) AMBF paper
- ROS 2 and surgical robotics standards
This implementation enables physiologically-aware robotic surgery
with adaptive control that responds to patient state in real-time.1 parent 9c1b598 commit f3039cb
File tree
11 files changed
+4248
-0
lines changed- docs
- examples
- src/surgical_robotics
- tests/surgical_robotics
11 files changed
+4248
-0
lines changedLarge diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments