AnimatLab  2
Test
RbFirmataAnalogOutput.cpp
1 // RbFirmataAnalogOutput.cpp: implementation of the RbFirmataAnalogOutput class.
2 //
4 
5 #include "StdAfx.h"
6 #include <stdarg.h>
7 #include "RbMovableItem.h"
8 #include "RbBody.h"
9 #include "RbJoint.h"
10 #include "RbMotorizedJoint.h"
11 #include "RbHingeLimit.h"
12 #include "RbHinge.h"
13 #include "RbRigidBody.h"
14 #include "RbStructure.h"
15 #include "RbFirmataPart.h"
16 #include "RbFirmataAnalogOutput.h"
17 #include "RbFirmataController.h"
18 
19 namespace RoboticsAnimatSim
20 {
21  namespace Robotics
22  {
23  namespace RobotIOControls
24  {
25  namespace Firmata
26  {
27 
29 // Construction/Destruction
31 
32 RbFirmataAnalogOutput::RbFirmataAnalogOutput()
33 {
34 }
35 
36 RbFirmataAnalogOutput::~RbFirmataAnalogOutput()
37 {
38 }
39 
41 {
42 
43 }
44 
46 {
47 }
48 
50 {
51  RobotPartInterface::StepSimulation();
52 
53 
54 }
55 
56  } //Firmata
57  } //RobotIOControls
58  } // Robotics
59 } //RoboticsAnimatSim
60 
Declares the vortex structure class.
Declares the vortex hinge class.
virtual void SetupIO()
This method is called after all connections to whatever control board have been made. It is meant to be used to setup connection information specific to this part. For example, We connect to a Firmata microcontroller like an Arduino, and then do a setup that could take some time. We should not attempt to setup any of the pins until after the board itself has been setup. After that we need to loop through and setup all the parts. That is what this method is for.
virtual void StepIO(int iPartIdx)
This method is used to send/recieve the actual IO. This will often be in a seperate thread than the S...
Classes for implementing the cm-labs vortex physics engine for AnimatLab.