Skip to content

Commit

Permalink
Merge pull request #342 from robotology/fix/move_model_with_file_inhe…
Browse files Browse the repository at this point in the history
…ritance

Move inheritance from `ModelWithFile` to `ICubGazeboABC`
  • Loading branch information
diegoferigo authored Apr 29, 2021
2 parents 9b64910 + 1454d8e commit c6d6767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/gym_ignition_environments/models/icub.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@


class ICubGazeboABC(scenario.model_wrapper.ModelWrapper,
scenario.model_with_file.ModelWithFile,
abc.ABC):

DOFS = 32
Expand Down Expand Up @@ -78,8 +79,7 @@ def __init__(self,
assert ok_q0, "Failed to set initial position"


class ICubGazebo(ICubGazeboABC,
scenario.model_with_file.ModelWithFile):
class ICubGazebo(ICubGazeboABC):

def __init__(self,
world: scenario_core.World,
Expand Down

0 comments on commit c6d6767

Please sign in to comment.