gsgr.enums

Statische Enums

class gsgr.enums.Color

SPIKE-Prime Farben

OFF = 0

Type:    int

PINK = 1

Type:    int

VIOLET = 2

Type:    int

BLUE = 3

Type:    int

TURQUOISE = 4

Type:    int

LIGHT_GREEN = 5

Type:    int

GREEN = 6

Type:    int

YELLOW = 7

Type:    int

ORANGE = 8

Type:    int

RED = 9

Type:    int

WHITE = 10

Type:    int

class gsgr.enums.Attachment

Zahnrad-Positionen zur Anseuerung der entsprechenden Ausgänge

FRONT_RIGHT = 90

Type:    int

FRONT_LEFT = -90

Type:    int

BACK_RIGHT = 0

Type:    int

BACK_LEFT = 180

Type:    int

class gsgr.enums.Pivot

Drehpunkt für GyroTurn

LEFT_WHEEL = -1

Type:    int

CENTER = 0

Type:    int

RIGHT_WHEEL = 1

Type:    int

class gsgr.enums.HWSensor
LIGHT = 61

Type:    int

class gsgr.enums.SWSensor
INTEGRATED_LIGHT = 0

Type:    int

EXTERNAL_LIGHT = 1

Type:    int

C3PO = 2

Type:    int

class gsgr.enums.Sensor
LIGHT = (61, 0)

Type:    tuple

EXTERNAL_LIGHT = (61, 1)

Type:    tuple

C3PO = (61, 2)

Type:    tuple