Skip to content

Commit

Permalink
fix: del debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
fan-ziqi committed Dec 7, 2024
1 parent bab210d commit 7f98385
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def process_actions(self, actions: torch.Tensor):
index_list, _, value_list = string_utils.resolve_matching_names_values(self._clip, self._joint_names)
for index in range(len(index_list)):
min_value, max_value = value_list[index]
print(value_list[index])
self._processed_actions[:, index_list[index]].clip_(min_value, max_value)

def reset(self, env_ids: Sequence[int] | None = None) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@ class CommandsCfg:
class ActionsCfg:
"""Action specifications for the MDP."""

joint_pos = mdp.JointPositionActionCfg(
asset_name="robot",
joint_names=[".*"],
scale=0.5,
use_default_offset=True,
clip={".*": (-100.0, 100.0)}, # only for test
)
joint_pos = mdp.JointPositionActionCfg(asset_name="robot", joint_names=[".*"], scale=0.5, use_default_offset=True)


@configclass
Expand Down

0 comments on commit 7f98385

Please sign in to comment.