Template:UgServo: Difference between revisions

From Phidgets Support
No edit summary
Line 1: Line 1:
===RC Servo===
===RC Servo===
 
Double-click on the RCServo object, labelled ''{{{2}}}'', in order to run the example:
[[Image:{{{1}}}_Servo_Example.jpg|right|link=]]
[[Image:{{{1}}}_Servo_Example.jpg|right|link=]]


When you double click on an RC Servo object, a window like the one pictured will open.


* At the top of the window, information about your device and the properties of this particular channel will be listed.
{{UGExampleDescription}}
* Below that, motor calibration options are provided. Put the minimum and maximum pulse widths for your servo in the appropriate boxes. You can also change which position these pulse widths map to.  
*Motor calibration options are provided. You can change the minimum and maximum pulse widths for your RC servo motor in the appropriate boxes. You can also change which position these pulse widths map to.  
* In the middle, the position, velocity, and stopped/started status of the motor (from the controller's point of view) is displayed in real time.
*The ''SpeedRampingState'' checkbox lets the {{{1}}} know whether or not to take the ''Acceleration'' and ''Velocity'' values into account when moving the RC servo motor.
* At the bottom, you can control the position, acceleration, and speed of the motor. The enable/disable button toggles activation of the motor on this port.
*Use the ''Position'' slider to change the target position and move the RC servo motor.
<br clear="all">
<br clear="all">

Revision as of 23:06, 14 June 2017

RC Servo

Double-click on the RCServo object, labelled {{{2}}}, in order to run the example: [[Image:{{{1}}}_Servo_Example.jpg|right|link=]]


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Motor calibration options are provided. You can change the minimum and maximum pulse widths for your RC servo motor in the appropriate boxes. You can also change which position these pulse widths map to.
  • The SpeedRampingState checkbox lets the {{{1}}} know whether or not to take the Acceleration and Velocity values into account when moving the RC servo motor.
  • Use the Position slider to change the target position and move the RC servo motor.