"""RSL-RL PPO runner config (rsl_rl via Isaac Lab 3.0) for Isaac-GolfCartDriver-PathFollow-v0. Research and simulation project only. Do not install this device in a real vehicle or attempt to drive a vehicle with it. It has not been built or tested on any vehicle. Simulation-tested ยท Not built. Iterations, steps per env and seed come from spec.yaml rl (through params.json); the network sizes and PPO hyper-parameters are DESIGN choices recorded in DESIGN_LOG D21. """ from isaaclab.utils import configclass from isaaclab_rl.rsl_rl import RslRlMLPModelCfg, RslRlOnPolicyRunnerCfg, RslRlPpoAlgorithmCfg from ..env_cfg import P @configclass class GolfCartPPORunnerCfg(RslRlOnPolicyRunnerCfg): seed = int(P["seed"]) + int(P["rl"]["seed_offset"]) num_steps_per_env = int(P["rl"]["num_steps_per_env"]) max_iterations = int(P["rl"]["max_iterations"]) save_interval = 50 experiment_name = "golf_cart_path_follow" obs_groups = {"actor": ["policy"], "critic": ["critic"]} actor = RslRlMLPModelCfg(hidden_dims=[256, 128, 64], activation="elu", obs_normalization=True, distribution_cfg=RslRlMLPModelCfg.GaussianDistributionCfg(init_std=0.4)) critic = RslRlMLPModelCfg(hidden_dims=[512, 256, 128], activation="elu", obs_normalization=True) algorithm = RslRlPpoAlgorithmCfg(value_loss_coef=1.0, use_clipped_value_loss=True, clip_param=0.2, entropy_coef=0.003, num_learning_epochs=5, num_mini_batches=4, learning_rate=1.0e-3, schedule="adaptive", gamma=0.99, lam=0.95, desired_kl=0.01, max_grad_norm=1.0)