18 #ifndef _GAZEBO_DARTPHYSICS_HH_
19 #define _GAZEBO_DARTPHYSICS_HH_
23 #include <boost/thread/thread.hpp>
24 #include <boost/thread/mutex.hpp>
81 public:
virtual void Load(sdf::ElementPtr _sdf);
84 public:
virtual void Init();
87 public:
virtual void Fini();
90 public:
virtual void Reset();
93 public:
virtual void InitForThread();
96 public:
virtual void UpdateCollision();
99 public:
virtual void UpdatePhysics();
102 public:
virtual std::string GetType()
const;
105 public:
virtual void SetSeed(uint32_t _seed);
114 public:
virtual CollisionPtr CreateCollision(
const std::string &_type,
118 public:
virtual JointPtr CreateJoint(
const std::string &_type,
122 public:
virtual ShapePtr CreateShape(
const std::string &_shapeType,
129 public:
virtual void DebugPrint()
const;
132 public:
virtual boost::any GetParam(
const std::string &_key)
const;
135 public:
virtual bool SetParam(
const std::string &_key,
136 const boost::any &_value);
142 public:
virtual boost::any GetParam(DARTParam _param)
const
147 public: dart::simulation::World *GetDARTWorld();
150 protected:
virtual void OnRequest(ConstRequestPtr &_msg);
153 protected:
virtual void OnPhysicsMsg(ConstPhysicsPtr &_msg);
159 const dart::dynamics::BodyNode *_dtBodyNode);
162 private: dart::simulation::World *dtWorld;