MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / get_joint_pos_rel

Function get_joint_pos_rel

TextOpTracker/scripts/deploy_mujoco.py:560–562  ·  view source on GitHub ↗

Get relative joint positions

(sim_data)

Source from the content-addressed store, hash-verified

558
559
560def get_joint_pos_rel(sim_data):
561 """Get relative joint positions"""
562 return sim_data.qpos[7:36] - default_angles # shape [29]
563
564
565def get_joint_vel_rel(sim_data):

Callers 2

compute_observationMethod · 0.85
compute_observationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected