Skip to content
Snippets Groups Projects

Resolve "Remove all methods `ProcessorMotion::interpolate(...)`"

8 files
+ 871
871
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -402,39 +402,39 @@ class ProcessorMotion : public ProcessorBase
*/
virtual Eigen::VectorXs deltaZero() const = 0;
/** \brief Interpolate motion to an intermediate time-stamp
*
* @param _ref The motion reference
* @param _second The second motion. It is modified by the function (see documentation below).
* @param _ts The intermediate time stamp: it must be bounded by `_ref.ts_ <= _ts <= _second.ts_`.
* @return The interpolated motion (see documentation below).
*
* This function interpolates a motion between two existing motions.
*
* In this base implementation, we just provide the closest motion provided (ref or second),
* so really no interpolation takes place and just the current data and delta are updated.
*
* Should you require finer interpolation, you must overload this method in your derived class.
*/
virtual Motion interpolate(const Motion& _ref, Motion& _second, TimeStamp& _ts);
/** \brief Interpolate motion to an intermediate time-stamp
*
* @param _ref1 The first motion reference
* @param _ref2 The second motion reference.
* @param _ts The intermediate time stamp: it must be bounded by `_ref.ts_ <= _ts <= _second.ts_`.
* @param _second The second part motion after interpolation, so that return (+) second = ref2.
* @return The interpolated motion (see documentation below).
*
* This function interpolates a motion between two existing motions.
*
* In this base implementation, we just provide the closest motion provided (ref1 or ref2),
* the second motion being the complementary part,
* so really no interpolation takes place and just the current data and delta are updated.
*
* Should you require finer interpolation, you must overload this method in your derived class.
*/
virtual Motion interpolate(const Motion& _ref1, const Motion& _ref2, const TimeStamp& _ts, Motion& _second);
// /** \brief Interpolate motion to an intermediate time-stamp
// *
// * @param _ref The motion reference
// * @param _second The second motion. It is modified by the function (see documentation below).
// * @param _ts The intermediate time stamp: it must be bounded by `_ref.ts_ <= _ts <= _second.ts_`.
// * @return The interpolated motion (see documentation below).
// *
// * This function interpolates a motion between two existing motions.
// *
// * In this base implementation, we just provide the closest motion provided (ref or second),
// * so really no interpolation takes place and just the current data and delta are updated.
// *
// * Should you require finer interpolation, you must overload this method in your derived class.
// */
// virtual Motion interpolate(const Motion& _ref, Motion& _second, TimeStamp& _ts);
// /** \brief Interpolate motion to an intermediate time-stamp
// *
// * @param _ref1 The first motion reference
// * @param _ref2 The second motion reference.
// * @param _ts The intermediate time stamp: it must be bounded by `_ref.ts_ <= _ts <= _second.ts_`.
// * @param _second The second part motion after interpolation, so that return (+) second = ref2.
// * @return The interpolated motion (see documentation below).
// *
// * This function interpolates a motion between two existing motions.
// *
// * In this base implementation, we just provide the closest motion provided (ref1 or ref2),
// * the second motion being the complementary part,
// * so really no interpolation takes place and just the current data and delta are updated.
// *
// * Should you require finer interpolation, you must overload this method in your derived class.
// */
// virtual Motion interpolate(const Motion& _ref1, const Motion& _ref2, const TimeStamp& _ts, Motion& _second);
/** \brief emplace a CaptureMotion
* \param _ts time stamp
Loading