dynamics3d_gravity_plugin.h
Go to the documentation of this file.
1 
7 #ifndef DYNAMICS3D_GRAVITY_PLUGIN_H
8 #define DYNAMICS3D_GRAVITY_PLUGIN_H
9 
10 namespace argos {
11  class CDynamics3DBody;
12 }
13 
14 #include <argos3/plugins/simulator/physics_engines/dynamics3d/dynamics3d_plugin.h>
15 #include <argos3/plugins/simulator/physics_engines/dynamics3d/dynamics3d_model.h>
16 #include <argos3/core/utility/datatypes/datatypes.h>
17 
18 namespace argos {
19 
20  /****************************************/
21  /****************************************/
22 
24  public:
26  m_fAcceleration(10.0) {}
27 
29 
30  virtual void Init(TConfigurationNode& t_tree);
31 
32  virtual void Reset() {}
33 
34  virtual void Destroy() {}
35 
36  virtual void RegisterModel(CDynamics3DModel& c_model);
37 
38  virtual void UnregisterModel(CDynamics3DModel& c_model);
39 
40  virtual void Update();
41 
42  private:
43 
44  btScalar m_fAcceleration;
45  std::vector<std::shared_ptr<CDynamics3DModel::CAbstractBody> > m_vecTargets;
46  };
47 
48  /****************************************/
49  /****************************************/
50 
51 }
52 
53 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void Init(TConfigurationNode &t_tree)
virtual void UnregisterModel(CDynamics3DModel &c_model)
virtual void RegisterModel(CDynamics3DModel &c_model)