[杂项] 添加公共选项,以全局启用信息批量处理。

作者: stergiosba创建于 2026年6月25日更新于 2026年9月6日
标签bugdocumentation

Bug Description Hi team, this is not a bug but in my opinion some parameters/options need better documentation. The best example of this is the batch_dofs_info option. I had to look into the solver's code to see what this is doing and how its converting the shapes. The parameter is missing from the RigidOptions docs in general. For someone who is like me and doesn't "just get it", if you don't know about this parameter all the getter and setters for a RigidEntity will have wrong shape and from this someone can infer that the feature has not been implemented yet or get errors that scream about the shape (in setter functions). Parameters of RigidEntity objects in the scene such as: - get_dofs_act_gain - get_dofs_bias - get_dofs_force_range ... All are affected and have shape (n_dofs) instead of the expected (n_envs, n_dofs). Note: I understand why this parameter is set to false by default for performance reasons. KinematicOptions on the other hand are defined as: https://GitHub.com/Genesis-Embodied-AI/genesis-world/blob/4cfb9f04679ffd5d1007c695e72de15f86a929e6/genesis/options/solvers.py#L352-L373 Here we can immediately see what this is.

内容来源: Genesis-Embodied-AI/genesis-world