|
virtual void | actuateRobotJoints (const std::string &robotName, const std::map< std::string, float > &angles, const std::map< std::string, float > &velocities) override |
|
virtual void | actuateRobotJointsPos (const std::string &robotName, const std::map< std::string, float > &angles) override |
|
virtual void | actuateRobotJointsTorque (const std::string &robotName, const std::map< std::string, float > &torques) override |
|
virtual void | actuateRobotJointsVel (const std::string &robotName, const std::map< std::string, float > &velocities) override |
|
virtual void | applyForceObject (const std::string &objectName, const Eigen::Vector3f &force) override |
|
virtual void | applyForceRobotNode (const std::string &robotName, const std::string &robotNodeName, const Eigen::Vector3f &force) override |
|
virtual void | applyTorqueObject (const std::string &objectName, const Eigen::Vector3f &torque) override |
|
virtual void | applyTorqueRobotNode (const std::string &robotName, const std::string &robotNodeName, const Eigen::Vector3f &torque) override |
|
virtual std::vector< SimDynamics::DynamicsEngine::DynamicsContactInfo > | copyContacts () override |
|
virtual DistanceInfo | getDistance (const std::string &robotName, const std::string &robotNodeName, const std::string &worldObjectName) override |
|
virtual int | getFixedTimeStepMS () override |
|
virtual Eigen::Matrix4f | getObjectPose (const std::string &objectName) override |
|
virtual std::vector< VirtualRobot::SceneObjectPtr > | getObjects () override |
|
virtual std::vector< std::string > | getObstacleNames () override |
|
virtual VirtualRobot::RobotPtr | getRobot (const std::string &robotName) override |
|
virtual Eigen::Vector3f | getRobotAngularVelocity (const std::string &robotName, const std::string &nodeName) override |
|
virtual ForceTorqueDataSeq | getRobotForceTorqueSensors (const std::string &robotName) override |
|
virtual float | getRobotJointAngle (const std::string &robotName, const std::string &nodeName) override |
|
virtual std::map< std::string, float > | getRobotJointAngles (const std::string &robotName) override |
|
virtual float | getRobotJointLimitHi (const std::string &robotName, const std::string &nodeName) override |
|
virtual float | getRobotJointLimitLo (const std::string &robotName, const std::string &nodeName) override |
|
virtual std::map< std::string, float > | getRobotJointTorques (const std::string &robotName) override |
|
virtual std::map< std::string, float > | getRobotJointVelocities (const std::string &robotName) override |
|
virtual float | getRobotJointVelocity (const std::string &robotName, const std::string &nodeName) override |
|
virtual Eigen::Vector3f | getRobotLinearVelocity (const std::string &robotName, const std::string &nodeName) override |
|
virtual float | getRobotMass (const std::string &robotName) override |
|
virtual float | getRobotMaxTorque (const std::string &robotName, const std::string &nodeName) override |
|
virtual std::vector< std::string > | getRobotNames () override |
|
virtual DistanceInfo | getRobotNodeDistance (const std::string &robotName, const std::string &robotNodeName1, const std::string &robotNodeName2) override |
|
virtual Eigen::Matrix4f | getRobotNodePose (const std::string &robotName, const std::string &robotNodeName) override |
|
virtual Eigen::Matrix4f | getRobotPose (const std::string &robotName) override |
|
virtual std::map< std::string, VirtualRobot::RobotPtr > | getRobots () override |
|
virtual bool | hasObject (const std::string &instanceName) override |
|
virtual bool | hasRobot (const std::string &robotName) override |
|
virtual bool | hasRobotNode (const std::string &robotName, const std::string &robotNodeName) override |
|
void | initialize (int stepTimeMs, bool floorEnabled, const std::string &floorTexture) |
| Initialize *this . More...
|
|
| MujocoPhysicsWorld () |
|
virtual void | setObjectPose (const std::string &objectName, const Eigen::Matrix4f &globalPose) override |
|
virtual void | setObjectSimType (const std::string &objectName, VirtualRobot::SceneObject::Physics::SimulationType simType) override |
|
virtual void | setRobotAngularVelocity (const std::string &robotName, const std::string &robotNodeName, const Eigen::Vector3f &vel) override |
|
virtual void | setRobotAngularVelocityRobotRootFrame (const std::string &robotName, const std::string &robotNodeName, const Eigen::Vector3f &vel) override |
|
virtual void | setRobotLinearVelocity (const std::string &robotName, const std::string &robotNodeName, const Eigen::Vector3f &vel) override |
|
virtual void | setRobotLinearVelocityRobotRootFrame (const std::string &robotName, const std::string &robotNodeName, const Eigen::Vector3f &vel) override |
|
virtual void | setRobotMaxTorque (const std::string &robotName, const std::string &nodeName, float maxTorque) override |
|
virtual void | setRobotNodeSimType (const std::string &robotName, const std::string &robotNodeName, VirtualRobot::SceneObject::Physics::SimulationType simType) override |
|
virtual void | setRobotPose (const std::string &robotName, const Eigen::Matrix4f &globalPose) override |
|
virtual void | stepPhysicsFixedTimeStep () override |
| Perform one simulation step. More...
|
|
virtual void | stepPhysicsRealTime () override |
| Perform one simulation step. More...
|
|
virtual FramedPosePtr | toFramedPose (const Eigen::Matrix4f &globalPose, const std::string &robotName, const std::string &frameName) override |
| toFramedPose Constructs a framed pose More...
|
|
virtual | ~MujocoPhysicsWorld () override=default |
|
virtual void | activateObject (const std::string &objectName) |
|
virtual VirtualRobot::RobotPtr | adaptRobotToWorld (VirtualRobot::RobotPtr) |
|
virtual bool | addObstacle (const std::string &filename, const Eigen::Matrix4f &pose=Eigen::Matrix4f::Identity(), VirtualRobot::SceneObject::Physics::SimulationType simType=VirtualRobot::SceneObject::Physics::eUnknown, const std::string &localFilename="") |
| Load and add an Obstacle (VirtualRobot xml file). More...
|
|
virtual bool | addObstacle (VirtualRobot::SceneObjectPtr o, VirtualRobot::SceneObject::Physics::SimulationType simType=VirtualRobot::SceneObject::Physics::eUnknown, const std::string &filename="", const std::string &objectClassName="", ObjectVisuPrimitivePtr primitiveData={}, const std::string &project="") |
|
virtual bool | addRobot (std::string &robotInstanceName, const std::string &filename, Eigen::Matrix4f pose=Eigen::Matrix4f::Identity(), const std::string &filenameLocal="", double pid_p=10.0, double pid_i=0, double pid_d=0, bool staticRobot=false, float scaling=1.0f, bool colModel=false, const std::map< std::string, float > &initConfig={}, bool selfCollisions=false) |
| Load and add a robot. More...
|
|
virtual bool | addRobot (VirtualRobot::RobotPtr robot, double pid_p, double pid_i, double pid_d, const std::string &filename, bool staticRobot=false, float scaling=1.0f, bool colModel=false, bool selfCollisions=false) |
|
virtual bool | addScene (const std::string &filename, VirtualRobot::SceneObject::Physics::SimulationType simType=VirtualRobot::SceneObject::Physics::eUnknown) |
| Load and add an Scene (VirtualRobot xml file). More...
|
|
virtual bool | addScene (VirtualRobot::ScenePtr scene, VirtualRobot::SceneObject::Physics::SimulationType simType=VirtualRobot::SceneObject::Physics::eUnknown) |
|
virtual SimulatedWorldData | copyReportData () |
|
virtual SceneVisuData | copySceneVisuData () |
| copySceneVisuData Creates a copy of the visualization data More...
|
|
virtual void | enableLogging (const std::string &robotName, const std::string &logFile) |
|
virtual double | getCurrentSimTime () |
|
virtual int | getObjectCount () |
|
virtual SimulatedWorldData & | getReportData () |
|
virtual int | getRobotJointAngleCount () |
|
virtual ScopedRecursiveLockPtr | getScopedEngineLock (const std::string &callStr) |
|
virtual ScopedRecursiveLockPtr | getScopedSyncLock (const std::string &callStr) |
|
virtual float | getSimTime () |
|
virtual float | getSimulationStepDuration () |
| getSimulationStepDuration More...
|
|
virtual float | getSimulationStepTimeMeasured () |
| getSimulationStepTimeMeasured More...
|
|
virtual float | getSyncEngineTime () |
|
virtual void | objectGrasped (const std::string &robotName, const std::string &robotNodeName, const std::string &objectName) |
| create a joint More...
|
|
virtual void | objectReleased (const std::string &robotName, const std::string &robotNodeName, const std::string &objectName) |
| remove a joint More...
|
|
virtual bool | removeObstacle (const std::string &name) |
|
virtual bool | removeObstacles () |
|
virtual bool | removeRobot (const std::string &robotName) |
|
virtual bool | removeRobots () |
|
virtual bool | resetData () |
| resetData Clears all data More...
|
|
virtual void | resetSimTime () |
|
virtual void | setupFloor (bool enable, const std::string &floorTexture) |
|
| SimulatedWorld () |
|
virtual bool | synchronizeSimulationData () |
| synchronizeSimulationData Update the sim data according to the internal physics models. More...
|
|
virtual void | updateContacts (bool enable) |
|
virtual | ~SimulatedWorld () override=default |
|
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
| disables the logging for the current line for the given amount of seconds. More...
|
|
MessageTypeT | getEffectiveLoggingLevel () const |
|
| Logging () |
|
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
|
|
void | setTag (const LogTag &tag) |
|
void | setTag (const std::string &tagName) |
|
virtual | ~Logging () |
|
|
virtual bool | addObstacleEngine (VirtualRobot::SceneObjectPtr o, VirtualRobot::SceneObject::Physics::SimulationType simType) override |
|
virtual bool | addRobotEngine (VirtualRobot::RobotPtr robot, double pid_p, double pid_i, double pid_d, const std::string &filename, bool staticRobot, bool selfCollisions) override |
|
virtual int | getContactCount () override |
|
virtual VirtualRobot::SceneObjectPtr | getFloor () override |
|
virtual bool | getRobotStatus (const std::string &robotName, NameValueMap &jointAngles, NameValueMap &jointVelocities, NameValueMap &jointTorques, Eigen::Vector3f &linearVelocity, Eigen::Vector3f &angularVelocity) override |
|
virtual bool | objectGraspedEngine (const std::string &robotName, const std::string &robotNodeName, const std::string &objectName, Eigen::Matrix4f &storeLocalTransform) override |
| create a joint More...
|
|
virtual bool | objectReleasedEngine (const std::string &robotName, const std::string &robotNodeName, const std::string &objectName) override |
| remove a joint More...
|
|
virtual void | onLoadModel (mujoco::Model &model) override |
| Sets time step and fetches entity IDs. More...
|
|
virtual void | onMakeData (mujoco::Model &model, mujoco::Data &data) override |
|
virtual bool | removeObstacleEngine (const std::string &name) override |
|
virtual bool | removeRobotEngine (const std::string &robotName) override |
|
virtual void | setupFloorEngine (bool enable, const std::string &floorTexture) override |
|
virtual bool | synchronizeObjects () override |
|
virtual bool | synchronizeRobotNodePoses (const std::string &robotName, std::map< std::string, PoseBasePtr > &objMap) override |
|
virtual bool | synchronizeSceneObjectPoses (VirtualRobot::SceneObjectPtr currentObjEngine, std::map< std::string, PoseBasePtr > &objMap) override |
|
virtual bool | synchronizeSimulationDataEngine () override |
| According to other SimulatedWorlds, this method's only job is to update contacts. More...
|
|
virtual bool | updateForceTorqueSensor (ForceTorqueInfo &ftInfo) override |
|
virtual bool | synchronizeRobotNodePoses (const std::string &robotName, std::map< std::string, armarx::PoseBasePtr > &objMap)=0 |
|
virtual bool | synchronizeRobots () |
|
virtual bool | synchronizeSceneObjectPoses (VirtualRobot::SceneObjectPtr currentObjEngine, std::map< std::string, armarx::PoseBasePtr > &objMap)=0 |
|
bool | checkLogLevel (MessageTypeT level) const |
|
const LogSenderPtr & | getLogSender () const |
| Retrieve log sender. More...
|
|
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
|