![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
this class provides the controller_ls features to COMPASS More...
#include <sutra_controller_ls.h>
Public Member Functions | |
sutra_controller_ls (CarmaContext *context, long nslope, long nactu, float delay, SutraDms *dms, int *idx_dms, int ndm, int *idx_centro, int ncentro) | |
sutra_controller_ls (const sutra_controller_ls &controller) | |
~sutra_controller_ls () | |
string | get_type () |
int | svdec_imat () |
int | build_cmat (int nfilt, bool filt_tt) |
int | build_cmat (int nfilt) |
int | build_cmat_modopti () |
int | frame_delay () |
int | comp_com () |
!!! YOU MUST set d_centroids before calling it!!!! More... | |
int | set_modal_gains (Tcomp *mgain) |
int | set_cmat (Tcomp *cmat) |
int | set_imat (Tcomp *imat) |
int | init_modalOpti (int nmodes, int nrec, Tcomp *M2V, Tcomp gmin, Tcomp gmax, int ngain, Tcomp Fs) |
int | loadopen_loopSlp (Tcomp *ol_slopes) |
int | modalControlOptimization () |
int | compute_Hcor () |
![]() | |
SutraController (CarmaContext *context, int nslope, int nactu, float delay, SutraDms *dms, int *idx_dms, int ndm, int *idx_centro, int ncentro) | |
virtual | ~SutraController () |
int | nactu () |
int | nslope () |
cublasHandle_t | cublas_handle () |
void | init_voltage () |
int | set_centroids_ref (Tcomp *centroids_ref) |
int | add_perturb_voltage (string name, float *perturb, int N) |
int | set_perturb_voltage (string name, float *perturb, int N) |
int | remove_perturb_voltage (string name) |
int | reset_perturb_voltage () |
int | enable_perturb_voltage (string name) |
int | disable_perturb_voltage (string name) |
int | set_com (float *com, int nElem) |
int | set_open_loop (int open_loop_status, bool rst=true) |
int | clip_commands () |
int | comp_voltage () |
int | comp_latency () |
int | set_delay (float delay) |
int | set_volt_min (float volt_min) |
int | set_volt_max (float volt_max) |
int | set_val_max (float val_max) |
int | set_gain (float gain) |
int | reset_coms () |
int | command_delay () |
int | add_perturb () |
int | comp_polc (CarmaObj< Tcomp > &sk, CarmaObj< Tcomp > &iMat, CarmaObj< Tcomp > &ol_meas) |
Compute the open loop measurements and effective commands. More... | |
Additional Inherited Members | |
![]() | |
mutex | comp_voltage_mutex |
this class provides the controller_ls features to COMPASS
Definition at line 23 of file sutra_controller_ls.h.
sutra_controller_ls< Tcomp, Tout >::sutra_controller_ls | ( | CarmaContext * | context, |
long | nslope, | ||
long | nactu, | ||
float | delay, | ||
SutraDms * | dms, | ||
int * | idx_dms, | ||
int | ndm, | ||
int * | idx_centro, | ||
int | ncentro | ||
) |
sutra_controller_ls< Tcomp, Tout >::sutra_controller_ls | ( | const sutra_controller_ls< Tcomp, Tout > & | controller | ) |
sutra_controller_ls< Tcomp, Tout >::~sutra_controller_ls | ( | ) |
int sutra_controller_ls< Tcomp, Tout >::build_cmat | ( | int | nfilt | ) |
int sutra_controller_ls< Tcomp, Tout >::build_cmat | ( | int | nfilt, |
bool | filt_tt | ||
) |
int sutra_controller_ls< Tcomp, Tout >::build_cmat_modopti | ( | ) |
|
virtual |
!!! YOU MUST set d_centroids before calling it!!!!
Implements SutraController< Tcomp, Tout >.
int sutra_controller_ls< Tcomp, Tout >::compute_Hcor | ( | ) |
int sutra_controller_ls< Tcomp, Tout >::frame_delay | ( | ) |
|
virtual |
Implements SutraController< Tcomp, Tout >.
int sutra_controller_ls< Tcomp, Tout >::init_modalOpti | ( | int | nmodes, |
int | nrec, | ||
Tcomp * | M2V, | ||
Tcomp | gmin, | ||
Tcomp | gmax, | ||
int | ngain, | ||
Tcomp | Fs | ||
) |
int sutra_controller_ls< Tcomp, Tout >::loadopen_loopSlp | ( | Tcomp * | ol_slopes | ) |
int sutra_controller_ls< Tcomp, Tout >::modalControlOptimization | ( | ) |
int sutra_controller_ls< Tcomp, Tout >::set_cmat | ( | Tcomp * | cmat | ) |
int sutra_controller_ls< Tcomp, Tout >::set_imat | ( | Tcomp * | imat | ) |
int sutra_controller_ls< Tcomp, Tout >::set_modal_gains | ( | Tcomp * | mgain | ) |
int sutra_controller_ls< Tcomp, Tout >::svdec_imat | ( | ) |
int sutra_controller_ls< Tcomp, Tout >::cpt_rec |
Definition at line 46 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_cenbuff |
Definition at line 35 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_cmat |
Definition at line 26 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_compbuff |
Definition at line 52 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_compbuff2 |
Definition at line 53 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_eigenvals |
Definition at line 30 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_err |
Definition at line 36 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_gain |
Definition at line 27 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_Hcor |
Definition at line 51 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_imat |
Definition at line 25 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_M2V |
Definition at line 47 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_S2M |
Definition at line 48 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_slpol |
Definition at line 49 of file sutra_controller_ls.h.
CarmaObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::d_U |
Definition at line 32 of file sutra_controller_ls.h.
Tcomp sutra_controller_ls< Tcomp, Tout >::Fs |
Definition at line 45 of file sutra_controller_ls.h.
Tcomp sutra_controller_ls< Tcomp, Tout >::gmax |
Definition at line 43 of file sutra_controller_ls.h.
Tcomp sutra_controller_ls< Tcomp, Tout >::gmin |
Definition at line 42 of file sutra_controller_ls.h.
CarmaHostObj<Tcomp>* sutra_controller_ls< Tcomp, Tout >::h_eigenvals |
Definition at line 31 of file sutra_controller_ls.h.
int sutra_controller_ls< Tcomp, Tout >::is_modopti |
Definition at line 39 of file sutra_controller_ls.h.
int sutra_controller_ls< Tcomp, Tout >::ngain |
Definition at line 44 of file sutra_controller_ls.h.
int sutra_controller_ls< Tcomp, Tout >::nmodes |
Definition at line 41 of file sutra_controller_ls.h.
int sutra_controller_ls< Tcomp, Tout >::nrec |
Definition at line 40 of file sutra_controller_ls.h.