• Mayank Mittal's avatar
    Removes extension startup messages from the Simulation App (#1217) · cc7112c6
    Mayank Mittal authored
    # Description
    
    This MR disables terminal spamming when launching the app. With the flag
    `/app/enableStdoutOutput` disabled, we no longer have the app output
    when the kit extensions are startup.
    
    Fixes #1097, #196
    
    ## Type of change
    
    - Breaking change (fix or feature that would cause existing
    functionality to not work as expected)
    
    ## Screenshots
    
    ```
    ./isaaclab.sh -p source/standalone/environments/zero_agent.py --task Isaac-Velocity-Rough-Anymal-C-v0 --num_envs 32
    ```
    
    Output:
    
    ```
    [INFO] Using python from: /home/mayank/mambaforge/envs/isaaclab-rsl/bin/python                                                   
    [INFO][AppLauncher]: Loading experience file: /home/mayank/git_nv/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/../../../../../../apps/isaaclab.python.kit
    Loading user config located at: '/media/vulcan/packman-repo/chk/kit-kernel/106.1.0+release.140981.10a4b5c0.gl.linux-x86_64.release/data/Kit/Isaac-Sim/4.2/user.config.json'
    [Info] [carb] Logging to file: /media/vulcan/packman-repo/chk/kit-kernel/106.1.0+release.140981.10a4b5c0.gl.linux-x86_64.release/logs/Kit/Isaac-Sim/4.2/kit_20241011_180901.log
    2024-10-11 16:09:01 [0ms] [Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available.
    
    |---------------------------------------------------------------------------------------------|
    | Driver Version: 535.183.01    | Graphics API: Vulkan
    |=============================================================================================|
    | GPU | Name                             | Active | LDA | GPU Memory | Vendor-ID | LUID       |
    |     |                                  |        |     |            | Device-ID | UUID       |
    |     |                                  |        |     |            | Bus-ID    |            |
    |---------------------------------------------------------------------------------------------|
    | 0   | NVIDIA RTX A6000                 | Yes: 0 |     | 49386   MB | 10de      | 0          |
    |     |                                  |        |     |            | 2230      | bffafd0e.. |
    |     |                                  |        |     |            | 68        |            |
    |=============================================================================================|
    | OS: 20.04.6 LTS (Focal Fossa) ubuntu, Version: 20.04.6, Kernel: 5.15.0-122-generic
    | XServer Vendor: The X.Org Foundation, XServer Version: 12013000 (1.20.13.0)
    | Processor: Intel(R) Core(TM) i9-9820X CPU @ 3.30GHz | Cores: 10 | Logical: 20
    |---------------------------------------------------------------------------------------------|
    | Total Memory (MB): 63970 | Free Memory: 41524
    | Total Page/Swap (MB): 2047 | Free Page/Swap: 2047
    |---------------------------------------------------------------------------------------------|
    2024-10-11 16:09:07 [6,565ms] [Warning] [omni.replicator.core.scripts.annotators] Annotator PostProcessDispatch is already registered, overwriting annotator template
    2024-10-11 16:09:08 [7,613ms] [Warning] [omni.kit.widget.cache_indicator.cache_state_menu] Unable to detect Omniverse Cache Server. Consider installing it for better IO performance.
    [INFO]: Parsing configuration from: <class 'omni.isaac.lab_tasks.manager_based.locomotion.velocity.config.anymal_c.rough_env_cfg.AnymalCRoughEnvCfg'>
    2024-10-11 16:09:17 [16,685ms] [Warning] [omni.isaac.lab.envs.manager_based_env] Seed not set for the environment. The environment creation may not be deterministic.
    [INFO]: Base environment:
        Environment device    : cuda:0
        Environment seed      : None
        Physics step-size     : 0.005
        Rendering step-size   : 0.02
        Environment step-size : 0.02
    [INFO] Generating terrains based on curriculum took : 1.881988 seconds
    [INFO]: Time taken for scene creation : 4.564743 seconds
    [INFO]: Scene manager:  <class InteractiveScene>
        Number of environments: 32
        Environment spacing   : 2.5
        Source prim name      : /World/envs/env_0
        Global prim paths     : ['/World/ground']
        Replicate physics     : True
    [INFO]: Starting the simulation. This may take a few seconds. Please wait...
    2024-10-11 16:09:29 [27,861ms] [Warning] [omni.hydra.scene_delegate.plugin] Calling getBypassRenderSkelMeshProcessing for prim /World/envs/env_0/Robot/LF_THIGH/visuals.proto_mesh_1_id1 that has not been populated
    2024-10-11 16:09:29 [27,880ms] [Warning] [omni.hydra] Mesh '/World/envs/env_0/Robot/base/visuals.proto_mesh_0_id0' has corrupted data in primvar 'st': buffer size 702 doesn't match expected size 12828 in faceVarying primvars
    [INFO]: Time taken for simulation start : 7.193578 seconds
    [INFO] Command Manager:  <CommandManager> contains 1 active terms.
    +------------------------------------------------+
    |              Active Command Terms              |
    +-------+---------------+------------------------+
    | Index | Name          |          Type          |
    +-------+---------------+------------------------+
    |   0   | base_velocity | UniformVelocityCommand |
    +-------+---------------+------------------------+
    
    [INFO] Action Manager:  <ActionManager> contains 1 active terms.
    +------------------------------------+
    |  Active Action Terms (shape: 12)   |
    +--------+-------------+-------------+
    | Index  | Name        |   Dimension |
    +--------+-------------+-------------+
    |   0    | joint_pos   |          12 |
    +--------+-------------+-------------+
    
    Module omni.isaac.lab.utils.warp.kernels 6cb40f6 load on device 'cuda:0' took 0.44 ms
    [INFO] Observation Manager: <ObservationManager> contains 1 groups.
    +----------------------------------------------------------+
    | Active Observation Terms in Group: 'policy' (shape: (235,)) |
    +-----------+--------------------------------+-------------+
    |   Index   | Name                           |    Shape    |
    +-----------+--------------------------------+-------------+
    |     0     | base_lin_vel                   |     (3,)    |
    |     1     | base_ang_vel                   |     (3,)    |
    |     2     | projected_gravity              |     (3,)    |
    |     3     | velocity_commands              |     (3,)    |
    |     4     | joint_pos                      |    (12,)    |
    |     5     | joint_vel                      |    (12,)    |
    |     6     | actions                        |    (12,)    |
    |     7     | height_scan                    |    (187,)   |
    +-----------+--------------------------------+-------------+
    
    [INFO] Event Manager:  <EventManager> contains 3 active terms.
    +--------------------------------------+
    | Active Event Terms in Mode: 'startup' |
    +----------+---------------------------+
    |  Index   | Name                      |
    +----------+---------------------------+
    |    0     | physics_material          |
    |    1     | add_base_mass             |
    +----------+---------------------------+
    +---------------------------------------+
    |  Active Event Terms in Mode: 'reset'  |
    +--------+------------------------------+
    | Index  | Name                         |
    +--------+------------------------------+
    |   0    | base_external_force_torque   |
    |   1    | reset_base                   |
    |   2    | reset_robot_joints           |
    +--------+------------------------------+
    +----------------------------------------------+
    |    Active Event Terms in Mode: 'interval'    |
    +-------+------------+-------------------------+
    | Index | Name       | Interval time range (s) |
    +-------+------------+-------------------------+
    |   0   | push_robot |       (10.0, 15.0)      |
    +-------+------------+-------------------------+
    
    [INFO] Termination Manager:  <TerminationManager> contains 2 active terms.
    +---------------------------------+
    |     Active Termination Terms    |
    +-------+--------------+----------+
    | Index | Name         | Time Out |
    +-------+--------------+----------+
    |   0   | time_out     |   True   |
    |   1   | base_contact |  False   |
    +-------+--------------+----------+
    
    [INFO] Reward Manager:  <RewardManager> contains 11 active terms.
    +-----------------------------------------+
    |           Active Reward Terms           |
    +-------+----------------------+----------+
    | Index | Name                 |   Weight |
    +-------+----------------------+----------+
    |   0   | track_lin_vel_xy_exp |      1.0 |
    |   1   | track_ang_vel_z_exp  |      0.5 |
    |   2   | lin_vel_z_l2         |     -2.0 |
    |   3   | ang_vel_xy_l2        |    -0.05 |
    |   4   | dof_torques_l2       |   -1e-05 |
    |   5   | dof_acc_l2           | -2.5e-07 |
    |   6   | action_rate_l2       |    -0.01 |
    |   7   | feet_air_time        |    0.125 |
    |   8   | undesired_contacts   |     -1.0 |
    |   9   | flat_orientation_l2  |      0.0 |
    |   10  | dof_pos_limits       |      0.0 |
    +-------+----------------------+----------+
    
    [INFO] Curriculum Manager:  <CurriculumManager> contains 1 active terms.
    +---------------------------+
    |  Active Curriculum Terms  |
    +--------+------------------+
    | Index  | Name             |
    +--------+------------------+
    |   0    | terrain_levels   |
    +--------+------------------+
    
    Creating window for environment.
    [INFO]: Completed setting up the environment...
    [INFO]: Gym observation space: Dict('policy': Box(-inf, inf, (32, 235), float32))
    [INFO]: Gym action space: Box(-inf, inf, (32, 12), float32)
    ```
    
    ## 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
    cc7112c6
Name
Last commit
Last update
..
snippets Loading commit data...
additional_resources.rst Loading commit data...
bibliography.rst Loading commit data...
changelog.rst Loading commit data...
contributing.rst Loading commit data...
issues.rst Loading commit data...
license.rst Loading commit data...
migration.rst Loading commit data...
troubleshooting.rst Loading commit data...