15#ifndef MOMENTUM_ANGULARMOTOR_H
16#define MOMENTUM_ANGULARMOTOR_H
18#include "momentum_export.h"
19#include "momentum_namespace.h"
21#include "AngularSecondaryJoint.h"
27 class TargetSpeedController;
57#ifndef AGX_MOMENTUM_ANALYSIS_API
83 std::string __str__()
const;
92 agx::TargetSpeedController* getMotor()
const;
An angular motor will try to reach a target rotation speed with the specified max torque.
Definition: AngularMotor.h:38
void setTargetSpeed(double speed)
Set the target speed that the motor tries to reach using the available torque.
bool getEnableSpringAtZeroSpeed() const
void setEnableSpringAtZeroSpeed(bool flag)
When target speed is set to zero for the motor, the motor can be specified to act like a spring,...
double getTargetSpeed() const
Get the target speed that the motor tries to reach using the available torque.
An angular secondary joint operates on the free rotational DOF of angular joints such as HingeJoint a...
Definition: AngularSecondaryJoint.h:38
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29