Merge pull request #788 from StanfordVL/controller-bug

fix typo in controller base
This commit is contained in:
Chengshu Li 2024-07-09 10:53:16 -07:00 committed by GitHub
commit fd82eede17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class BaseController(Serializable, Registerable, Recreatable):
np.array(self._control_limits[self.control_type][0])[self.dof_idx],
np.array(self._control_limits[self.control_type][1])[self.dof_idx],
)
if type(command_input_limits) == str and command_input_limits == "default"
if type(command_output_limits) == str and command_output_limits == "default"
else command_output_limits
)
self._command_input_limits = (