Skip to content

Commit 3abdbb2

Browse files
Mayankm96kellyguo11ooctipus
authored
Fixes some of the errors while building the docs (#3050)
# Description Fixes most of the warnings and errors getting thrown while building the docs locally. The ones from `isaaclab_mimic` still remain. ## Type of change - Bug fix (non-breaking change which fixes an issue) - This change requires a documentation update ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: Mayank Mittal <[email protected]> Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: ooctipus <[email protected]>
1 parent eac029d commit 3abdbb2

File tree

16 files changed

+31
-56
lines changed

16 files changed

+31
-56
lines changed

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@
182182
"pinocchio",
183183
"nvidia.srl",
184184
"flatdict",
185+
"IPython",
186+
"ipywidgets",
187+
"mpl_toolkits",
185188
]
186189

187190
# List of zero or more Sphinx-specific warning categories to be squelched (i.e.,

docs/source/api/lab/isaaclab.actuators.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ Ideal PD Actuator
6767
DC Motor Actuator
6868
-----------------
6969

70-
.. figure:: ../../../_static/overview/actuator-group/dc_motor_clipping.jpg
71-
:align: center
72-
:figwidth: 100%
73-
:alt: The effort clipping as a function of joint velocity for a linear DC Motor.
74-
7570
.. autoclass:: DCMotor
7671
:members:
7772
:inherited-members:

docs/source/features/multi_gpu.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Multi-GPU Training
1717
------------------
1818

1919
Isaac Lab supports the following multi-GPU training frameworks:
20+
2021
* `Torchrun <https://docs.pytorch.org/docs/stable/elastic/run.html>`_ through `PyTorch distributed <https://pytorch.org/docs/stable/distributed.html>`_
2122
* `JAX distributed <https://jax.readthedocs.io/en/latest/jax.distributed.html>`_
2223

@@ -30,7 +31,7 @@ training. Torchrun manages the distributed training by:
3031
* **Script Execution**: Running the same training script (e.g., RL Games trainer) on each process.
3132
* **Environment Instances**: Each process creates its own instance of the Isaac Lab environment.
3233
* **Gradient Synchronization**: Aggregating gradients across all processes and broadcasting the synchronized
33-
gradients back to each process after each training step.
34+
gradients back to each process after each training step.
3435

3536
.. tip::
3637
Check out this `3 minute youtube video from PyTorch <https://www.youtube.com/watch?v=Cvdhwx-OBBo&list=PL_lsbAsL_o2CSuhUhJIiW0IkdT5C2wGWj&index=2>`_
@@ -48,9 +49,11 @@ module to manage the distributed training. When training with multiple GPUs usin
4849
* Each GPU runs an independent process
4950
* Each process executes the full training script
5051
* Each process maintains its own:
52+
5153
* Isaac Lab environment instance (with *n* parallel environments)
5254
* Policy network copy
5355
* Experience buffer for rollout collection
56+
5457
* All processes synchronize only for gradient updates
5558

5659
For a deeper dive into how Torchrun works, checkout

docs/source/overview/teleop_imitation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Pre-recorded demonstrations
136136
^^^^^^^^^^^^^^^^^^^^^^^^^^^
137137

138138
We provide a pre-recorded ``dataset.hdf5`` containing 10 human demonstrations for ``Isaac-Stack-Cube-Franka-IK-Rel-v0``
139-
`here <https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/IsaacLab/Mimic/dataset.hdf5>`_.
139+
`here <https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/IsaacLab/Mimic/dataset.hdf5>`__.
140140
This dataset may be downloaded and used in the remaining tutorial steps if you do not wish to collect your own demonstrations.
141141

142142
.. note::
@@ -440,7 +440,7 @@ Generate the dataset
440440
^^^^^^^^^^^^^^^^^^^^
441441

442442
If you skipped the prior collection and annotation step, download the pre-recorded annotated dataset ``dataset_annotated_gr1.hdf5`` from
443-
`here <https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/IsaacLab/Mimic/dataset_annotated_gr1.hdf5>`_.
443+
`here <https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/IsaacLab/Mimic/dataset_annotated_gr1.hdf5>`__.
444444
Place the file under ``IsaacLab/datasets`` and run the following command to generate a new dataset with 1000 demonstrations.
445445

446446
.. code:: bash

docs/source/setup/walkthrough/api_env_design.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Next, let's take a look at the contents of the other python file in our task dir
8282

8383
.. code-block:: python
8484
85-
#imports
85+
# imports
8686
.
8787
.
8888
.

docs/source/setup/walkthrough/training_jetbot_reward_exploration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the x axis, so we apply the ``root_link_quat_w`` to ``[1,0,0]`` to get the forwa
2020
observations = {"policy": obs}
2121
return observations
2222
23-
So now what should the reward be?
23+
So now what should the reward be?
2424

2525
When the robot is behaving as desired, it will be driving at full speed in the direction of the command. If we reward both
2626
"driving forward" and "alignment to the command", then maximizing that combined signal should result in driving to the command... right?

source/isaaclab/docs/CHANGELOG.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Changelog
22
---------
33

44
0.41.4 (2025-07-30)
5-
~~~~~~~~~~~~~~~~~~~~
5+
~~~~~~~~~~~~~~~~~~~
66

77
Fixed
88
^^^^^
@@ -15,7 +15,7 @@ Fixed
1515

1616

1717
0.41.3 (2025-07-30)
18-
~~~~~~~~~~~~~~~~~~~~
18+
~~~~~~~~~~~~~~~~~~~
1919

2020
Added
2121
^^^^^
@@ -33,8 +33,7 @@ Removed
3333

3434

3535
0.41.2 (2025-07-28)
36-
~~~~~~~~~~~~~~~~~~~~
37-
36+
~~~~~~~~~~~~~~~~~~~
3837
Fixed
3938
^^^^^
4039

@@ -109,7 +108,7 @@ Fixed
109108
^^^^^
110109

111110
* Fixed :meth:`isaaclab.envs.mdp.events.reset_joints_by_scale`, :meth:`isaaclab.envs.mdp.events.reset_joints_by_offsets`
112-
restricting the resetting joint indices be that user defined joint indices.
111+
restricting the resetting joint indices be that user defined joint indices.
113112

114113

115114
0.40.19 (2025-07-11)

source/isaaclab/isaaclab/actuators/actuator_pd.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,12 @@ class DCMotor(IdealPDActuator):
246246
applied output torque will be driven to the Continuous Torque (`effort_limit`).
247247
248248
The figure below demonstrates the clipping action for example (velocity, torque) pairs.
249+
250+
.. figure:: ../../_static/actuator-group/dc_motor_clipping.jpg
251+
:align: center
252+
:figwidth: 100%
253+
:alt: The effort clipping as a function of joint velocity for a linear DC Motor.
254+
249255
"""
250256

251257
cfg: DCMotorCfg

source/isaaclab/isaaclab/sim/simulation_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class PhysxCfg:
9494
9595
We recommend setting this flag to true only when the simulation step size is large (i.e., less than 30 Hz or more than 0.0333 seconds).
9696
97-
.. warn::
97+
.. warning::
9898
9999
Enabling this flag may lead to incorrect contact forces report from the contact sensor.
100100
"""

source/isaaclab/test/sensors/test_contact_sensor.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ContactTestMode(Enum):
4444

4545

4646
@configclass
47-
class TestContactSensorRigidObjectCfg(RigidObjectCfg):
47+
class ContactSensorRigidObjectCfg(RigidObjectCfg):
4848
"""Configuration for rigid objects used for the contact sensor test.
4949
5050
This contains the expected values in the configuration to simplify test fixtures.
@@ -63,13 +63,13 @@ class ContactSensorSceneCfg(InteractiveSceneCfg):
6363
terrain: TerrainImporterCfg = MISSING
6464
"""Terrain configuration within the scene."""
6565

66-
shape: TestContactSensorRigidObjectCfg = MISSING
66+
shape: ContactSensorRigidObjectCfg = MISSING
6767
"""RigidObject contact prim configuration."""
6868

6969
contact_sensor: ContactSensorCfg = MISSING
7070
"""Contact sensor configuration."""
7171

72-
shape_2: TestContactSensorRigidObjectCfg = None
72+
shape_2: ContactSensorRigidObjectCfg = None
7373
"""RigidObject contact prim configuration. Defaults to None, i.e. not included in the scene.
7474
7575
This is a second prim used for testing contact filtering.
@@ -87,7 +87,7 @@ class ContactSensorSceneCfg(InteractiveSceneCfg):
8787
##
8888

8989

90-
CUBE_CFG = TestContactSensorRigidObjectCfg(
90+
CUBE_CFG = ContactSensorRigidObjectCfg(
9191
prim_path="/World/Objects/Cube",
9292
spawn=sim_utils.CuboidCfg(
9393
size=(0.5, 0.5, 0.5),
@@ -106,7 +106,7 @@ class ContactSensorSceneCfg(InteractiveSceneCfg):
106106
)
107107
"""Configuration of the cube prim."""
108108

109-
SPHERE_CFG = TestContactSensorRigidObjectCfg(
109+
SPHERE_CFG = ContactSensorRigidObjectCfg(
110110
prim_path="/World/Objects/Sphere",
111111
spawn=sim_utils.SphereCfg(
112112
radius=0.25,
@@ -125,7 +125,7 @@ class ContactSensorSceneCfg(InteractiveSceneCfg):
125125
)
126126
"""Configuration of the sphere prim."""
127127

128-
CYLINDER_CFG = TestContactSensorRigidObjectCfg(
128+
CYLINDER_CFG = ContactSensorRigidObjectCfg(
129129
prim_path="/World/Objects/Cylinder",
130130
spawn=sim_utils.CylinderCfg(
131131
radius=0.5,
@@ -146,7 +146,7 @@ class ContactSensorSceneCfg(InteractiveSceneCfg):
146146
)
147147
"""Configuration of the cylinder prim."""
148148

149-
CAPSULE_CFG = TestContactSensorRigidObjectCfg(
149+
CAPSULE_CFG = ContactSensorRigidObjectCfg(
150150
prim_path="/World/Objects/Capsule",
151151
spawn=sim_utils.CapsuleCfg(
152152
radius=0.25,
@@ -167,7 +167,7 @@ class ContactSensorSceneCfg(InteractiveSceneCfg):
167167
)
168168
"""Configuration of the capsule prim."""
169169

170-
CONE_CFG = TestContactSensorRigidObjectCfg(
170+
CONE_CFG = ContactSensorRigidObjectCfg(
171171
prim_path="/World/Objects/Cone",
172172
spawn=sim_utils.ConeCfg(
173173
radius=0.5,
@@ -397,7 +397,7 @@ def test_sensor_print(setup_simulation):
397397

398398

399399
def _run_contact_sensor_test(
400-
shape_cfg: TestContactSensorRigidObjectCfg,
400+
shape_cfg: ContactSensorRigidObjectCfg,
401401
sim_dt: float,
402402
devices: list[str],
403403
terrains: list[TerrainImporterCfg],

0 commit comments

Comments
 (0)