mjSpec and mjcb_control callback #2933
-
IntroHi! I am a graduate student, I am using mjSpec for a legged robot's system identification task. My setupCurrently using MuJoCo Python API. My questionI am new to using MjSpec. I am using mjSpec to tweak the robot model in an optimization cost function. I realised that we get I wish this were illustrated in an example in the mjSpec Colab tutorial. All the examples include passive simulations. Politely tagging @quagla, since he seems to answer all the spec related queries! Minimal model and/or code that explain my questionMRE: Confirmations
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Unfortunately because callbacks are global there is no way to disable then during compilation. So the solution is indeed what you say, install the callback after compilation. We should document this. I guess here? |
Beta Was this translation helpful? Give feedback.
Unfortunately because callbacks are global there is no way to disable then during compilation. So the solution is indeed what you say, install the callback after compilation. We should document this. I guess here?