コード例 #1
0
//==============================================================================
TranslationalJoint::TranslationalJoint(const Properties& properties)
  : Base(properties)
{
  // Inherited Aspects must be created in the final joint class in reverse order
  // or else we get pure virtual function calls
  createGenericJointAspect(properties);
  createJointAspect(properties);
}
コード例 #2
0
ファイル: PrismaticJoint.cpp プロジェクト: jslee02/wafr2016
//==============================================================================
PrismaticJoint::PrismaticJoint(const Properties& properties)
  : detail::PrismaticJointBase(properties)
{
  // Inherited Aspects must be created in the final joint class in reverse order
  // or else we get pure virtual function calls
  createPrismaticJointAspect(properties);
  createGeometricJointAspect(properties);
  createJointAspect(properties);
}
コード例 #3
0
ファイル: FreeJoint.cpp プロジェクト: jslee02/wafr2016
//==============================================================================
FreeJoint::FreeJoint(const Properties& properties)
  : Base(properties),
    mQ(Eigen::Isometry3d::Identity())
{
  mJacobianDeriv = Eigen::Matrix6d::Zero();

  // Inherited Aspects must be created in the final joint class in reverse order
  // or else we get pure virtual function calls
  createGeometricJointAspect(properties);
  createJointAspect(properties);
}
コード例 #4
0
ファイル: BallJoint.cpp プロジェクト: ayonga/dart
//==============================================================================
BallJoint::BallJoint(const Properties& properties)
  : MultiDofJoint<3>(properties),
    mR(Eigen::Isometry3d::Identity())
{
  mJacobianDeriv = Eigen::Matrix<double, 6, 3>::Zero();

  // Inherited Aspects must be created in the final joint class in reverse order
  // or else we get pure virtual function calls
  createMultiDofJointAspect(properties);
  createJointAspect(properties);
}