STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_robust_ddp_actuation.TestActuation Class Reference
Inheritance diagram for test_robust_ddp_actuation.TestActuation:
[legend]
Collaboration diagram for test_robust_ddp_actuation.TestActuation:
[legend]

Public Member Functions

 setUp (self)
 test_quantize_duty (self)
 test_enforce_dwell_satisfied (self)
 test_enforce_dwell_not_satisfied (self)
 test_enforce_dwell_no_change (self)
 test_binary_actuation_threshold (self)
 test_binary_actuation_sigma_delta (self)
 test_compute_actuation_pwm (self)
 test_compute_actuation_binary (self)
 test_compute_actuation_dwell_enforcement (self)
 test_compute_actuation_dwell_satisfied (self)
 test_update_state_dwell_timers (self)
 test_create_duty_grid (self)
 test_quantize_duty_edge_cases (self)
 test_compute_actuation_clamping (self)

Public Attributes

 cfg
 state

Detailed Description

Test actuation command generation.

Definition at line 19 of file test_robust_ddp_actuation.py.

Member Function Documentation

◆ setUp()

test_robust_ddp_actuation.TestActuation.setUp ( self)
Set up test fixtures.

Definition at line 22 of file test_robust_ddp_actuation.py.

◆ test_binary_actuation_sigma_delta()

test_robust_ddp_actuation.TestActuation.test_binary_actuation_sigma_delta ( self)

◆ test_binary_actuation_threshold()

test_robust_ddp_actuation.TestActuation.test_binary_actuation_threshold ( self)

◆ test_compute_actuation_binary()

◆ test_compute_actuation_clamping()

◆ test_compute_actuation_dwell_enforcement()

test_robust_ddp_actuation.TestActuation.test_compute_actuation_dwell_enforcement ( self)

◆ test_compute_actuation_dwell_satisfied()

test_robust_ddp_actuation.TestActuation.test_compute_actuation_dwell_satisfied ( self)

◆ test_compute_actuation_pwm()

◆ test_create_duty_grid()

test_robust_ddp_actuation.TestActuation.test_create_duty_grid ( self)
Test duty grid creation.

Definition at line 264 of file test_robust_ddp_actuation.py.

◆ test_enforce_dwell_no_change()

test_robust_ddp_actuation.TestActuation.test_enforce_dwell_no_change ( self)
Test dwell enforcement when control unchanged.

Definition at line 90 of file test_robust_ddp_actuation.py.

◆ test_enforce_dwell_not_satisfied()

test_robust_ddp_actuation.TestActuation.test_enforce_dwell_not_satisfied ( self)
Test dwell enforcement when dwell time is not satisfied.

Definition at line 73 of file test_robust_ddp_actuation.py.

◆ test_enforce_dwell_satisfied()

test_robust_ddp_actuation.TestActuation.test_enforce_dwell_satisfied ( self)
Test dwell enforcement when dwell time is satisfied.

Definition at line 56 of file test_robust_ddp_actuation.py.

◆ test_quantize_duty()

test_robust_ddp_actuation.TestActuation.test_quantize_duty ( self)
Test duty quantization.

Definition at line 36 of file test_robust_ddp_actuation.py.

◆ test_quantize_duty_edge_cases()

test_robust_ddp_actuation.TestActuation.test_quantize_duty_edge_cases ( self)
Test duty quantization edge cases.

Definition at line 280 of file test_robust_ddp_actuation.py.

◆ test_update_state_dwell_timers()

test_robust_ddp_actuation.TestActuation.test_update_state_dwell_timers ( self)
Test updating dwell timers in state.

Definition at line 235 of file test_robust_ddp_actuation.py.

Member Data Documentation

◆ cfg

test_robust_ddp_actuation.TestActuation.cfg
Initial value:
= ControllerConfig(
N=10,
dt=0.01,
dwell_time=0.05, # 50 ms minimum dwell
duty_quantization=0.01, # 1% steps
)

Definition at line 24 of file test_robust_ddp_actuation.py.

Referenced by test_robust_ddp_controller_integration.TestControllerIntegration._simulate_dynamics(), test_combustion_stability_audit.TestIntegration.test_acoustic_report_only_by_default(), test_robust_ddp_reference.TestReferenceGeneration.test_altitude_command(), test_robust_ddp_reference.TestReferenceGeneration.test_altitude_command_below_goal(), test_binary_actuation_sigma_delta(), test_binary_actuation_threshold(), test_robust_ddp_reference.TestReferenceGeneration.test_build_reference_altitude_mode(), test_robust_ddp_reference.TestReferenceGeneration.test_build_reference_slew_rate(), test_robust_ddp_reference.TestReferenceGeneration.test_build_reference_thrust_mode(), test_combustion_stability_audit.TestIntegration.test_chug_gate_is_the_gain_margin_band_minimum(), test_robust_ddp_safety_filter.TestSafetyFilter.test_compute_action_cost(), test_compute_actuation_binary(), test_compute_actuation_clamping(), test_compute_actuation_dwell_enforcement(), test_compute_actuation_dwell_satisfied(), test_compute_actuation_pwm(), test_robust_ddp_controller_integration.TestControllerIntegration.test_controller_integration(), test_robust_ddp_reference.TestReferenceGeneration.test_estimate_thrust_bounds(), test_robust_ddp_safety_filter.TestSafetyFilter.test_filter_action_clamping(), test_robust_ddp_safety_filter.TestSafetyFilter.test_filter_action_safe(), test_robust_ddp_safety_filter.TestSafetyFilter.test_filter_action_unsafe_mr(), test_robust_ddp_safety_filter.TestSafetyFilter.test_filter_action_unsafe_ullage(), test_robust_ddp_safety_filter.TestSafetyFilter.test_find_best_safe_action(), test_robust_ddp_ddp_solver.TestDDPSolver.test_forward_rollout(), test_robust_ddp_safety_filter.TestSafetyFilter.test_generate_action_candidates(), test_robust_ddp_identify.TestParameterIdentification.test_get_params(), test_robust_ddp_identify.TestParameterIdentification.test_identify_alpha_F(), test_robust_ddp_identify.TestParameterIdentification.test_identify_alpha_O(), test_robust_ddp_identify.TestParameterIdentification.test_identify_copv_coefficients(), test_robust_ddp_identify.TestParameterIdentification.test_identify_tau_line_F(), test_robust_ddp_identify.TestParameterIdentification.test_identify_tau_line_O(), test_combustion_stability_audit.TestIntegration.test_missing_injector_drop_is_recorded_and_zero_is_zero(), test_combustion_stability_audit.TestIntegration.test_model_error_fails_closed(), test_robust_ddp_identify.TestParameterIdentification.test_parameter_bounds(), test_robust_ddp_reference.TestReferenceGeneration.test_project_thrust_bounds(), test_robust_ddp_reference.TestReferenceGeneration.test_project_thrust_slew_rate(), test_robust_ddp_ddp_solver.TestDDPSolver.test_running_cost(), test_robust_ddp_ddp_solver.TestDDPSolver.test_running_cost_with_errors(), test_robust_ddp_safety_filter.TestSafetyFilter.test_tube_violates_constraints_copv_min(), test_robust_ddp_safety_filter.TestSafetyFilter.test_tube_violates_constraints_mr(), test_robust_ddp_safety_filter.TestSafetyFilter.test_tube_violates_constraints_safe(), test_robust_ddp_safety_filter.TestSafetyFilter.test_tube_violates_constraints_ullage_max(), and test_robust_ddp_identify.TestParameterIdentification.test_update_config().

◆ state


The documentation for this class was generated from the following file: