Skip to content

Managed environments actions / observations descriptions #2730

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

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fbd4ff0
very quick prototyping of the Obs outputs
AntoineRichard May 20, 2025
7336b89
It sort of works, but it's messy. Maybe we should use latch on to the…
AntoineRichard May 21, 2025
961defe
Added a new auto-magik decorator that should help streamline the proc…
AntoineRichard Jun 10, 2025
381ff45
removed the custom logic used to bypass the checks inside the manager…
AntoineRichard Jun 10, 2025
d6fcf72
added ugly temporary logic to handle the YAML convertion. Need to cle…
AntoineRichard Jun 10, 2025
634bc26
added ugly temporary logic to handle the YAML convertion. Need to cle…
AntoineRichard Jun 10, 2025
e91bda3
passing pre-commits
AntoineRichard Jun 10, 2025
5d42ed2
WIP added action thingys
AntoineRichard Jun 10, 2025
8d1a6f8
Readying code for clean-up
AntoineRichard Jun 11, 2025
ce14a98
Forgot to add some code...
AntoineRichard Jun 11, 2025
6ceb35f
Forgot to add some code...
AntoineRichard Jun 11, 2025
b2d2bf1
undid changes to random action
AntoineRichard Jun 11, 2025
699595e
chanegd naming conventions
AntoineRichard Jun 11, 2025
d115827
added stripping of doc strings + units here and here
AntoineRichard Jun 12, 2025
35ba3a7
happy pre-commits
AntoineRichard Jun 18, 2025
8c2539c
added FIXME
AntoineRichard Jul 8, 2025
f913b78
Updated based on feedback
AntoineRichard Jul 10, 2025
17cd43c
Should be good
AntoineRichard Jul 10, 2025
b0a2b5e
ran pre-commits
AntoineRichard Jul 10, 2025
eb6a339
Added sim info
AntoineRichard Jul 10, 2025
60d9480
added param to limit action exports on some terms
AntoineRichard Jul 10, 2025
92ccb45
Started working on the doc.
AntoineRichard Jul 18, 2025
7e3b4c3
started working on tutorial
AntoineRichard Jul 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,344 @@
actions:
- action_type: JointAction
clip: null
dtype: torch.float32
extras:
description: Joint action term that applies the processed actions to the articulation's
joints as position commands.
full_path: isaaclab.envs.mdp.actions.joint_actions.JointPositionAction
joint_names:
- LF_HAA
- LH_HAA
- RF_HAA
- RH_HAA
- LF_HFE
- LH_HFE
- RF_HFE
- RH_HFE
- LF_KFE
- LH_KFE
- RF_KFE
- RH_KFE
mdp_type: Action
name: joint_position_action
offset:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.4000000059604645
- -0.4000000059604645
- 0.4000000059604645
- -0.4000000059604645
- -0.800000011920929
- 0.800000011920929
- -0.800000011920929
- 0.800000011920929
scale: 0.5
shape:
- 12
articulations:
robot:
default_joint_armature:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
default_joint_damping:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
default_joint_friction:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
default_joint_pos:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.4000000059604645
- -0.4000000059604645
- 0.4000000059604645
- -0.4000000059604645
- -0.800000011920929
- 0.800000011920929
- -0.800000011920929
- 0.800000011920929
default_joint_pos_limits:
- - -0.7853984236717224
- 0.6108654141426086
- - -0.7853984236717224
- 0.6108654141426086
- - -0.6108654141426086
- 0.7853984236717224
- - -0.6108654141426086
- 0.7853984236717224
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
- - -9.42477798461914
- 9.42477798461914
default_joint_stiffness:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
default_joint_vel:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
joint_names:
- LF_HAA
- LH_HAA
- RF_HAA
- RH_HAA
- LF_HFE
- LH_HFE
- RF_HFE
- RH_HFE
- LF_KFE
- LH_KFE
- RF_KFE
- RH_KFE
observations:
policy:
- dtype: torch.float32
extras:
axes:
- X
- Y
- Z
description: Root linear velocity in the asset's root frame.
modifiers: null
units: m/s
full_path: isaaclab.envs.mdp.observations.base_lin_vel
mdp_type: Observation
name: base_lin_vel
observation_type: RootState
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 3
- dtype: torch.float32
extras:
axes:
- X
- Y
- Z
description: Root angular velocity in the asset's root frame.
modifiers: null
units: rad/s
full_path: isaaclab.envs.mdp.observations.base_ang_vel
mdp_type: Observation
name: base_ang_vel
observation_type: RootState
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 3
- dtype: torch.float32
extras:
axes:
- X
- Y
- Z
description: Gravity projection on the asset's root frame.
modifiers: null
units: m/s^2
full_path: isaaclab.envs.mdp.observations.projected_gravity
mdp_type: Observation
name: projected_gravity
observation_type: RootState
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 3
- dtype: torch.float32
extras:
description: The generated command from command term in the command manager
with the given name.
modifiers: null
full_path: isaaclab.envs.mdp.observations.generated_commands
mdp_type: Observation
name: generated_commands
observation_type: Command
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 3
- dtype: torch.float32
extras:
description: 'The joint positions of the asset w.r.t. the default joint positions.
Note: Only the joints configured in :attr:`asset_cfg.joint_ids` will have
their positions returned.'
modifiers: null
units: rad
full_path: isaaclab.envs.mdp.observations.joint_pos_rel
joint_names:
- LF_HAA
- LH_HAA
- RF_HAA
- RH_HAA
- LF_HFE
- LH_HFE
- RF_HFE
- RH_HFE
- LF_KFE
- LH_KFE
- RF_KFE
- RH_KFE
joint_pos_offsets:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.4000000059604645
- -0.4000000059604645
- 0.4000000059604645
- -0.4000000059604645
- -0.800000011920929
- 0.800000011920929
- -0.800000011920929
- 0.800000011920929
mdp_type: Observation
name: joint_pos_rel
observation_type: JointState
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 12
- dtype: torch.float32
extras:
description: 'The joint velocities of the asset w.r.t. the default joint velocities.
Note: Only the joints configured in :attr:`asset_cfg.joint_ids` will have
their velocities returned.'
modifiers: null
units: rad/s
full_path: isaaclab.envs.mdp.observations.joint_vel_rel
joint_names:
- LF_HAA
- LH_HAA
- RF_HAA
- RH_HAA
- LF_HFE
- LH_HFE
- RF_HFE
- RH_HFE
- LF_KFE
- LH_KFE
- RF_KFE
- RH_KFE
joint_vel_offsets:
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
mdp_type: Observation
name: joint_vel_rel
observation_type: JointState
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 12
- dtype: torch.float32
extras:
description: The last input action to the environment. The name of the action
term for which the action is required. If None, the entire action tensor is
returned.
modifiers: null
full_path: isaaclab.envs.mdp.observations.last_action
mdp_type: Observation
name: last_action
observation_type: Action
overloads:
clip: null
flatten_history_dim: true
history_length: 0
scale: null
shape:
- 12
scene:
decimation: 4
dt: 0.02
physics_dt: 0.005
Loading
Loading