Skip to content

How to display and output contact force and joint information in the process or results of reinforcement learning? #2833

Discussion options

You must be logged in to vote

Thank you for posting this. I'll move your question to our Discussions section for follow up. To start, here are some implementation strategies and notes to consider:

1. Joint State Monitoring

Use the robot's articulation API to access joint data without additional sensors:

# Get joint positions and velocities
joint_pos = scene["robot"].data.joint_pos
joint_vel = scene["robot"].data.joint_vel

# Get measured joint forces (e.g., motor torques)
joint_efforts = scene["robot"].data.measured_joint_efforts

These properties update automatically during simulation1.

2. Foot-Ground Contact Sensing

Add contact sensors to the feet using ContactSensorCfg:

from isaaclab.sensors import ContactSensorCfg

c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TomJimmy-33
Comment options

Answer selected by TomJimmy-33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2818 on July 01, 2025 21:14.