Skip to content

Updates locomotion configs to fix body_com error #2655

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Expand Up @@ -87,3 +87,4 @@ def __post_init__(self):
# remove random pushing event
self.events.base_external_force_torque = None
self.events.push_robot = None
self.events.base_com = None
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,5 @@ def __post_init__(self):
self.commands.base_velocity.ranges.heading = (0.0, 0.0)
# disable randomization for play
self.observations.policy.enable_corruption = False
# disable com randomization
self.events.base_com = None
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,4 @@ def __post_init__(self):
# remove random pushing
self.events.base_external_force_torque = None
self.events.push_robot = None
self.events.base_com = None
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ def __post_init__(self):
# remove random pushing event
self.events.base_external_force_torque = None
self.events.push_robot = None
self.events.base_com = None
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ def __post_init__(self):
# remove random pushing event
self.events.base_external_force_torque = None
self.events.push_robot = None
self.events.base_com = None
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,4 @@ def __post_init__(self):
# remove random pushing
self.events.base_external_force_torque = None
self.events.push_robot = None
self.events.base_com = None
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class SpotTerminationsCfg:
@configclass
class SpotFlatEnvCfg(LocomotionVelocityRoughEnvCfg):

# Basic settings'
# Basic settings
observations: SpotObservationsCfg = SpotObservationsCfg()
actions: SpotActionsCfg = SpotActionsCfg()
commands: SpotCommandsCfg = SpotCommandsCfg()
Expand Down Expand Up @@ -380,5 +380,3 @@ def __post_init__(self) -> None:
# disable randomization for play
self.observations.policy.enable_corruption = False
# remove random pushing event
# self.events.base_external_force_torque = None
# self.events.push_robot = None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to delete this line too?