Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The meaning of parameters #43

Open
interestingzhuo opened this issue Jun 10, 2023 · 1 comment
Open

The meaning of parameters #43

interestingzhuo opened this issue Jun 10, 2023 · 1 comment

Comments

@interestingzhuo
Copy link

what is the meaning of “_dof_body_ids”, “_dof_offsets”,“_dof_obs_size”, “_num_actions”, “_num_obs”

@3-body
Copy link

3-body commented Jun 13, 2023

  1. self._dof_body_ids = [1, 2, 3, 4, 5, 7, 8, 11, 12, 13, 14, 15, 16] # the index of links with joints
  2. self._dof_offsets = [0, 3, 6, 9, 10, 13, 16, 17, 20, 21, 24, 27, 28, 31] # corresponding dofs of links
  3. self._dof_obs_size = 78 # rotation of each link using a tangent-normal encoding (6D)
  4. self._num_actions = 31 # corresponding dofs of links
  5. self._num_obs = 1 + 17 * (3 + 6 + 3 + 3) - 3 # total links * ( Position + Linear velocity + Rotation + Angular velocity)

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

No branches or pull requests

2 participants