Skip to content

Conversation

hermanjakobsen
Copy link
Contributor

@hermanjakobsen hermanjakobsen commented Jan 27, 2021

  • Fixed a bug where the interpolator dim is changed, but not the dimension of goal state and start state.
  • Corrected the call of the get_interpolated_goal() method for joint controllers.

# not implemented yet- TODO)
self.set_states(dim=ndim, ori=ori_interpolate)

def set_states(self, dim=None, ori=None):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a doc string here (matching the format of other method docstrings)?

Copy link
Member

@cremebrule cremebrule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just needs a bit of documentation for the added method.

@roberto-martinmartin
Copy link
Member

lgtm

@yukezhu yukezhu merged commit f123b78 into ARISE-Initiative:master Jan 29, 2021
@hermanjakobsen hermanjakobsen deleted the fix_interpolator_dim_bug branch February 1, 2021 10:35
X-jy-liu pushed a commit to X-jy-liu/robosuite that referenced this pull request Mar 5, 2025
* reset states at dim change

* correct call of interpolator method

* merge setting ori and dim

* add doc string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants