コード例 #1
0
ファイル: Entity.cpp プロジェクト: lostlevels/wild-dust
Entity::Entity(const std::string &id, const std::string &type, const std::string &owner,
	int sendMode, const EntityRepresentation &representation) :
	Entity(id, type, owner, sendMode) {
	setRepresentation(representation);
}
コード例 #2
0
 /**
  * @brief JntToJacDot() will compute in the Body-fixed representation (ref Frame: end-effector, ref Point: end-effector)
  * 
  * @return void
  */
 void setBodyFixedRepresentation(){setRepresentation(BODYFIXED);}
コード例 #3
0
 /**
  * @brief JntToJacDot() will compute in the Inertial representation (ref Frame: base, ref Point: base)
  * 
  * @return void
  */
 void setInternialRepresentation(){setRepresentation(INTERTIAL);}
コード例 #4
0
 /**
  * @brief JntToJacDot() will compute in the Hybrid representation (ref Frame: base, ref Point: end-effector)
  * 
  * 
  * @return void
  */
 void setHybridRepresentation(){setRepresentation(HYBRID);}
コード例 #5
0
ファイル: Entity.cpp プロジェクト: pyridine/Roguebud
Entity::Entity(int x, int y, prototile image):inventory()
{
    setx(x);
    sety(y);
    setRepresentation(image);
}