mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Moved definition of the static Transform::getIdentity() method in header file in order to fix issue 5
This commit is contained in:
@@ -96,7 +96,10 @@ public:
|
||||
bool operator==(const Transform & t) const;
|
||||
bool operator!=(const Transform & t) const;
|
||||
|
||||
static Transform getIdentity();
|
||||
static Transform getIdentity()
|
||||
{
|
||||
return Transform(1,0,0,0, 0,1,0,0, 0,0,1,0);
|
||||
}
|
||||
|
||||
private:
|
||||
std::vector<float> data_;
|
||||
|
||||
Reference in New Issue
Block a user