![]() |
cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
|
AO loop Control compute functions. More...
#include <time.h>#include <string.h>#include <sched.h>#include <gsl/gsl_math.h>#include <gsl/gsl_blas.h>#include <pthread.h>#include "CommandLineInterface/CLIcore.h"#include "AOloopControl/AOloopControl.h"#include "00CORE/00CORE.h"#include "info/info.h"#include "COREMOD_memory/COREMOD_memory.h"#include "COREMOD_arith/COREMOD_arith.h"#include "COREMOD_iofits/COREMOD_iofits.h"#include "AOloopControl_IOtools/AOloopControl_IOtools.h"#include <ncurses.h>
Macros | |
| #define | _GNU_SOURCE |
| #define | NB_AOloopcontrol 10 |
Functions | |
| int | AOloopControl_aorun_ProcessInit () |
| int | printstatus_AOloopControl_aorun (int loop) |
| int | AOloopControl_aorun_GUI (long loop, double frequ) |
| int | AOloopControl_aorun_FPCONF (char *fpsname, uint32_t CMDmode) |
| int | AOloopControl_aorun_RUN (char *fpsname) |
| Main loop function. More... | |
| errno_t | __attribute__ ((hot)) |
| Compute modes in open loop. More... | |
Variables | |
| static int | wcol |
| static int | wrow |
| AOLOOPCONTROL_CONF * | AOconf |
| CLI function for AOloopControl_setframesAve. More... | |
| AOloopControl_var | aoloopcontrol_var |
| static int | AOloopControl_aorun_ProcessInit_Value = 0 |
AO loop Control compute functions.
REAL TIME COMPUTING ROUTINES
| #define _GNU_SOURCE |
| #define NB_AOloopcontrol 10 |
| errno_t __attribute__ | ( | (hot) | ) |
Compute modes in open loop.
Main AO loop function
Runs the AO loop
Calls AOcompute(), which computes the correction to the applied.
Then, the correction is applied by calling set_DM_modes() if modal correction, or by direct write to the DM otherwise.
Load arrays
| int AOloopControl_aorun_FPCONF | ( | char * | fpsname, |
| uint32_t | CMDmode | ||
| ) |
| int AOloopControl_aorun_GUI | ( | long | loop, |
| double | frequ | ||
| ) |
| int AOloopControl_aorun_ProcessInit | ( | ) |
| int AOloopControl_aorun_RUN | ( | char * | fpsname | ) |
Main loop function.
| int printstatus_AOloopControl_aorun | ( | int | loop | ) |
| AOLOOPCONTROL_CONF* AOconf |
CLI function for AOloopControl_setframesAve.
|
static |
| AOloopControl_var aoloopcontrol_var |
|
static |
|
static |