ADCS.controller.saltro.SALTRO_constraint_settings module¶
Constraint configuration for SALTRO planner settings.
This module defines Python-side configuration containers that are converted into SALTRO C++ constraint structs.
- class ADCS.controller.saltro.SALTRO_constraint_settings.ConstraintConfig(est_sat, control_limit_scale=0.75, wmax=0.3490658503988659, sun_limit_angle=0.3490658503988659)[source]¶
Bases:
objectConstraint settings for SALTRO optimization.
The class stores control and state-like bounds enforced by the optimizer, including actuator limits, maximum angular velocity, and sun-angle limits.
- Parameters:
est_sat (
EstimatedSatellite) – Estimated satellite model used to derive actuator limits.control_limit_scale (float) – Scale factor applied to actuator
u_max.wmax (float) – Maximum angular-velocity magnitude (rad/s).
sun_limit_angle (float) – Minimum sun-avoidance angle (rad).
- to_cpp()[source]¶
Convert Python constraints to the SALTRO C++
ConstraintConfig.- Returns:
C++ constraints object.
- Return type:
- control_limit_scale: float = 0.75¶
- est_sat: dataclasses.InitVar[EstimatedSatellite]¶
- sun_limit_angle: float = 0.3490658503988659¶
- u_max: ndarray¶
- wmax: float = 0.3490658503988659¶