18 #ifndef _GAZEBO_DARTPHYSICS_HH_    19 #define _GAZEBO_DARTPHYSICS_HH_    23 #include <boost/thread/thread.hpp>    24 #include <boost/thread/mutex.hpp>    39     class DARTPhysicsPrivate;
    85       public: 
virtual void Load(sdf::ElementPtr _sdf);
    88       public: 
virtual void Init();
    91       public: 
virtual void Fini();
    94       public: 
virtual void Reset();
    97       public: 
virtual void InitForThread();
   100       public: 
virtual void UpdateCollision();
   103       public: 
virtual void UpdatePhysics();
   106       public: 
virtual std::string GetType() 
const;
   109       public: 
virtual void SetSeed(uint32_t _seed);
   118       public: 
virtual CollisionPtr CreateCollision(
const std::string &_type,
   122       public: 
virtual JointPtr CreateJoint(
const std::string &_type,
   126       public: 
virtual ShapePtr CreateShape(
const std::string &_shapeType,
   133       public: 
virtual void DebugPrint() 
const;
   136       public: 
virtual boost::any GetParam(
const std::string &_key) 
const;
   139       public: 
virtual bool GetParam(
const std::string &_key,
   140                   boost::any &_value) 
const;
   143       public: 
virtual bool SetParam(
const std::string &_key,
   144                   const boost::any &_value);
   148       public: dart::simulation::World *GetDARTWorld();
   151       protected: 
virtual void OnRequest(ConstRequestPtr &_msg);
   154       protected: 
virtual void OnPhysicsMsg(ConstPhysicsPtr &_msg);
   160           const dart::dynamics::BodyNode *_dtBodyNode);
   164       private: DARTPhysicsPrivate *dataPtr;
 boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
 
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:84
 
Forward declarations for the common classes. 
Definition: Animation.hh:33
 
The Vector3 class represents the generic vector containing 3 elements. 
Definition: Vector3.hh:39
 
Base class for a physics engine. 
Definition: PhysicsEngine.hh:40
 
DART physics engine. 
Definition: DARTPhysics.hh:47
 
DARTParam
DART physics parameter types. 
Definition: DARTPhysics.hh:51
 
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:108
 
boost::shared_ptr< DARTLink > DARTLinkPtr
Definition: DARTTypes.hh:45
 
DART wrapper forward declarations and typedefs. 
 
boost::shared_ptr< Shape > ShapePtr
Definition: PhysicsTypes.hh:132
 
Maximum number of contacts. 
Definition: DARTPhysics.hh:72
 
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:88
 
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message. 
 
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
 
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72