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); }
/** * @brief JntToJacDot() will compute in the Body-fixed representation (ref Frame: end-effector, ref Point: end-effector) * * @return void */ void setBodyFixedRepresentation(){setRepresentation(BODYFIXED);}
/** * @brief JntToJacDot() will compute in the Inertial representation (ref Frame: base, ref Point: base) * * @return void */ void setInternialRepresentation(){setRepresentation(INTERTIAL);}
/** * @brief JntToJacDot() will compute in the Hybrid representation (ref Frame: base, ref Point: end-effector) * * * @return void */ void setHybridRepresentation(){setRepresentation(HYBRID);}
Entity::Entity(int x, int y, prototile image):inventory() { setx(x); sety(y); setRepresentation(image); }