From 72afd224e38373115e97135253a1358f91dbdeb6 Mon Sep 17 00:00:00 2001 From: Konstantin Lampalzer Date: Fri, 1 Oct 2021 01:12:44 +0200 Subject: [PATCH] Update documentation --- genindex.html | 10 ++++++++-- lib/Display.html | 3 ++- lib/Servo.html | 26 ++++++++++++++++++++++++++ objects.inv | Bin 845 -> 864 bytes searchindex.js | 2 +- 5 files changed, 37 insertions(+), 4 deletions(-) diff --git a/genindex.html b/genindex.html index 506f3f4..3f06472 100644 --- a/genindex.html +++ b/genindex.html @@ -320,14 +320,20 @@
    -
  • set_debug() (compLib.LogstashLogging.Logging static method) -
  • set_motor_curve() (compLib.Motor.Motor static method) +
  • +
  • set_position() (compLib.Servo.Servo static method) +
  • +
  • setup_position() (compLib.Servo.Servo static method)
  • simon_says() (compLib.Api.Seeding static method)
  • diff --git a/lib/Display.html b/lib/Display.html index 5b9bd55..7a037b9 100644 --- a/lib/Display.html +++ b/lib/Display.html @@ -173,7 +173,8 @@
    class compLib.Display.Display
    -

    Access the different IR Sensors of the robot

    +

    Access the display on the robot. +The display is split into 4 Rows and 16 Columns. Each function call changes one line at a time.

    static clear()
    diff --git a/lib/Servo.html b/lib/Servo.html index 309d857..60c9a02 100644 --- a/lib/Servo.html +++ b/lib/Servo.html @@ -161,6 +161,32 @@

    Servo

    +
    +
    +class compLib.Servo.Servo
    +

    Control the servo ports on the robot

    +
    +
    +static set_position(port: int, angle: float, offset: float = 90.0)
    +

    Set position of servo connected to port

    +
    +
    Parameters
    +
      +
    • port – port between 1 and 8

    • +
    • angle – Angle of servo

    • +
    +
    +
    +
    + +
    +
    +static setup_position()
    +

    Set position of servos to the position used during the setup process

    +
    + +
    +
    diff --git a/objects.inv b/objects.inv index 1df15be90a39df02ee6d328ffc0293c99f502a59..6450af7de7fc24174e9892175ff2e9ef79c90887 100644 GIT binary patch delta 757 zcmV-D^_y+S_W|L#3`%HQK!*Y)>3iY%IV@{q2{B zAAr*adoMPI|8IEAFyn&P?JLdqKU=zg;$6<*n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