···6363m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation const *in_relation, int64_t timestamp);
64646565/*!
6666- * Interpolates or extrapolates to the desired timestamp.
6666+ * Pushes a new pose to the history, estimating linear and angular velocity based on the previous entry.
6767 *
6868- * Read-only operation - doesn't remove anything from the buffer or anything like that - you can call this as often as
6969- * you want.
6868+ * If the history is full, it will also pop a pose out of the other side of the buffer.
6969+ *
7070+ * @return false if the timestamp is earlier than the most recent timestamp already recorded
7071 *
7172 * @public @memberof m_relation_history
7273 */
7373-enum m_relation_history_result
7474-m_relation_history_get(const struct m_relation_history *rh,
7575- int64_t at_timestamp_ns,
7676- struct xrt_space_relation *out_relation);
7474+bool
7575+m_relation_history_push_with_motion_estimation(struct m_relation_history *rh,
7676+ struct xrt_space_relation const *in_relation,
7777+ int64_t timestamp);
77787879/*!
7979- * Estimates the movement (velocity and angular velocity) of a new relation based on
8080- * the latest relation found in the buffer (as returned by m_relation_history_get_latest).
8080+ * Interpolates or extrapolates to the desired timestamp.
8181 *
8282- * Read-only on m_relation_history and in_relation.
8383- * Copies in_relation->pose to out_relation->pose, and writes new flags and linear/angular velocities to
8484- * out_relation->pose. OK to alias in_relation and out_relation.
8282+ * Read-only operation - doesn't remove anything from the buffer or anything like that - you can call this as often
8383+ * as you want.
8584 *
8685 * @public @memberof m_relation_history
8786 */
8888-bool
8989-m_relation_history_estimate_motion(struct m_relation_history *rh,
9090- const struct xrt_space_relation *in_relation,
9191- int64_t timestamp,
9292- struct xrt_space_relation *out_relation);
8787+enum m_relation_history_result
8888+m_relation_history_get(const struct m_relation_history *rh,
8989+ int64_t at_timestamp_ns,
9090+ struct xrt_space_relation *out_relation);
93919492/*!
9593 * Get the latest report in the buffer, if any.