STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
robust_ddp Directory Reference
Directory dependency graph for robust_ddp:

Files

 
conftest.py
 
test_robust_ddp_actuation.py
 
test_robust_ddp_constraints.py
 
test_robust_ddp_controller_integration.py
 
test_robust_ddp_data_models.py
 
test_robust_ddp_ddp_solver.py
 
test_robust_ddp_dynamics.py
 
test_robust_ddp_engine_wrapper.py
 
test_robust_ddp_identify.py
 
test_robust_ddp_reference.py
 
test_robust_ddp_robustness.py
 
test_robust_ddp_safety_filter.py

Detailed Description

Robust DDP Controller Tests

This directory contains unit tests and integration tests for the robust DDP controller.

Test Structure

Running Tests

# Run all controller tests
python -m pytest tests/control/robust_ddp/ -v
# Run specific test file
python -m pytest tests/control/robust_ddp/test_robust_ddp_controller_integration.py -v
# Run with coverage
python -m pytest tests/control/robust_ddp/ --cov=engine.control.robust_ddp

Test Coverage

Tests cover:

  • Data model validation and serialization
  • Dynamics model accuracy (blowdown, pressurization, feed lag)
  • Engine wrapper caching and estimation
  • Constraint checking (pressures, MR, injector stiffness)
  • Robustness bounds and tube propagation
  • DDP solver convergence and bounds respect
  • Reference generation (thrust and altitude modes)
  • Actuation quantization and dwell enforcement
  • Safety filtering and constraint violation handling
  • Parameter identification convergence
  • Full controller integration (200-step simulation)