Skip to content

Commit a5b0e53

Browse files
committed
Randomize dcm_MB in unit test
1 parent e154e62 commit a5b0e53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fswAlgorithms/effectorInterfaces/thrusterPlatformReference/_UnitTest/test_thrusterPlatformReference.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ def platformRotationTestFunction(show_plots, delta_CM, K, thetaMax, seed, accura
9191

9292
random.seed(seed)
9393

94-
sigma_MB = np.array([0., 0., 0.])
94+
euler_angles_123 = np.array([5.0 * macros.D2R, 10.0 * macros.D2R, 0.0])
95+
sigma_MB = np.array(rbk.euler1232MRP(euler_angles_123))
9596
r_BM_M = np.array([0.0, 0.1, 1.4])
9697
r_FM_F = np.array([0.0, 0.0, -0.1])
9798
r_TF_F = np.array([-0.01, 0.03, 0.02])

0 commit comments

Comments
 (0)