Skip to content

Commit

Permalink
MINOR: Improved naming consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
vikashplus committed Mar 11, 2024
1 parent 76b3455 commit 538894c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion robohive/envs/myo/assets/hand/MyoHand_object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
License :: Under Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
====================================================== -->

<include file="MyoHand_tabletop.xml"/>
<include file="myohand_tabletop.xml"/>
<include file="../../../../simhive/object_sim/common.xml"/>
<include file="../../../../simhive/object_sim/OBJECT_NAME/assets.xml"/>

Expand Down
6 changes: 3 additions & 3 deletions robohive/envs/myo/myodm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def register_myohand_object_trackref(task_name, object_name, motion_path=None):
entry_point='robohive.envs.myo.myodm.myodm_v0:TrackEnv',
max_episode_steps=75, #50steps*40Skip*2ms = 4s
kwargs={
'model_path': '/../assets/hand/MyoHand_object.xml',
'model_path': '/../assets/hand/myohand_object.xml',
'object_name': object_name,
'reference':curr_dir+'/data/'+motion_path,
}
Expand All @@ -145,7 +145,7 @@ def register_MyoHand_object(object_name):
entry_point='robohive.envs.myo.myodm.myodm_v0:TrackEnv',
max_episode_steps=50, #50steps*40Skip*2ms = 4s
kwargs={
'model_path': '/../assets/hand/MyoHand_object.xml',
'model_path': '/../assets/hand/myohand_object.xml',
'object_name': object_name,
'reference': {'time':(0.0, 4.0),
'robot':np.zeros((1, dof_robot)),
Expand All @@ -164,7 +164,7 @@ def register_MyoHand_object(object_name):
entry_point='robohive.envs.myo.myodm.myodm_v0:TrackEnv',
max_episode_steps=50, #50steps*40Skip*2ms = 4s
kwargs={
'model_path': '/../assets/hand/MyoHand_object.xml',
'model_path': '/../assets/hand/myohand_object.xml',
'object_name': object_name,
'reference': {'time':(0.0, 4.0),
'robot':np.zeros((2, dof_robot)),
Expand Down

0 comments on commit 538894c

Please sign in to comment.