Skip to content
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
2 changes: 1 addition & 1 deletion dm_control/composer/observation/obs_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def insert(self, timestamp, delay, value):
This function implicitly updates the internal "clock" of this buffer to
the timestamp of the new observation, and the internal buffer is trimmed
accordingly, i.e. at most `buffer_size` items whose delayed arrival time
preceeds `timestamp` are kept.
precedes `timestamp` are kept.

Args:
timestamp: The time at which this observation was made.
Expand Down
4 changes: 2 additions & 2 deletions dm_control/entities/props/duplo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def measure_separation_force(top_brick,
Args:
top_brick: An instance of `Duplo` representing the top brick.
bottom_brick: An instance of `Duplo` representing the bottom brick.
min_force: A force that should be insufficent to separate the bricks (N).
max_force: A force that should be sufficent to separate the bricks (N).
min_force: A force that should be insufficient to separate the bricks (N).
max_force: A force that should be sufficient to separate the bricks (N).
tolerance: The desired precision of the solution (N).
time_limit: The maximum simulation time (s) over which to apply force on
each iteration. Increasing this value will result in smaller estimates
Expand Down
2 changes: 1 addition & 1 deletion dm_control/locomotion/soccer/pitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _post_radius(goalpost_name, goalpost_radius):
if 'top' in goalpost_name:
radius *= 1.01 # Prevent z-fighting at the corners.
if 'support' in goalpost_name:
radius *= _SUPPORT_POST_RATIO # Suport posts are a bit narrower.
radius *= _SUPPORT_POST_RATIO # Support posts are a bit narrower.
return radius


Expand Down
2 changes: 1 addition & 1 deletion dm_control/locomotion/tasks/reference_pose/rewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def comic_reward_fn(termination_error, termination_error_threshold,
based on the termination error.
walker_features: Current features of the walker
reference_features: features of the current reference pose
unused_kwargs: unused addtional keyword arguments.
unused_kwargs: unused additional keyword arguments.

Returns:
RewardFnOutput tuple containing reward, debug terms and reward terms.
Expand Down
2 changes: 1 addition & 1 deletion dm_control/manipulation/bricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def _get_pairwise_stacking_rewards(physics, bricks, pairs, close_coef=0.1):
bricks: A list of `composer.Entity` instances corresponding to bricks.
pairs: A list of `(bottom_idx, top_idx)` tuples specifying which pairs of
bricks should be measured.
close_coef: Float specfying the relative weight given to the coarse-
close_coef: Float specifying the relative weight given to the coarse-
tolerance shaping component for getting the bricks close to one another
(as opposed to the fine-tolerance component for clicking them together).

Expand Down
2 changes: 1 addition & 1 deletion dm_control/mjcf/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _parse(xml_root, escape_separators=False,
# Merge in the included XML files.
for included_mjcf in to_include:
# The included MJCF might have been automatically assigned a model name
# that conficts with that of `mjcf_root`, so we override it here.
# that conflicts with that of `mjcf_root`, so we override it here.
included_mjcf.model = mjcf_root.model
mjcf_root.include_copy(included_mjcf)

Expand Down
2 changes: 1 addition & 1 deletion dm_control/mujoco/wrapper/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def object_velocity(self, object_id, object_type, local_frame=False):
object_id: Object identifier. Can be either integer ID or String name.
object_type: The type of the object. Can be either a lowercase string
(e.g. 'body', 'geom') or an `mjtObj` enum value.
local_frame: Boolean specifiying whether the velocity is given in the
local_frame: Boolean specifying whether the velocity is given in the
global (worldbody), or local (object) frame.

Returns:
Expand Down
2 changes: 1 addition & 1 deletion dm_control/suite/lqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _make_model(n_bodies,
An MJCF string describing the linear system.

Raises:
ValueError: If the number of bodies or actuators is erronous.
ValueError: If the number of bodies or actuators is erroneous.
"""
if n_bodies < 1 or n_actuators < 1:
raise ValueError('At least 1 body and 1 actuator required.')
Expand Down
Loading