Replies: 2 comments
-
Hi @theorska ! I think you want to use the legacy spring joint update by tacking on a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you @btaba, indeed it was the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am looking at a code that was made a couple of years ago, probably in version
0.0.5
. Here is the code that I am trying to implement for my case:In this
qp
is a QP object. In recent versions I believe this would look something like this:The code that I am transforming accesses
dp_j.vel
anddp_j.ang
, butdp_j
is a Q object which does not have these attributes and the return of joint apply confirms that it is indeed a Q object.Can I ask why was this possible to do in that version of Brax, or what am I missing? How would I get these values in current versions?
Maybe something like:
env.sys.integrator.update(qp, pos_q=dq_j)
?Thank you for your answer in advance.
Beta Was this translation helpful? Give feedback.
All reactions