Make "acc" the default computation stage for sensors of type user.

PiperOrigin-RevId: 492689134
Change-Id: I21c07c74cb4b94d39c091ae98b169fd1235769d4
This commit is contained in:
Yuval Tassa
2022-12-03 07:49:27 -08:00
committed by Copybara-Service
parent 66cb7d611b
commit dee1d6020a
4 changed files with 26 additions and 5 deletions
+1 -1
View File
@@ -3943,7 +3943,7 @@ bodies whose center of mass is of interest.
The type of output generated by this sensor. "axis" means a unit-length 3D vector. "quat" means a unit quaternion.
These need to be declared because when MuJoCo adds noise, it must respect the vector normalization. "real" means a
generic array (or scalar) of real values to which noise can be added independently.
:at:`needstage`: :at-val:`[pos, vel, acc], required`
:at:`needstage`: :at-val:`[pos, vel, acc], "acc"`
The MuJoCo computation stage that must be completed before the user callback mjcb_sensor() is able to evaluate the
output of this sensor.
:at:`dim`: :at-val:`int, required`