Skip to content
Snippets Groups Projects
Commit 63e79c14 authored by Jeremie Deray's avatar Jeremie Deray
Browse files

Motion class explicit default constructor & full args constuctor

parent f95badd3
No related branches found
No related tags found
1 merge request!90[WIP] ProcessorBase multi-threading
This commit is part of merge request !90. Comments created here will be created in the context of that merge request.
...@@ -16,12 +16,25 @@ namespace wolf { ...@@ -16,12 +16,25 @@ namespace wolf {
struct Motion struct Motion
{ {
public: public:
TimeStamp ts_; ///< Time stamp
Eigen::VectorXs delta_; ///< instantaneous motion delta Motion() = default;
Eigen::VectorXs delta_integr_; ///< the integrated motion or delta-integral
Eigen::MatrixXs delta_cov_; ///< covariance of the instantaneous delta Motion(const TimeStamp& _time_stamp,
Eigen::MatrixXs delta_integr_cov_; ///< covariance of the integrated delta const Eigen::VectorXs& _delta, const Eigen::VectorXs& _delta_integr,
const Eigen::MatrixXs& _delta_cov, const Eigen::MatrixXs& _delta_integr_cov) :
ts_(_time_stamp),
delta_(_delta), delta_integr_(_delta_integr),
delta_cov_(_delta_cov), delta_integr_cov_(_delta_integr_cov)
{
//
}
TimeStamp ts_; ///< Time stamp
Eigen::VectorXs delta_; ///< instantaneous motion delta
Eigen::VectorXs delta_integr_; ///< the integrated motion or delta-integral
Eigen::MatrixXs delta_cov_; ///< covariance of the instantaneous delta
Eigen::MatrixXs delta_integr_cov_; ///< covariance of the integrated delta
}; ///< One instance of the buffered data, corresponding to a particular time stamp. }; ///< One instance of the buffered data, corresponding to a particular time stamp.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment