def get_motion(self, name):
        try:
            return self._motions[name]
        except KeyError:
            raise UnknownDevice(name)
Get a motion by name.
dataset/ETHPy150Open iancmcc/ouimeaux/ouimeaux/environment.py/Environment.get_motion