Fix force action dim bug and joint dof bug
Hello, I found two bugs and fixed them. I hope this will help brax. 1: When applying multiple forces to a body, the dimension of action only counts one of the forces (only +3), after my fix it will count each force (+3*n, n represents the number of forces). 2: I found that an environment must have an actuator, otherwise it will report an error, which doesn't make sense. I modified it so that no error is reported even when there is no actuator, and it can proceed normally.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Hi @GengYiran - thanks for opening this PR. We're well on our way to preparing v2 for full release, which has a much more elegant handling of joint dofs and generalized forces vs actuators, so please do have a look there and see if it works for you.
I'm going to close this PR as it relates to v1 which is hopefully soon to be deprecated.