41 from typing
import Union
47 """ RTC handler for compass standalone
50 def __init__(self, context: carmaWrap_context, config, nwfs: int, nvalid: list,
51 nactu: int, centroider_type: list, delay: list, offset: list,
52 scale: list, *, brahma: bool =
False, fp16: bool =
False,
54 """ Initialize a RtcStandalone component for rtc related supervision
57 context : (carmaContext) : CarmaContext instance
59 config : (config module) : Parameters configuration structure module
61 nwfs: (int): number of wavefront sensors
63 nvalid: (int): number of valid measures as input
65 nactu: (int): number of actuators as output
67 centroider_type: (list): type of centroiders
69 delay: (list): delay of each controller
71 offset: (list): offset added in the cog computation of each WFS
73 scale: (list): scale factor used in the cog computation of each WFS
76 brahma : (bool, optional) : If True, enables BRAHMA features in RTC (Default is False)
77 Requires BRAHMA to be installed
79 fp16 : (bool, optional) : If True, enables FP16 features in RTC (Default is False)
80 Requires CUDA_SM>60 to be installed
82 cacao : (bool) : If True, enables CACAO features in RTC (Default is False)
83 Requires OCTOPUS to be installed
85 RtcAbstract.__init__(self, context, config, brahma=brahma, fp16=fp16,
88 self.
rtc_initrtc_initrtc_init(nwfs, nvalid, nactu, centroider_type, delay, offset, scale)
90 def rtc_init(self, nwfs: int, nvalid: list, nactu: int, centroider_type: list,
91 delay: list, offset: list, scale: list):
92 """ Initialize a RtcStandalone component for rtc related supervision
95 nwfs: (int): number of wavefront sensors
97 nvalid: (int): number of valid measures as input
99 nactu: (int): number of actuators as output
101 centroider_type: (list): type of centroiders
103 delay: (list): delay of each controller
105 offset: (list): offset added in the cog computation of each WFS
107 scale: (list): scale factor used in the cog computation of each WFS
109 self.
_rtc_rtc_rtc = rtc_standalone(self.
_context_context, nwfs, nvalid, nactu, centroider_type,
110 delay, offset, scale, brahma=self.
brahmabrahma,
111 fp16=self.
fp16fp16, cacao=self.
cacaocacao)
RTC handler for compass simulation.
brahma
(bool) : BRAHMA features enabled in the RTC
cacao
(bool) : CACAO features enabled in the RTC
fp16
(bool) : FP16 features enabled in the RTC
RTC handler for compass standalone.
def rtc_init(self, int nwfs, list nvalid, int nactu, list centroider_type, list delay, list offset, list scale)
Initialize a RtcStandalone component for rtc related supervision.
def __init__(self, carmaWrap_context context, config, int nwfs, list nvalid, int nactu, list centroider_type, list delay, list offset, list scale, *bool brahma=False, bool fp16=False, bool cacao=False)
Initialize a RtcStandalone component for rtc related supervision.
Numerical constants for shesha and config enumerations for safe-typing.
Initialization of a Rtc object.