Skip to content

Commit

Permalink
Fake controller
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwei-will-xia committed Sep 27, 2024
1 parent 8e84ad0 commit 2c6393d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gello/agents/gello_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,9 @@ def get_gello_joint_state(self) -> Tuple[np.ndarray, float]:
dyna_joints = self._robot.get_joint_state()
gripper = dyna_joints[-1]
return dyna_joints[:-1], gripper


class FakeGelloAgent(Agent):

def __init__(self):
self.gripper_state = 0.0

0 comments on commit 2c6393d

Please sign in to comment.