Example script demo'ing robot control.
Options for random actions, as well as selection of robot action space
For a given robot, iterates over all components of the robot, and returns the requested controller type for each component.
:param robot: BaseRobot, robot class from which to infer relevant valid controller options :param random_selection: bool, if the selection is random (for automatic demo execution). Default False
:return OrderedDict: Mapping from individual robot component (e.g.: base, arm, etc.) to selected controller names
Source code in
main(random_selection=False, headless=False, short_exec=False)
Robot control demo with selection Queries the user to select a robot, the controllers, a scene and a type of input (random actions or teleop)