AnimatLab  2
Test
Libraries/RoboticsAnimatSim/StdAfx.h
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently, but
3 // are changed infrequently
4 //
5 
6 #pragma once
7 
8 #ifdef WIN32
9  #define _SCL_SECURE_NO_WARNINGS
10  #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11  // Windows Header Files:
12  #include <windows.h>
13 
14  #define ROBOTICS_PORT __declspec( dllexport )
15  #define ARDUINO_PORT __declspec( dllimport )
16 #else
17  #define ROBOTICS_PORT
18  #define ARDUINO_PORT
19 #endif
20 
21 //#define STD_TRACING_ON
22 
23 #include "StdUtils.h"
24 #include "AnimatSim.h"
25 
26 //Include the timer code and openthreads code from osg
27 #include <osg/Timer>
28 #include <OpenThreads/Thread>
29 
30 #include "RoboticsAnimatSimConstants.h"
31 #include "dynamixel.h"
32 
33 #include "ofArduino.h"
34 
35 //Simulation Objects
36 namespace RoboticsAnimatSim
37 {
38  class RbClassFactory;
39  class RbSimulator;
40 
41  namespace Environment
42  {
43  class RbJoint;
44  class RbMotorizedJoint;
45  class RbMaterialType;
48  class RbRigidBody;
49 
50  namespace Bodies
51  {
52  class RbBox;
53  class RbCone;
54  class RbCylinder;
55  class RbLinearHillMuscle;
57  class RbPlane;
58  class RbSphere;
59  class RbSpring;
60  }
61 
62  namespace Joints
63  {
64  class RbBallSocket;
65  class RbHinge;
66  class RbHingeLimit;
67  class RbPrismatic;
68  class RbPrismaticLimit;
69  }
70  }
71 
72  namespace ExternalStimuli
73  {
74  class RbForceStimulus;
75  class RbMotorVelocityStimulus;
76  }
77 
78  namespace Robotics
79  {
80  namespace RobotInterfaces
81  {
83  }
84 
85  namespace RobotIOControls
86  {
87  class RbDynamixelServo;
89 
90  namespace DynamixelUSB
91  {
92  class RbDynamixelUSB;
93  class RbDynamixelUSBServo;
94  class RbDynamixelUSBHinge;
95  class RbDynamixelUSBPrismatic;
96  }
97 
98  namespace Firmata
99  {
100  class RbFirmataController;
101  class RbFirmataPart;
102  class RbFirmataAnalogInput;
103  class RbFirmataAnalogOutput;
104  class RbFirmataDigitalInput;
106  class RbFirmataHingeServo;
108  class RbFirmataPWMOutput;
109  }
110 
111  class RbXBeeCommander;
112  class RbAnimatSerial;
113  }
114  }
115 }
116 
117 using namespace RoboticsAnimatSim;
118 using namespace RoboticsAnimatSim::ExternalStimuli;
119 using namespace RoboticsAnimatSim::Environment;
122 using namespace RoboticsAnimatSim::Robotics;
Classes for the virtual world simulation that use the vortex physics engine.
Body part classes that use the vortex physics engine.
A common class for all rigid body data specific to vortex.
Definition: RbRigidBody.h:52
Vortex ball-and-socket joint class.
Definition: RbBallSocket.h:29
A common class for all joint data specific to vortex.
Definition: RbJoint.h:27
Classes for implementing the cm-labs vortex physics engine for AnimatLab.