Skip to content

Change the gesture behaviors - Conductor #5

@sandbenders

Description

@sandbenders

In 'https://github.com/DigiScore/RAMI2/blob/main/modules/conducter.py', line 118:

        # Get length of gesture
        phrase_length = (randrange(300, 800) / 100)  # + self.global_speed

The 'phrase_length' is hard coded. Change it to something we can change the min and max values (config file or other solution).

Line 171 (subdivision)
# Generate rhythm rate here
rhythm_loop_end_time = time() + (randrange(500, 2000) / 1000)

Line 176 (speed range)
arm_speed = randrange(30, 200)
if self.XARM_CONNECTED:
self.drawbot.set_speed(arm_speed)

Log these information (hivemind.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions