Lines Matching refs:attitude

19 from kinematics import attitude
27 np.testing.assert_allclose(attitude.hat_map(self.x).dot(self.x), np.zeros(3))
30 np.testing.assert_allclose(attitude.hat_map(self.x).T, -attitude.hat_map(self.x))
33 np.testing.assert_allclose(attitude.vee_map(attitude.hat_map(self.x)), self.x)
36 np.testing.assert_allclose(attitude.hat_map(self.x).dot(self.y), np.cross(self.x, self.y))
37 …np.testing.assert_allclose(attitude.hat_map(self.x).dot(self.y), -attitude.hat_map(self.y).dot(sel…
44 mat = attitude.rot1(self.angle)
48 mat = attitude.rot2(self.angle)
52 mat = attitude.rot3(self.angle)
56 mat = attitude.rot1(self.angle)
60 mat = attitude.rot2(self.angle)
64 mat = attitude.rot3(self.angle)
68 mat = attitude.rot1(self.angle, 'r')
72 mat = attitude.rot2(self.angle, 'r')
76 mat = attitude.rot3(self.angle, 'r')
80 mat = attitude.rot1(self.angle, 'r')
84 mat = attitude.rot2(self.angle, 'r')
88 mat = attitude.rot3(self.angle, 'r')
99 R1 = attitude.rot1(angle, 'c')
100 R2 = attitude.rot2(angle, 'c')
101 R3 = attitude.rot3(angle, 'c')
103 R1_row = attitude.rot1(angle, 'r')
104 R2_row = attitude.rot2(angle, 'r')
105 R3_row = attitude.rot3(angle, 'r')
144 R1 = attitude.rot1(0, 'x')
145 R2 = attitude.rot2(0, 'x')
146 R3 = attitude.rot3(0, 'x')
160 R = attitude.rot1(angle)
163 …np.testing.assert_array_almost_equal(attitude.rot1(self.angle), attitude.axisangletodcm(self.angle…
166 angle, axis = attitude.dcmtoaxisangle(self.R)
172 dcm = attitude.rot1(angle)
173 quat = attitude.dcmtoquat(dcm)
176 quat_identity = attitude.dcmtoquat(dcm_identity)
182 np.testing.assert_array_almost_equal(attitude.quattodcm(self.quat),
195 actual = attitude.normalize(-180, -180, 180)
200 actual = attitude.normalize(180, -180, 180)
205 actual = attitude.normalize(181, -180, 180)
210 actual = attitude.normalize(-181, -180, 180)
216 actual = attitude.normalize(angles, 0, 180)
223 qhat = attitude.unit_vector(q)