Skip to content

Commit

Permalink
Set quaternion length to 4 in observation_config.py (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrialopezescoriza authored Oct 11, 2024
1 parent 018f8b2 commit 095e3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigym/utils/observation_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __post_init__(self):
if not isinstance(self.pos, tuple):
self.pos = tuple(self.pos)
if self.quat is not None:
assert len(self.quat) == 3
assert len(self.quat) == 4
if not isinstance(self.quat, tuple):
self.quat = tuple(self.quat)

Expand Down

0 comments on commit 095e3ef

Please sign in to comment.