Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KincoActuatorIsaacLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kevin
KincoActuatorIsaacLab
Commits
944606a7
Commit
944606a7
authored
Apr 14, 2023
by
Mayank Mittal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds module version to __init__.py
parent
26d76f5a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
4 deletions
+21
-4
.gitignore
.gitignore
+2
-0
__init__.py
...ni.isaac.contrib_envs/omni/isaac/contrib_envs/__init__.py
+7
-0
__init__.py
.../extensions/omni.isaac.orbit/omni/isaac/orbit/__init__.py
+5
-4
__init__.py
...s/omni.isaac.orbit_envs/omni/isaac/orbit_envs/__init__.py
+7
-0
No files found.
.gitignore
View file @
944606a7
...
...
@@ -29,6 +29,8 @@
# Outputs
**/output/*
**/outputs/*
**/videos/*
*.tmp
# Isaac-Sim packman
...
...
source/extensions/omni.isaac.contrib_envs/omni/isaac/contrib_envs/__init__.py
View file @
944606a7
...
...
@@ -30,6 +30,7 @@ Usage:
import
gym
# noqa: F401
import
os
import
toml
# Conveniences to other module directories via relative paths
ORBIT_CONTRIB_ENVS_EXT_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"../../../"
))
...
...
@@ -37,3 +38,9 @@ ORBIT_CONTRIB_ENVS_EXT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file
ORBIT_CONTRIB_ENVS_DATA_DIR
=
os
.
path
.
join
(
ORBIT_CONTRIB_ENVS_EXT_DIR
,
"data"
)
"""Path to the extension data directory."""
ORBIT_CONTRIB_ENVS_METADATA
=
toml
.
load
(
os
.
path
.
join
(
ORBIT_CONTRIB_ENVS_EXT_DIR
,
"config"
,
"extension.toml"
))
"""Extension metadata dictionary parsed from the extension.toml file."""
# Configure the module-level variables
__version__
=
ORBIT_CONTRIB_ENVS_METADATA
[
"package"
][
"version"
]
source/extensions/omni.isaac.orbit/omni/isaac/orbit/__init__.py
View file @
944606a7
...
...
@@ -9,13 +9,14 @@ Python module with robotic environments.
import
os
import
toml
# Conveniences to other module directories via relative paths
ORBIT_EXT_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"../../../"
))
"""Path to the extension source directory."""
ORBIT_
DATA_DIR
=
os
.
path
.
join
(
ORBIT_EXT_DIR
,
"data"
)
"""
Path to the extension data directory
."""
ORBIT_
METADATA
=
toml
.
load
(
os
.
path
.
join
(
ORBIT_EXT_DIR
,
"config"
,
"extension.toml"
)
)
"""
Extension metadata dictionary parsed from the extension.toml file
."""
__author__
=
"Mayank Mittal"
__
email__
=
"mittalma@ethz.ch"
# Configure the module-level variables
__
version__
=
ORBIT_METADATA
[
"package"
][
"version"
]
source/extensions/omni.isaac.orbit_envs/omni/isaac/orbit_envs/__init__.py
View file @
944606a7
...
...
@@ -30,6 +30,7 @@ Usage:
import
gym
import
os
import
toml
# Conveniences to other module directories via relative paths
ORBIT_ENVS_EXT_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"../../../"
))
...
...
@@ -38,6 +39,12 @@ ORBIT_ENVS_EXT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "..
ORBIT_ENVS_DATA_DIR
=
os
.
path
.
join
(
ORBIT_ENVS_EXT_DIR
,
"data"
)
"""Path to the extension data directory."""
ORBIT_ENVS_METADATA
=
toml
.
load
(
os
.
path
.
join
(
ORBIT_ENVS_EXT_DIR
,
"config"
,
"extension.toml"
))
"""Extension metadata dictionary parsed from the extension.toml file."""
# Configure the module-level variables
__version__
=
ORBIT_ENVS_METADATA
[
"package"
][
"version"
]
##
# Classic control
##
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment