Jump to content

Component: Servo Motor (Mechatronics)

From Flowcode Help
Revision as of 14:37, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix Ltd
Version 1.1
Category Mechatronics


Servo Motor component

Base component for creating custom servo motor simulations. Recieves messages from the the 'Servo Controller' component. Macro 'SetTarget' allows external objects to be moved by the servo for mechanical simulations.

Version information

Library Version, Component Version, Date, Author, Info
2, 1.1, 13-11-24, BR, Resized component to better fit in with other 2d motor components

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

GetSimAngle

GetSimAngle
Gets the angle of the simulated motor shaft in degrees. 
- FLOAT Return


Property reference

Properties
Simulation
Movement Type
 
Minimum (degrees)
Angle that the servo turns when the PWM signal is at its minimum. Measured from the actuator object's 'rest' position, chosen at the time of connecting the object. 
Maximum (degrees)
Angle that the servo turns when the PWM signal is at its maximum. Measured from the actuator object's 'rest' position, chosen at the time of connecting the object. 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Servo_Motor_2d.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Servo_Motor_2d.fcfx