7 #include "RbMovableItem.h"
10 #include "RbMotorizedJoint.h"
11 #include "RbHingeLimit.h"
13 #include "RbRigidBody.h"
15 #include "RbFirmataPart.h"
16 #include "RbFirmataPrismaticServo.h"
22 namespace RobotIOControls
31 RbFirmataPrismaticServo::RbFirmataPrismaticServo()
36 RbFirmataPrismaticServo::~RbFirmataPrismaticServo()
44 {
Std_TraceMsg(0,
"Caught Error in desctructor of RbFirmataHingeServo\r\n",
"", -1,
false,
true);}
57 RobotPartInterface::Initialize();
59 m_lpHinge =
dynamic_cast<RbHinge *
>(m_lpPart);
67 RobotPartInterface::StepSimulation();
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...
Declares the vortex structure class.
Declares the vortex hinge class.
virtual void Initialize()
Initializes this object.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
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.
Vortex hinge joint class.
virtual void StepSimulation()
Step the simulation for this object.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.