Skip to content

Ideas #1

@BlGene

Description

@BlGene

Just to note down a couple of my ideas.

  1. It should probably be possible to do this in one line.
if prev_wp is not None and prev_wp.grip != wp.grip:
    if wp.grip == 0:
        robot.close_gripper(blocking=True)
    elif wp.grip == 1:
        robot.open_gripper(blocking=True)
    else:
        raise ValueError
  1. Input devices should be as interchangeable as possible.
KeyboardInput SpaceMouse -> handle_keyboard_events ->  get_absolute_action, get_relative_action

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions