Skip to content
Snippets Groups Projects
Commit 3f8f464a authored by Idril-Tadzio Geer Cousté's avatar Idril-Tadzio Geer Cousté
Browse files

added assert

parent 6d9c4c2f
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ double SensorOdom2d::getRotVarToRotNoiseFactor() const
Eigen::Matrix2d SensorOdom2d::computeCovFromMotion (const VectorXd& _data) const
{
assert(_data.size() == 2);
double d = fabs(_data(0));
double r = fabs(_data(1));
......
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