RobotMacroActionMode#
- class torchrl.envs.transforms.RobotMacroActionMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Readable modes for
RobotMacroAction.RobotMacroActionModemirrors the URScript primitive set and addsRESET. The reset mode requires a parent environment exposingrobot_home_qpos.Examples
>>> from torchrl.envs import RobotMacroActionMode >>> RobotMacroActionMode.REACH_POSE.name 'REACH_POSE'