From 7fcc06a65dbbe87d1c07be7b53ca96c8db1ab0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Bj=C3=B8rndahl=20Mortensen?= <56405924+abmoRobotics@users.noreply.github.com> Date: Mon, 22 Jan 2024 10:46:39 +0100 Subject: [PATCH] Fixes the tensor shape for contact sensor's force matrix data (#195) # Description This MR changed the shape of `omni.isaac.orbit.sensors.contact_sensor.ContactSensorData.force_matrix_w` in [ContactSensor#L215-L217](https://github.com/NVIDIA-Omniverse/orbit/blob/963f3045367be3ccdac4f0902ac2103fcbb6070f/source/extensions/omni.isaac.orbit/omni/isaac/orbit/sensors/contact_sensor/contact_sensor.py#L215-L217) from `(num_envs, num_bodies, num_shapes, num_filters, 3)` to `(num_envs, num_bodies, num_filters, 3)`. This makes the returned tensor shape valid with the data obtained from PhysX. Fixes #193 ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Videos I have implemented this in an ORBIT environment and now get the expected behaviour Before | After (resets only the robot collides with obstacles) --|--