GAMS  1.4.0
VREPQuadCDRA.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_PLATFORM_VREP_QUAD_CDRA_H_
55 #define _GAMS_PLATFORM_VREP_QUAD_CDRA_H_
56 
60 #include "gams/variables/Self.h"
61 #include "gams/variables/Sensor.h"
63 #include "madara/knowledge/KnowledgeBase.h"
64 #include "madara/threads/Threader.h"
65 #include "madara/threads/BaseThread.h"
66 #include "madara/knowledge/containers/NativeDoubleVector.h"
67 
68 extern "C" {
69 #include "extApi.h"
70 }
71 
72 #ifdef _GAMS_VREP_
73 
74 namespace gams
75 {
76  namespace platforms
77  {
84  class GAMS_EXPORT VREPQuadCDRA : public VREPQuad
85  {
86  public:
87  const static std::string DEFAULT_MODEL;
88 
98  VREPQuadCDRA(
99  std::string model_file,
100  simxUChar is_client_side,
101  madara::knowledge::KnowledgeBase * knowledge,
102  variables::Sensors * sensors,
103  variables::Platforms * platforms,
104  variables::Self * self);
105 
111  virtual std::string get_id() const;
112 
116  virtual std::string get_name() const;
117  }; // class VREPQuadCDRA
118 
122  class GAMS_EXPORT VREPQuadCDRAFactory : public VREPQuadFactory
123  {
124  protected:
125  virtual std::string get_default_model();
126  using VREPQuadFactory::get_default_model;
127 
138  virtual VREPQuadCDRA *create_quad(
139  std::string model_file,
140  simxUChar is_client_side,
141  madara::knowledge::KnowledgeBase * knowledge,
142  variables::Sensors * sensors,
143  variables::Platforms * platforms,
144  variables::Self * self);
145  };
146  } // namespace platform
147 } // namespace gams
148 
149 #endif // _GAMS_VREP_
150 
151 #endif // _GAMS_PLATFORM_VREP_QUAD_CDRA_H_
#define GAMS_EXPORT
Definition: GamsExport.h:20
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
std::map< std::string, PlatformStatus > Platforms
a map of sensor names to the sensor information
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Definition: Sensor.h:238
Contains all GAMS-related tools, classes and code.