Increased version 0.10.5: Added unknownSpaceFilled parameter to occupancy2DFromLaserScan()

This commit is contained in:
matlabbe
2015-08-09 13:31:05 -04:00
parent e4d5282e6f
commit 25e7b4a5c6
4 changed files with 10 additions and 6 deletions

View File

@@ -187,8 +187,10 @@ struct Transformation2{
}
/** Constructor that sets the translation and rotation **/
Transformation2 (const T& _theta, const Vector2<T>& trans):
Transformation2(trans.x(), trans.y(), _theta){}
Transformation2 (const T& _theta, const Vector2<T>& trans){
setRotation(_theta);
setTranslation(trans.x(), trans.y());
}
/** Copy constructor **/