einarhaaland / robot-caretaker

Remote emotion control for heterogeneous robots
1 stars 1 forks source link

generalize abstraction functions to one function and move it to motion_functions.py #40

Closed einarhaaland closed 2 years ago

einarhaaland commented 2 years ago

Can then be called like this:

move(robot, "Shoulder", "R", "Pitch", 1.5, True)

instead of:

abstraction.shoulder(robot, "R", "Pitch", 1.5, True)
einarhaaland commented 2 years ago

is now like this:

move(robot, True, 1.5, "Shoulder", "Pitch", "R")