Skip to content

Commit 983b3ac

Browse files
committed
removed unneeded "get_velocity" function
1 parent ad4b7fa commit 983b3ac

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

core/src/strapdown.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -427,14 +427,6 @@ impl StrapdownState {
427427
]
428428
}
429429
}
430-
pub fn get_velocity(&self) -> Vector3<f64> {
431-
if self.coordinate_convention {
432-
Vector3::new(self.velocity_north, self.velocity_east, self.velocity_down)
433-
} else {
434-
// ENU convention: North is East, East is North, Down is negative
435-
Vector3::new(self.velocity_east, self.velocity_north, -self.velocity_down)
436-
}
437-
}
438430
}
439431
/// NED form of the forward kinematics equations. Corresponds to section 5.4 Local-Navigation Frame Equations
440432
/// from the book _Principles of GNSS, Inertial, and Multisensor Integrated Navigation Systems, Second Edition_

0 commit comments

Comments
 (0)