Commit b70aa11f authored by Michael Gussert's avatar Michael Gussert Committed by Kelly Guo

Edits the tutorial for contact sensor overview (#291)

Minor edits to the contact sensor overview to clarify the difference in
output between net contact forces and force matrix when filtered bodies
are not in contact with each other.

## 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
- [X] I have added tests that prove my fix is effective or that my
feature works
- [X] 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
parent 5991713b
...@@ -72,7 +72,14 @@ Here, we print both the net contact force and the filtered force matrix for each ...@@ -72,7 +72,14 @@ Here, we print both the net contact force and the filtered force matrix for each
Received force matrix of: tensor([[[[0., 0., 0.]]]], device='cuda:0') Received force matrix of: tensor([[[[0., 0., 0.]]]], device='cuda:0')
Received contact force of: tensor([[[1.3529e-05, 0.0000e+00, 1.0069e+02]]], device='cuda:0') Received contact force of: tensor([[[1.3529e-05, 0.0000e+00, 1.0069e+02]]], device='cuda:0')
Notice that even with filtering, both sensors report the net contact force acting on the foot. However only the left foot has a non zero "force matrix", because the right foot isn't standing on the filtered body, ``/World/envs/env_.*/Cube``. Now, checkout the data coming from the hind feet!
.. figure:: ../../_static/overview/overview_sensors_contact_visualization.jpg
:align: center
:figwidth: 100%
:alt: The contact sensor visualization
Notice that even with filtering, both sensors report the net contact force acting on the foot. However, the "force matrix" on the right foot is zero because that foot isn't in contact with the filtered body, ``/World/envs/env_.*/Cube``. Now, checkout the data coming from the hind feet!
.. code-block:: bash .. code-block:: bash
......
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