added ASMT api example runSinglePendulum
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include "BasicUserFunction.h"
|
||||
#include "CREATE.h"
|
||||
#include "Constant.h"
|
||||
#include "ASMTJoint.h"
|
||||
#include "ASMTTime.h"
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
@@ -64,3 +66,13 @@ std::shared_ptr<Joint> MbD::ASMTRotationalMotion::mbdClassNew()
|
||||
{
|
||||
return CREATE<ZRotation>::With();
|
||||
}
|
||||
|
||||
void MbD::ASMTRotationalMotion::setMotionJoint(std::string& str)
|
||||
{
|
||||
motionJoint = str;
|
||||
}
|
||||
|
||||
void MbD::ASMTRotationalMotion::setRotationZ(std::string& rotZ)
|
||||
{
|
||||
rotationZ = rotZ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user