File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ def __init__(
4747 future_steps : int = 0 ,
4848 initialize_qvel : bool = False ,
4949 observables_options : dict | None = None ,
50+ walker_xml_path : str | None = None ,
5051 ):
5152 """Construct a fruitfly task.
5253
@@ -84,6 +85,7 @@ def __init__(
8485 observables_options (optional): A dict of dicts of configuration options
8586 keyed on observable names, or a dict of configuration options, which
8687 will propagate those options to all observables.
88+ walker_xml_path: Optional alternative XML file to use for the fruitfly.
8789 """
8890 self ._time_limit = time_limit
8991 self ._initialize_qvel = initialize_qvel
@@ -106,6 +108,7 @@ def __init__(
106108
107109 # Instantiate a fruitfly walker.
108110 self ._walker = walker (name = 'walker' ,
111+ xml_path = walker_xml_path ,
109112 use_legs = use_legs ,
110113 use_wings = use_wings ,
111114 use_mouth = use_mouth ,
You can’t perform that action at this time.
0 commit comments