![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
this class provides the controller_cured features to COMPASS More...
#include <sutra_controller_cured.h>
Public Member Functions | |
| SutraControllerCured (CarmaContext *context, long nvalid, long nslope, long nactu, float delay, SutraDms *dms, int *idx_dms, int ndm, int *idx_centro, int ncentro) | |
| SutraControllerCured (const SutraControllerCured &controller) | |
| ~SutraControllerCured () | |
| string | get_type () |
| int | comp_com () |
| !!! YOU MUST set d_centroids before calling it!!!! More... | |
| int | init_cured (int nxsubs, int *isvalid, int ndivs, int tt) |
| int | frame_delay () |
Public Member Functions inherited from SutraController< Tcomp, Tout > | |
| SutraController (CarmaContext *context, int nvalid, 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 () |
Public Attributes | |
| int | ndivs |
| bool | tt_flag |
| CarmaHostObj< Tcomp > * | h_centroids |
| CarmaHostObj< Tcomp > * | h_err |
| CarmaObj< Tcomp > * | d_err |
| CarmaObj< Tcomp > * | d_cenbuff |
| CarmaObj< Tcomp > * | d_imat |
| void * | h_syscure |
| void * | h_parcure |
Public Attributes inherited from SutraController< Tcomp, Tout > | |
| CarmaContext * | current_context |
| int | device |
| int | open_loop |
| Tcomp | delay |
| Tcomp | gain |
| float | volt_min |
| float | volt_max |
| int | nactus |
| int | nslopes |
| Tout | val_max |
| Tcomp | a |
| Tcomp | b |
| Tcomp | c |
| vector< SutraDm * > | d_dmseen |
| CarmaObj< Tcomp > * | d_centroids |
| CarmaObj< Tcomp > * | d_centroids_padded |
| CarmaObj< Tcomp > * | d_com |
| CarmaObj< Tcomp > * | d_com_padded |
| CarmaObj< Tcomp > * | d_com_clipped |
| CarmaObj< Tout > * | d_voltage |
| CarmaObj< Tcomp > * | d_com1 |
| vector< int > | centro_idx |
| std::deque< CarmaObj< Tcomp > * > | d_circular_coms |
| map< string, tuple< CarmaObj< Tcomp > *, int, bool > > | d_perturb_map |
| CarmaStreams * | streams |
Additional Inherited Members | |
Protected Attributes inherited from SutraController< Tcomp, Tout > | |
| mutex | comp_voltage_mutex |
this class provides the controller_cured features to COMPASS
Definition at line 48 of file sutra_controller_cured.h.
| SutraControllerCured< Tcomp, Tout >::SutraControllerCured | ( | CarmaContext * | context, |
| long | nvalid, | ||
| long | nslope, | ||
| long | nactu, | ||
| float | delay, | ||
| SutraDms * | dms, | ||
| int * | idx_dms, | ||
| int | ndm, | ||
| int * | idx_centro, | ||
| int | ncentro | ||
| ) |
| SutraControllerCured< Tcomp, Tout >::SutraControllerCured | ( | const SutraControllerCured< Tcomp, Tout > & | controller | ) |
| SutraControllerCured< Tcomp, Tout >::~SutraControllerCured | ( | ) |
|
virtual |
!!! YOU MUST set d_centroids before calling it!!!!
Implements SutraController< Tcomp, Tout >.
| int SutraControllerCured< Tcomp, Tout >::frame_delay | ( | ) |
|
virtual |
Implements SutraController< Tcomp, Tout >.
Definition at line 75 of file sutra_controller_cured.h.
| int SutraControllerCured< Tcomp, Tout >::init_cured | ( | int | nxsubs, |
| int * | isvalid, | ||
| int | ndivs, | ||
| int | tt | ||
| ) |
| CarmaObj<Tcomp>* SutraControllerCured< Tcomp, Tout >::d_cenbuff |
Definition at line 57 of file sutra_controller_cured.h.
| CarmaObj<Tcomp>* SutraControllerCured< Tcomp, Tout >::d_err |
Definition at line 56 of file sutra_controller_cured.h.
| CarmaObj<Tcomp>* SutraControllerCured< Tcomp, Tout >::d_imat |
Definition at line 60 of file sutra_controller_cured.h.
| CarmaHostObj<Tcomp>* SutraControllerCured< Tcomp, Tout >::h_centroids |
Definition at line 54 of file sutra_controller_cured.h.
| CarmaHostObj<Tcomp>* SutraControllerCured< Tcomp, Tout >::h_err |
Definition at line 55 of file sutra_controller_cured.h.
| void* SutraControllerCured< Tcomp, Tout >::h_parcure |
Definition at line 66 of file sutra_controller_cured.h.
| void* SutraControllerCured< Tcomp, Tout >::h_syscure |
Definition at line 64 of file sutra_controller_cured.h.
| int SutraControllerCured< Tcomp, Tout >::ndivs |
Definition at line 50 of file sutra_controller_cured.h.
| bool SutraControllerCured< Tcomp, Tout >::tt_flag |
Definition at line 51 of file sutra_controller_cured.h.