We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3acc4f commit d21c092Copy full SHA for d21c092
1 file changed
src/utilities/vizSupport.py
@@ -1335,9 +1335,10 @@ def enableUnityVisualization(
1335
if thrColors:
1336
if thrColors[c] is not None:
1337
thSet.color = thrColors[c][clusterCounter]
1338
- for thrLogMsg in (
1339
- thrEff.thrusterOutMsgs
1340
- ): # loop over the THR cluster log message
+ # optionally offset the thruster positions, useful for effector branching corrections
+ if scData.parentSpacecraftName != "":
+ thSet.thrOffset = thrEff.r_PcP_P
1341
+ for thrLogMsg in (thrEff.thrusterOutMsgs): # loop over the THR cluster log message
1342
thrList.append(thrLogMsg.addSubscriber())
1343
thrInfo.append(thSet)
1344
clusterCounter += 1
0 commit comments