11 #ifndef HPP_CORBASERVER_ROBOT_IMPL_HH 12 # define HPP_CORBASERVER_ROBOT_IMPL_HH 15 # include <hpp/fcl/BVH/BVH_model.h> 19 # include "hpp/corbaserver/robot-idl.hh" 48 class Robot :
public virtual POA_hpp::corbaserver::Robot
65 const char* rootJointType,
67 const char* srdfName);
70 const char* rootJointType,
72 const char* srdfName);
75 const char* robotName,
76 const char* rootJointType,
77 const char* urdfString,
78 const char* srdfString);
81 const char* robotName,
82 const char* rootJointType,
83 const char* urdfString,
84 const char* srdfString);
93 (
const char* parentName,
const char* jointName,
const char* jointType,
125 (
const char* jointName,
152 (
const char* bodyName);
155 (
const char* bodyName);
161 CORBA::String_out report);
165 Names_t_out innerObjects,
166 Names_t_out outerObjects,
167 hpp::floatSeqSeq_out innerPoints,
168 hpp::floatSeqSeq_out outerPoints);
175 Names_t_out outerObjects,
180 const char* outerObject,
193 (
const char* polyhedronName);
196 createBox (
const char* name, Double x, Double y, Double z);
205 addPoint (
const char* polyhedronName, Double x, Double y, Double z);
209 (
const char* polyhedronName, ULong pt1, ULong pt2, ULong pt3);
213 const char* objectName,
const Transform_ config);
virtual hpp::floatSeq * getPartialCom(const char *comName)
Definition: server-plugin.hh:44
virtual hpp::floatSeq * getJointBounds(const char *jointName)
virtual hpp::floatSeq * getJointConfig(const char *jointName)
virtual void setJointBounds(const char *jointName, const hpp::floatSeq &jointBound)
Implement CORBA interface ``Obstacle''.
virtual hpp::floatSeq * shootRandomConfig()
virtual void addObjectToJoint(const char *jointName, const char *objectName, const Transform_ config)
virtual void autocollisionPairs(Names_t_out innerObjects, Names_t_out outerObjects, boolSeq_out active)
virtual void createPolyhedron(const char *polyhedronName)
virtual void setAutoCollision(const char *innerObject, const char *outerObject, bool active)
virtual Names_t * getJointInnerObjects(const char *bodyName)
sequence< floatSeq > floatSeqSeq
Definition: common.idl:33
virtual hpp::floatSeqSeq * getCurrentTransformation(const char *jointName)
virtual hpp::floatSeqSeq * getJacobianCenterOfMass()
virtual void addPartialCom(const char *comName, const Names_t &jointNames)
virtual void setCurrentConfig(const hpp::floatSeq &dofArray)
virtual Transform__slice * getLinkPosition(const char *linkName)
virtual hpp::floatSeq * getCurrentVelocity()
virtual void loadHumanoidModelFromString(const char *robotName, const char *rootJointType, const char *urdfString, const char *srdfString)
virtual Transform__slice * getRootJointPosition()
virtual hpp::floatSeq * getCenterOfMassVelocity()
virtual Long getJointNumberDof(const char *jointName)
sequence< string > Names_t
Sequence of names.
Definition: common.idl:22
virtual void setJointPositionInParentFrame(const char *jointName, const Transform_ position)
virtual TransformSeq * getLinksPosition(const floatSeq &q, const Names_t &linkName)
virtual hpp::floatSeqSeq * getJacobianPartialCom(const char *comName)
virtual void loadRobotModel(const char *robotName, const char *rootJointType, const char *urdfName, const char *srdfName)
virtual ULong addTriangle(const char *polyhedronName, ULong pt1, ULong pt2, ULong pt3)
virtual hpp::floatSeq * getCenterOfMass()
virtual char * getParentJointName(const char *jointName)
virtual void autocollisionCheck(hpp::boolSeq_out collide)
virtual Long getNumberDof()
virtual Transform__slice * getJointPositionInParentFrame(const char *jointName)
void saturate(const DevicePtr_t &robot, ConfigurationOut_t configuration)
virtual void setRootJointPosition(const Transform_ position)
virtual Names_t * getLinkNames(const char *jointName)
virtual void isConfigValid(const hpp::floatSeq &dofArray, Boolean &validity, CORBA::String_out report)
void setServer(ServerPlugin *server)
Definition: robot.impl.hh:56
virtual void distancesToCollision(hpp::floatSeq_out distances, Names_t_out innerObjects, Names_t_out outerObjects, hpp::floatSeqSeq_out innerPoints, hpp::floatSeqSeq_out outerPoints)
virtual void setCurrentVelocity(const hpp::floatSeq &qDot)
virtual void loadRobotModelFromString(const char *robotName, const char *rootJointType, const char *urdfString, const char *srdfString)
virtual hpp::floatSeq * getVelocityPartialCom(const char *comName)
virtual void setJointConfig(const char *jointName, const floatSeq &cfg)
virtual Names_t * getJointOuterObjects(const char *bodyName)
sequence< Transform_ > TransformSeq
Definition: common.idl:37
virtual void loadHumanoidModel(const char *robotName, const char *rootJointType, const char *urdfName, const char *srdfName)
virtual ULong addPoint(const char *polyhedronName, Double x, Double y, Double z)
double Transform_[7]
Element of SE(3) represented by a vector and a unit quaternion.
Definition: common.idl:36
virtual Long getJointConfigSize(const char *jointName)
virtual floatSeq * getJointVelocity(const char *jointName)
std::size_t collide(const CollisionObject *o1, const CollisionObject *o2, const CollisionRequest &request, CollisionResult &result)
hpp::pinocchio_idl::CenterOfMassComputation_ptr getCenterOfMassComputation(const char *name)
virtual char * getJointType(const char *jointName)
virtual floatSeq * getJointVelocityInLocalFrame(const char *jointName)
virtual void setExtraConfigSpaceBounds(const hpp::floatSeq &bounds)
virtual Names_t * getChildJointNames(const char *jointName)
virtual hpp::floatSeq * getCurrentConfig()
virtual char * getRobotName()
virtual ULong getDimensionExtraConfigSpace()
virtual TransformSeq * getJointsPosition(const floatSeq &q, const Names_t &jointNames)
virtual void createRobot(const char *robotName)
Definition: object-map.hh:29
virtual floatSeq * jointIntegrate(const floatSeq &jointCfg, const char *jointName, const floatSeq &dq, bool saturate)
virtual void createSphere(const char *name, Double radius)
virtual void setDimensionExtraConfigSpace(ULong dimension)
virtual Names_t * getJointTypes()
virtual void appendJoint(const char *parentName, const char *jointName, const char *jointType, const Transform_ pos)
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
virtual Names_t * getAllJointNames()
virtual void createCylinder(const char *name, Double radius, Double length)
virtual Transform__slice * getJointPosition(const char *jointName)
virtual void getObjectPosition(const char *objectName, Transform_ cfg)
virtual void createBox(const char *name, Double x, Double y, Double z)
virtual floatSeq * getRobotAABB()
virtual Names_t * getJointNames()
pinocchio::CollisionObjectConstPtr_t CollisionObjectConstPtr_t
Definition: fwd.hh:42
virtual Long getConfigSize()