Skip to content

Servos

Related Config File Sections:

image

A servo is device which can move to a certain position based on internal feedback. There is no need to add position switches and the servo will hold its position even if something pushes it aside. On the downside, there is no way to tell when the servo reached its position since it will not provide any position feedback to the software side.

This is an example:

servos:
  servo1:
    servo_min: 0.1
    servo_max: 0.9
    positions:
      0.0: servo1_down
      0.8: servo1_up
    reset_position: 0.5
    reset_events: reset_servo1
    number: 1
  servo2:
    positions:
      0.2: servo2_left
      1.0: servo2_home
    reset_position: 1.0
    reset_events: reset_servo2
    number: 2

Monitorable Properties

For dynamic values and conditional events, the prefix for servos is device.servos.(name).

position

: Value, stored in memory of what servo position should be, on a scale from 0.0 to 1.0.

Related How To guides:

None


Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results