1 #ifndef CONTROLS_CONTROLLER_CONTROLLER_CONFIG_H
2 #define CONTROLS_CONTROLLER_CONTROLLER_CONFIG_H
Eigen::Array< double, 6, 1 > Array6d
Definition: Types.h:40
Tuning parameters for the combined feed-forward / feedback controller.
Definition: ControllerConfig.h:11
double buoyancy_gain
Scalar weight applied to the buoyancy compensation force contribution.
Definition: ControllerConfig.h:37
Array6d Ki_surface
Integral PID gains used when the vehicle is near the surface.
Definition: ControllerConfig.h:25
double buoyancy_adaptive_pos_thresh
Depth error threshold for steady-state detection on heave (m)
Definition: ControllerConfig.h:60
double ff_gain
Scalar weight applied to the feed-forward force contribution.
Definition: ControllerConfig.h:31
double buoyancy_adaptive_pos_thresh_rp
Attitude error threshold for steady-state detection on roll/pitch (deg)
Definition: ControllerConfig.h:76
double buoyancy_adaptive_rate
Adaptation rate for the heave bias estimator (N per m-s of depth error)
Definition: ControllerConfig.h:54
double buoyancy_adaptive_vel_thresh_rp
Body angular-rate threshold for steady-state detection on roll/pitch (deg/s); <= 0 disables the gate.
Definition: ControllerConfig.h:79
Array6d axis_gain
Per-axis output scaling applied after all controller contributions are summed.
Definition: ControllerConfig.h:46
double surface_threshold
Depth threshold in metres below which surface gains are applied.
Definition: ControllerConfig.h:43
double buoyancy_adaptive_clamp_pct
Maximum adaptive heave bias as a fraction of net buoyancy force (e.g.
Definition: ControllerConfig.h:57
bool surface_gain_scheduling
Enables switching between surface and underwater PID gains based on depth.
Definition: ControllerConfig.h:40
Array6d Kp
Proportional PID gains for underwater operation.
Definition: ControllerConfig.h:13
Array6d Kp_surface
Proportional PID gains used when the vehicle is near the surface.
Definition: ControllerConfig.h:22
Array6d Kd_surface
Derivative PID gains used when the vehicle is near the surface.
Definition: ControllerConfig.h:28
double buoyancy_adaptive_vel_thresh
Heave velocity threshold for steady-state detection (m/s); <= 0 disables the gate.
Definition: ControllerConfig.h:63
bool buoyancy_adaptive_rp
Enables the adaptive roll/pitch bias.
Definition: ControllerConfig.h:70
bool buoyancy_adaptive_z
Enables the adaptive heave bias (learns and applies the residual buoyancy force)
Definition: ControllerConfig.h:51
Array6d Ki
Integral PID gains for underwater operation.
Definition: ControllerConfig.h:16
double buoyancy_adaptive_rate_rp
Roll/pitch bias adaptation speed (higher learns faster)
Definition: ControllerConfig.h:73
double fb_gain
Scalar weight applied to the feedback (PID) force contribution.
Definition: ControllerConfig.h:34
Array6d Kd
Derivative PID gains for underwater operation.
Definition: ControllerConfig.h:19