vizSupport¶
-
vizSupport.
enableUnityVisualization
(scSim, simTaskName, processName, **kwargs)[source]¶ This methods creates an instance of the vizInterface() modules and setups up associated Vizard configuration setting messages.
- Parameters
scSim – variable with the simulationBaseClass copy
simTaskName – task to which to add the vizInterface module
processName – process to which to write a default zero planetary ephemeris message if this message does not exist
- Keyword Arguments
saveFile (str) – can be a single file name, or a full path + file name. In both cases a local results are stored in a local sub-folder. Default: empty string resulting in the data not being saved to a file
gravBodies – gravity Factory object. Default: no gravity bodies are included
scName (str or list(str)) – can be a single spacecraft name string, or a list of strings. Default: assumes a single craft with a default name.
numRW (int or list(int)) – number of RWs on spacecraft. If scName is a list and numRW is an integer, then the same number RW is added to each spacecraft. If numRW is a list then it must be of the same dimension as scName. Default value is zero RWs for each spacecraft.
thrDevices – list of thruster devices states for the first spacecraft
opNavMode (bool) – flag if opNaveMode should be used
liveStream (bool) – flag if live data streaming to Vizard should be used
- Returns
copy of the vizInterface instance
- Return type
vizInterface object