Skip to content

constants

ServoError #

Bases: IntFlag

Error Bits in Status Packet

Source code in cogip/scservo_async_sdk/constants.py
28
29
30
31
32
33
34
35
36
37
38
39
class ServoError(IntFlag):
    """
    Error Bits in Status Packet
    """

    INPUT_VOLTAGE = 1  # Bit 0
    ANGLE_LIMIT = 2  # Bit 1
    OVERHEATING = 4  # Bit 2
    RANGE = 8  # Bit 3
    CHECKSUM = 16  # Bit 4
    OVERLOAD = 32  # Bit 5
    INSTRUCTION = 64  # Bit 6