Commit 8af1fadd authored by Kelly Guo's avatar Kelly Guo Committed by Kelly Guo

Fixes docstring for semantic_segmentation_mapping (#367)

# Description

Fixes docstring description of dictionary example for CameraCfg
semantic_segmentation_mapping to properly format dictionary in
documentation.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- 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
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
parent 9f137473
...@@ -119,7 +119,9 @@ class CameraCfg(SensorBaseCfg): ...@@ -119,7 +119,9 @@ class CameraCfg(SensorBaseCfg):
"""Dictionary mapping semantics to specific colours """Dictionary mapping semantics to specific colours
Eg. Eg.
```
.. code-block:: python
{ {
"class:cube_1": (255, 36, 66, 255), "class:cube_1": (255, 36, 66, 255),
"class:cube_2": (255, 184, 48, 255), "class:cube_2": (255, 184, 48, 255),
...@@ -128,5 +130,5 @@ class CameraCfg(SensorBaseCfg): ...@@ -128,5 +130,5 @@ class CameraCfg(SensorBaseCfg):
"class:ground": (100, 100, 100, 255), "class:ground": (100, 100, 100, 255),
"class:robot": (61, 178, 255, 255), "class:robot": (61, 178, 255, 255),
} }
```
""" """
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment