跳转至

events

函数:

名称 描述
randomize_action_term_attr

Randomize a selected action-term attribute.

randomize_controller_params

Randomize controller gains and command limits attached to an action term.

randomize_mixer_params

Randomize mixer parameters attached to an action term.

randomize_rotor_params

Randomize rotor parameters attached to an action term.

randomize_action_term_attr

randomize_action_term_attr(env: ManagerBasedRlEnv, env_ids: Tensor | None, action_term_name: str = 'rotor_commands', attr_name: str = '_flight_controller', **kwargs) -> None

Randomize a selected action-term attribute.

randomize_controller_params

randomize_controller_params(env: ManagerBasedRlEnv, env_ids: Tensor | None, action_term_name: str = 'rotor_commands', controller_attr: str = '_flight_controller', gains: dict | None = None, limits: dict | None = None) -> None

Randomize controller gains and command limits attached to an action term.

randomize_mixer_params

randomize_mixer_params(env: ManagerBasedRlEnv, env_ids: Tensor | None, action_term_name: str = 'rotor_commands', mixer_attr: str = '_mixer', param_range: dict[str, tuple[float, float]] | None = None) -> None

Randomize mixer parameters attached to an action term.

randomize_rotor_params

randomize_rotor_params(env: ManagerBasedRlEnv, env_ids: Tensor | None, action_term_name: str = 'rotor_commands', rotor_attr: str = '_rotor_dynamics', param_range: dict[str, tuple[float, float]] | None = None) -> None

Randomize rotor parameters attached to an action term.