Skip to content

Commit

Permalink
Fix: set freejoint of environment props
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanElsner committed Nov 20, 2023
1 parent 546ada9 commit 358823c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dm_robotics/panda/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def build_task_environment(self) -> subtask_env.SubTaskEnvironment:
def add_props(self, props: Sequence[prop.Prop]):
self._props.extend(props)
for p in self._props:
self._arena.add_free_entity(p)
frame = self._arena.add_free_entity(p)
p.set_freejoint(frame.freejoint)

def add_entity_initializers(
self,
Expand Down

0 comments on commit 358823c

Please sign in to comment.