def unload_sample(): # TODO: I think this can be simpler. return (yield from single_gen(Msg('unload_sample', robot)))
def unload_sample(): # TODO: I think this can be simpler. return (yield from single_gen(Msg("unload_sample", xpd_configuration["robot"])))
def load_sample(position, geometry=None): # TODO: I think this can be simpler. return (yield from single_gen(Msg('load_sample', robot, position, geometry)))
def load_sample(position, geometry=None): # TODO: I think this can be simpler. return (yield from single_gen( Msg("load_sample", xpd_configuration["robot"], position, geometry)))