========================== Motor (hwx.inspire.motion) ========================== Creates a Motor. Motors drive parts in a rotational manner, and can be defined in terms of angle, speed, acceleration, or torque. It's a convenient way to apply a time-dependent torque to your model. Inherits: - :ref:`MotionConnector (hwx.inspire.motion)` ---------- Attributes ---------- +---------------------------------+---------------------------------+---------------------------------+ | active_: Bool | averageValue_: EnumUnion (type) | baseScale_: Double | +---------------------------------+---------------------------------+---------------------------------+ | bodyType_: Enum | centerlineJoint_: Enum | clevisPinHoles_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | connectionRadius_: Double | controller_: Bool | controllerType_: Enum | +---------------------------------+---------------------------------+---------------------------------+ | cyclic_: Double | direction_: Direction | dtValue_: Double | +---------------------------------+---------------------------------+---------------------------------+ | duration_: Double | dwellTime_: Double | dwellX_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | dxValue_: Attribute | entity1_: Attribute | entity2_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | finalFrequency_: Double | flipAxis_: Bool | frequency_: Double | +---------------------------------+---------------------------------+---------------------------------+ | function_: Enum | icVelocity_: Double | indVarComp_: Enum | +---------------------------------+---------------------------------+---------------------------------+ | indVarEntity_: Attribute | initialFrequency_: Double | kd_: Double | +---------------------------------+---------------------------------+---------------------------------+ | ki_: Double | kp_: Double | location1_: Location | +---------------------------------+---------------------------------+---------------------------------+ | location2_: Location | locked_: Bool | mountColor_: Color | +---------------------------------+---------------------------------+---------------------------------+ | name_: Attribute | parts_: Attribute | penalty_: Double | +---------------------------------+---------------------------------+---------------------------------+ | penalty1_: Double | phaseShift_: Double | profile_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | profileMode_: Enum | restrainCenterline_: Bool | reverseDirection_: Bool | +---------------------------------+---------------------------------+---------------------------------+ | rotation_: Double | sdProfile_: Attribute | shaftColor_: Color | +---------------------------------+---------------------------------+---------------------------------+ | shaftRadius_: Double | shaftRotation_: Double | span_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | spline_: Attribute | splineMethod_: Enum | startTime_: Double | +---------------------------------+---------------------------------+---------------------------------+ | stepOff_: Attribute | stepOn_: Attribute | sweepInterval_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | type_: Enum | userFunction_: Attribute | userFunctionScale_: Double | +---------------------------------+---------------------------------+---------------------------------+ | userFunctionUnits_: Attribute | value_: EnumUnion (type) | visible_: Bool | +---------------------------------+---------------------------------+---------------------------------+ | writePlantSignals_: Bool | x0_: Attribute | x1_: Attribute | +---------------------------------+---------------------------------+---------------------------------+ | y0_: EnumUnion (type) | y1_: EnumUnion (type) | | +---------------------------------+---------------------------------+---------------------------------+ ---------- Properties ---------- +------------------+------------------+------------------+ | baseRotation_ | mountConnection_ | shaftConnection_ | +------------------+------------------+------------------+ | shaftDirection_ | shaftLocation_ | | +------------------+------------------+------------------+ -------------- Public Methods -------------- +--------------------------------------------------+ | classmethod isValidConnection_ (cls, connection) | +--------------------------------------------------+ | getRotationalValue_ (self) | +--------------------------------------------------+ | getShaftRadius_ (self) | +--------------------------------------------------+ ----------------- Attribute Details ----------------- .. _active: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ active : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns or sets the object activeness. Setting this on or off sets all children. Setting to True sets all the parents active too. .. _averageValue: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ averageValue : :ref:`EnumUnion (type) ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The average value for the motor when the function is set to Oscillating, defaults to 0. .. _baseScale: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ baseScale : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Use to change the appearance of the motor shaft and base. The baseScale property allows you to change the size of the motor; enter a value between 0.5 and 2.0, defaults to 1. .. _bodyType: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bodyType : :ref:`Enum ` (SERVO, FRONT, BACK, MOUNT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the body type of the motor. The body type can be Servo, Front Facing, Back Facing, With Mount. .. _centerlineJoint: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ centerlineJoint : :ref:`Enum ` (CYLINDRICAL, REVOLUTE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies what type of joint to be created if Restrain Centerline is enabled. .. _clevisPinHoles: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ clevisPinHoles : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Lists all the cylindrical features from a clevis pin part, that has 3 aligned holes and outside two holes are in the same part. .. _connectionRadius: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ connectionRadius : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the radius of the connection. .. _controller: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ controller : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If True, sets the behavior of the Motor specified by function and value properties, else the behavior of the motor will be driven with hand of god type motion. .. _controllerType: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ controllerType : :ref:`Enum ` (PID, SOFT_CONSTRAINT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The type of controller used to achieve the behavior specified by function and value. Controller type can be PID or Soft Constraint. Specifiable when motor is of type Displacement or Velocity and controller is set to True. .. _cyclic: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cyclic : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The number of revolution of State dependent variable, when the variable component is cyclic motion. .. _direction: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ direction : :ref:`Direction ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The direction of the motor wrt shaftConnection. .. _dtValue: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dtValue : :ref:`Double ` (units="time") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the amount of time allowed to blend in and out of the motor profile. Specifiable when function is set to Single Wave, Oscillating and Table. .. _duration: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duration : :ref:`Double ` (units="time") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount of time the function will take for Step and Impulse. For Ramp function duration is defined as the amount of time taken by the motor to achieve the value, defaults to 0.5 s. .. _dwellTime: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dwellTime : :ref:`Double ` (units="time") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount time of the motor profile dwells. Specifiable when function is set to Step Dwell Step, defaults to 1 s. .. _dwellX: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dwellX : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount x of the motor profile dwells. Specifiable when function is set to Step Dwell Step, defaults to 1 s. .. _dxValue: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dxValue : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the amount of x allowed to blend in and out of the motor profile. Specifiable when function is set to Single Wave, Oscillating and Table. .. _entity1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ entity1 : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The feature entity motor is attached to. .. _entity2: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ entity2 : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The second feature entity motor is attached to. .. _finalFrequency: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ finalFrequency : :ref:`Double ` (units="frequency") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The final frequency for the motor function Swept Sine, defaults to 1Hz. .. _flipAxis: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ flipAxis : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Allows to flip the axis of the object. .. _frequency: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ frequency : :ref:`Double ` (units="frequency") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the frequency value in Hz, when the function is set to Oscillating, defaults to 1Hz. .. _function: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function : :ref:`Enum ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The type of profile function to change how the shaft rotates as time elapses. The function can be a Step, Step Dwell Step, Single Wave, Oscillating, Swept Sine, Impulse, Ramp, Solver Expression and Table, defaults to Step. .. _icVelocity: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ icVelocity : :ref:`Double ` (units="ang_velocity") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The initial angular velocity of the motor, defaults to 0 rpm. This is specifiable when the type of motor is Acceleration. .. _indVarComp: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ indVarComp : :ref:`Enum ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _indVarEntity: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ indVarEntity : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _initialFrequency: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ initialFrequency : :ref:`Double ` (units="frequency") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The initial frequency for the motor function Swept Sine, defaults to 1Hz. .. _kd: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ kd : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The derivative action of a PID controller enhances stability of the control system by predicting the future behavior. .. _ki: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ki : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This term multiplied by accumulated error represents the integral term of a PID. Having an integral term minimizes the steady state error. .. _kp: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ kp : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount of restoring force that should be applied to overcome position error. Specifiable only when controller type is set to PID. .. _location1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ location1 : :ref:`Location ` (units="length") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The location of the motor wrt shaftConnection. .. _location2: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ location2 : :ref:`Location ` (units="length") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The location of the motor wrt mounttConnection. .. _locked: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ locked : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If True, the motor does not rotate during a Motion Analysis (useful for debugging), defaults to False. .. _mountColor: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mountColor : :ref:`Color ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the color of the motor mount. .. _name: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ name : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns or sets the name of the object. It can be any text string, including spaces, although it's best to avoid using the following characters: " ' * ? and $. While these characters are allowed, they could create difficulties when you export the model to other applications. .. _parts: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ parts : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Lists all the parts the object is attached to. .. _penalty: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ penalty : :ref:`Double ` (units="torsion_stiffness") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The proportional factor used in the calculation of the restoring force. Specifiable only when controller type is set to Soft Constraint. .. _penalty1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ penalty1 : :ref:`Double ` (units="torsion_damping") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The derivative factor used in the calculation of the restoring force. Specifiable only when controller type is set to Soft Constraint. .. _phaseShift: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ phaseShift : :ref:`Double ` (units="angle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The angular phase shift of the motor when the function is set to Oscillating, defaults to 0 deg. .. _profile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ profile : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _profileMode: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ profileMode : :ref:`Enum ` (TIME, STATE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _restrainCenterline: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ restrainCenterline : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Use to restrain the axis of the motor so it does not move relative to the motor base (or the ground part if no second part is defined). Choices are Cylindrical or Revolute. By default, this property is enabled for a motor attached to holes, and disabled for motors attached to surfaces. Disabling this option may result in unexpected part movement, warnings, or errors. .. _reverseDirection: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reverseDirection : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If True, reverses the direction of the rotational force, defaults to False. .. _rotation: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rotation : :ref:`Double ` (units="angle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The rotational offset of the motor base, defaults to 0 deg. .. _sdProfile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sdProfile : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _shaftColor: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shaftColor : :ref:`Color ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the color of the motor shaft. .. _shaftRadius: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shaftRadius : :ref:`Double ` (units="length") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Use to adjust the overall size of the motor shaft. This property is not available for motors applied to holes. .. _shaftRotation: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shaftRotation : :ref:`Double ` (units="angle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The rotational offset of the motor shaft, defaults to 0 deg. .. _span: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ span : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the duration of the oscillation, when the function is set to Oscillating or Single Wave. .. _spline: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ spline : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _splineMethod: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ splineMethod : :ref:`Enum ` (AKIMA, CUBIC, LINEAR) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the interpolation method for the motor profile. Interpolation methods can be Akima, Cubic, Linear. Specifiable when function is set to Table. .. _startTime: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ startTime : :ref:`Double ` (units="time") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The time at which the motor begins to rotate move during a Motion Analysis. This is not specifiable when motor function is of type Solver Expression. .. _stepOff: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stepOff : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount of x taken to ramp up the Step Dwell Step function .. _stepOn: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stepOn : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount of x taken to ramp up the Step Dwell Step function .. _sweepInterval: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sweepInterval : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The amount of time that should be spent transitioning between the initialFrequency and finalFrequency of a Swept Sine function, defaults to 1s. .. _type: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type : :ref:`Enum ` (ANGLE, SPEED, ACCELERATION, TORQUE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the type of motor, it can be Speed, Angle, Acceleration and Torque. Defaults to a Speed motor. .. _userFunction: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ userFunction : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ A motionsolve user expression that will define the behavior of the motor. Specifiable when function is set to Solver Expression, defaults to TIME. .. _userFunctionScale: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ userFunctionScale : :ref:`Double ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The scaling factor for the user expression. Specifiable when function is set to Solver Expression. .. _userFunctionUnits: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ userFunctionUnits : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The units for the user expression. Specifiable when function is set to Solver Expression. .. _value: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value : :ref:`EnumUnion (type) ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the absolute rotational value of the motor depending of its type. If type of motor is: - Angle then the default value is 45 deg, - Speed then the default value is 60 rpm, - Acceleration then the default value is 1 rad/s2, - Torque then the default value is 1 N*m. .. _visible: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ visible : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Determines whether the object is visible in the modeling window. Setting this on or off sets all children. Setting to True sets all the parents visible too. .. _writePlantSignals: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ writePlantSignals : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Generates a plant input and output signal for the motor. .. _x0: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ x0 : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _x1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ x1 : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _y0: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ y0 : :ref:`EnumUnion (type) ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _y1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ y1 : :ref:`EnumUnion (type) ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------- Property Details ---------------- .. _baseRotation: .. method:: baseRotation The rotational offset of the motor base, defaults to 0 deg. .. _mountConnection: .. method:: mountConnection The second feature entity motor is attached to. .. _shaftConnection: .. method:: shaftConnection The feature entity motor is attached to. .. _shaftDirection: .. method:: shaftDirection The direction of the motor wrt shaftConnection. .. _shaftLocation: .. method:: shaftLocation The location of the motor wrt shaftConnection. -------------- Method Details -------------- .. _isValidConnection: .. classmethod:: isValidConnection(cls, connection) Determines if a motor can be created from the Joint. :param connection: A joint object. :type connection: Joint :returns: A valid joint connection. :rtype: bool .. _getRotationalValue: .. method:: getRotationalValue(self) Returns the speed angle or acceleration depending on the type of motor. .. _getShaftRadius: .. method:: getShaftRadius(self) Return the shafts hole radius or the computed radius.