Skip to content

Commit

Permalink
Expose the delegate_effector or the SpyEffector
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 629813907
Change-Id: I6887211fb6c604735f3057cd92890c17e9d014fb
  • Loading branch information
alaurens authored and copybara-github committed May 1, 2024
1 parent 7f06cdb commit 2430840
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions py/moma/sensors/action_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ def prefix(self) -> str:
def close(self):
self._delegate_effector.close()

@property
def delegate_effector(self) -> moma_effector.Effector:
return self._delegate_effector

@property
def previous_action(self) -> Optional[np.ndarray]:
return self._previous_action
Expand Down

0 comments on commit 2430840

Please sign in to comment.