界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

mdp-components

mdp-components

【效率与协作】Use mjlab built-in actions, actuators, observations, rewards, terminations, events, commands, curricula, metrics, and task-specific MDP terms.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: mdp-components description: "Use mjlab built-in actions, actuators, observations, rewards, terminations, events, commands, curricula, metrics, and task-specific MDP terms." metadata: disco-role: operating disable-model-invocation: true license: Apache 2.0

mdp-components

Use this sub-skill when a task asks which mjlab MDP term, action config, actuator config, command generator, reward, termination, curriculum, or built-in task-family component to use.

Start here

  • Read actions-actuators.md for policy action terms, actuator configs, scaling/offset/clip, delay, and differential IK.
  • Read mdp-term-catalog.md for built-in observation, reward, termination, event, command, curriculum, and metric functions.
  • Read task-specific-mdp.md for velocity, tracking, manipulation, and cartpole term patterns.
  • Read troubleshooting.md when actions have the wrong dimension, rewards have the wrong sign, commands are missing, or target regexes fail.
  • Run scripts/inspect_mdp_terms.py to list public callables/signatures from installed mjlab MDP modules.

Quick choices

NeedTypical mjlab surface
Drive joints from policy outputJointPositionActionCfg, JointVelocityActionCfg, JointEffortActionCfg, or RelativeJointPositionActionCfg
Reuse XML actuatorsXmlActuatorCfg on EntityArticulationInfoCfg
Stable implicit PD in MuJoCoBuiltinPositionActuatorCfg, BuiltinPdActuatorCfg, or BuiltinDcMotorActuatorCfg
Explicit torque/PD/DC dynamicsIdealPdActuatorCfg, DcMotorActuatorCfg, LearnedMlpActuatorCfg
Robot target lookupSceneEntityCfg with joint/body/geom/site/actuator names
Standard observationsmjlab.envs.mdp.observations functions
Standard penalties/rewardsmjlab.envs.mdp.rewards plus task-family rewards
Episode stop logicmjlab.envs.mdp.terminations and task-family terminations
Reset or perturb statesEventTermCfg with event functions

Boundary routing

我的收藏