Skip to content

[Question] Implementation of Multiple Contact Sensors on a Single Body and Identification of Contacting Bodies #2026

Discussion options

You must be logged in to vote

Quick update: I'm trying to implement the get_contact_data function from omni.physics.impl.api to try and get the detailed contact data between sensors and filter prims per patch.

So far I have modified the contact_sensor.py, contact_sensor_data.py, and contact_sensor_cfg.py scripts as follow:

contact_sensor_cfg.py

# Copyright (c) 2022-2025, The Isaac Lab Project Developers.
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause

from isaaclab.markers import VisualizationMarkersCfg
from isaaclab.markers.config import CONTACT_SENSOR_MARKER_CFG
from isaaclab.utils import configclass

from ..sensor_base_cfg import SensorBaseCfg
from .contact_sensor import ContactSensor

@configclass

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by virgilio96upm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@virgilio96upm
Comment options

Comment options

You must be logged in to vote
1 reply
@virgilio96upm
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zhexulong
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #2010 on March 06, 2025 02:54.