跳转至

config

Configuration for sim2real runtimes.

类:

名称 描述
BasePlayRuntimeConfig

Non-ROS configuration shared by sim2real base_play runtimes.

函数:

名称 描述
build_internal_trajectory

Return the default internal reference trajectory.

BasePlayRuntimeConfig dataclass

BasePlayRuntimeConfig(model_path: str = '', trajectory: BaseTrajectory = build_internal_trajectory(), params: VehicleParams = VehicleParams(), controller_backend: str = 'policy', control_mode: str = 'cmd_ctbr', command_mode: str = 'tgt_pos', device: str = 'cpu', trajectory_time_offset: float = 0.0, mapping: FlightMappingConfig = FlightMappingConfig(), thrust_model: ThrustModelConfig = ThrustModelConfig())

Non-ROS configuration shared by sim2real base_play runtimes.

方法:

名称 描述
__post_init__

Validate runtime configuration and resolve mapping defaults.

__post_init__

__post_init__()

Validate runtime configuration and resolve mapping defaults.

build_internal_trajectory

build_internal_trajectory() -> BaseTrajectory

Return the default internal reference trajectory.