@@ -176,32 +176,6 @@ class GTSAM_EXPORT PreintegratedRotation {
176176
177177 // / @}
178178
179- // / @name Internal, exposed for testing only
180- // / @{
181-
182- /* *
183- * @brief Function object for incremental rotation.
184- * @param measuredOmega The measured angular velocity (as given by the sensor)
185- * @param deltaT The time interval over which the rotation is integrated.
186- * @param body_P_sensor Optional transform between body and IMU.
187- */
188- struct IncrementalRotation {
189- const Vector3& measuredOmega;
190- const double deltaT;
191- const std::optional<Pose3>& body_P_sensor;
192-
193- /* *
194- * @brief Integrate angular velocity, but corrected by bias.
195- * @param bias The bias estimate
196- * @param H_bias Jacobian of the rotation w.r.t. bias.
197- * @return The incremental rotation
198- */
199- Rot3 operator ()(const Vector3& bias,
200- OptionalJacobian<3 , 3 > H_bias = {}) const ;
201- };
202-
203- // / @}
204-
205179 // / @name Deprecated API
206180 // / @{
207181
@@ -250,4 +224,28 @@ class GTSAM_EXPORT PreintegratedRotation {
250224template <>
251225struct traits <PreintegratedRotation> : public Testable<PreintegratedRotation> {};
252226
227+ namespace internal {
228+ /* *
229+ * @brief Function object for incremental rotation.
230+ * @param measuredOmega The measured angular velocity (as given by the sensor)
231+ * @param deltaT The time interval over which the rotation is integrated.
232+ * @param body_P_sensor Optional transform between body and IMU.
233+ */
234+ struct IncrementalRotation {
235+ const Vector3& measuredOmega;
236+ const double deltaT;
237+ const std::optional<Pose3>& body_P_sensor;
238+
239+ /* *
240+ * @brief Integrate angular velocity, but corrected by bias.
241+ * @param bias The bias estimate
242+ * @param H_bias Jacobian of the rotation w.r.t. bias.
243+ * @return The incremental rotation
244+ */
245+ Rot3 operator ()(const Vector3& bias,
246+ OptionalJacobian<3 , 3 > H_bias = {}) const ;
247+ };
248+
249+ } // namespace internal
250+
253251} // / namespace gtsam
0 commit comments