Commits

John Hsu committed 002738d

issue #333, try to fix by initializing Entity::worldPose

Comments (0)

Files changed (1)

gazebo/physics/Entity.cc

 Entity::Entity(BasePtr _parent)
   : Base(_parent)
 {
+  this->worldPose = math::Pose(math::Vector3(0, 0, 0),
+                               math::Quaternion(0, 0, 0));
   this->isCanonicalLink = false;
   this->node = transport::NodePtr(new transport::Node());
   this->AddType(ENTITY);