15#ifndef MOMENTUM_CYLINDRICALJOINT_H
16#define MOMENTUM_CYLINDRICALJOINT_H
18#include "momentum_export.h"
19#include "momentum_namespace.h"
23#include "LinearMotor.h"
24#include "LinearRange.h"
25#include "LinearSpring.h"
27#include "AngularMotor.h"
28#include "AngularRange.h"
29#include "AngularSpring.h"
30#include "FrictionController.h"
37 class CylindricalJoint;
137 std::string __str__()
const;
148 agx::CylindricalJoint* getCylindrical()
const;
The cylindrical joint class, a joint where the translational and rotational z-axis is unconstrained.
Definition: CylindricalJoint.h:48
double getPosition() const
Get the current displacement along the z-axis, in meters.
virtual int getAgxTranslationalDOF(Joint::DegreeOfFreedom dof) const
std::shared_ptr< AngularMotor > getAngularMotor() const
Get the motor of the rotational z-axis.
std::shared_ptr< LinearMotor > getLinearMotor() const
Get the motor of the translational z-axis.
double getAngle() const
Get the current rotation around the z-axis, in radians.
virtual int getAgxRotationalDOF(Joint::DegreeOfFreedom dof) const
std::shared_ptr< FrictionController > getAngularFrictionController()
Since this friction controller is rotational the radius of the axle should be included in the frictio...
std::shared_ptr< AngularSpring > getAngularSpring() const
Get the spring of the rotational z-axis.
double getCurrentLinearSpeed() const
Get the current speed along the z-axis in meters per second.
double getCurrentAngularSpeed() const
Get the current rotational speed around the z-axis in radians per second.
std::shared_ptr< AngularRange > getAngularRange() const
Get the range of the rotational z-axis.
std::shared_ptr< LinearRange > getLinearRange() const
Get the range of the translational z-axis.
std::shared_ptr< Screw1D > getScrew1D() const
Screw controller connects rotation and translation.
std::shared_ptr< FrictionController > getLinearFrictionController()
std::shared_ptr< LinearSpring > getLinearSpring() const
Get the spring of the translational z-axis.
Base class for all joints.
Definition: Joint.h:51
DegreeOfFreedom
Definition: Joint.h:54
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29