Skip to content

Commit f01be8e

Browse files
simplify euler
1 parent 4714c96 commit f01be8e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/smsfusion/_smoothing.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,6 @@ def euler(self, degrees: bool = False) -> NDArray:
226226
Euler angles estimates for each of the N time steps where the smoother has
227227
been updated with measurements.
228228
"""
229-
x = self.x
230-
if x.size == 0:
231-
return np.array([])
232229
theta = np.array([_euler_from_quaternion(q) for q in self.quaternion()])
233230

234231
if degrees:

0 commit comments

Comments
 (0)