{
 "generated_by": "package/src/gen_isaac.py (uv run tasks.py train / export); do not edit by hand",
 "disclaimer": "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.",
 "status": "Simulation-tested \u00b7 Not built",
 "task": "Isaac-GolfCartDriver-PathFollow-v0",
 "backend": "PhysX",
 "usd_path": "robot/robot.usd",
 "physics_dt": 0.005,
 "policy_hz": 20.0,
 "decimation": 10,
 "cmd_delivery_substep": 6,
 "chain_deadline_s": 0.03,
 "mcu_period_s": 0.005,
 "mujoco_timestep": 0.002,
 "kit_joints": [
  "steer_hub_joint",
  "brake_drum_joint",
  "brake_slider_joint",
  "throttle_drum_joint",
  "throttle_lever_joint"
 ],
 "actuators": {
  "steer_motor": {
   "joint": "steer_hub_joint",
   "kp": 150.0,
   "kv": 9.46829,
   "stall_nm": 23.3662,
   "no_load_rad_s": 2.807798434145878,
   "rate": 2.0,
   "accel": 10.0,
   "armature": 0.0829059,
   "lower": -7.85398,
   "upper": 7.85398,
   "backdrive_friction": 1.0,
   "clutch_nm": 15.0,
   "drypark_rate": 0.5,
   "drypark_accel": 2.5,
   "hold_rad_s": 2.133926809950867,
   "hold_damping_factor": 4.0
  },
  "brake_motor": {
   "joint": "brake_drum_joint",
   "kp": 24.596,
   "kv": 0.715069,
   "stall_nm": 6.149,
   "no_load_rad_s": 11.231193736583512,
   "rate": 7.861835615608458,
   "accel": 26.20611871869486,
   "armature": 0.00518162,
   "lower": 0.0,
   "upper": 12.5,
   "backdrive_friction": 0.25,
   "apply_accel": 52.41223743738972,
   "drum_latch": {
    "q_ready": 1.1666666666666667,
    "dwell_s": 0.2,
    "tol_rad": 0.02,
    "tol_rad_s": 0.05,
    "overtravel_rad": 0.15,
    "release_delay_s": 0.034999999999999996,
    "handover_cap_frac": 1.0,
    "pawl_k_nm_per_rad": 100.0,
    "pawl_c_nms_per_rad": 1.0
   }
  },
  "throttle_servo": {
   "joint": "throttle_drum_joint",
   "kp": 29.42,
   "kv": 1.18588,
   "stall_nm": 2.942,
   "no_load_rad_s": 4.717,
   "rate": 3.141592653589793,
   "accel": 6.283185307179586,
   "armature": 0.0119025,
   "lower": 0.0,
   "upper": 4.71239,
   "backdrive_friction": 0.196133
  }
 },
 "kit": {
  "pusher_gap": 0.01,
  "ready_slider": 0.007,
  "brake_drum_radius": 0.006,
  "throttle_drum_radius": 0.015,
  "lever_arm": 0.12,
  "slider_spring_k": 1000.0,
  "slider_spring_ref": 0.42,
  "slider_friction_n": 38.25,
  "slider_travel": 0.075,
  "lever_spring_k": 1.01868,
  "lever_spring_ref": -0.589,
  "lever_friction_nm": 0.09,
  "lever_range": 0.589,
  "brake_buildup_s": 0.1,
  "pedal_stop_k": 500000.0,
  "friction_vel_eps": {
   "slider_mps": 0.002,
   "lever_rad_s": 0.02,
   "steer_rad_s": 0.2
  },
  "mimic": {
   "brake_slider_joint": {
    "leader": "brake_drum_joint",
    "multiplier": 0.006
   },
   "throttle_lever_joint": {
    "leader": "throttle_drum_joint",
    "multiplier": 0.125
   }
  }
 },
 "vehicles": {
  "V1": {
   "name": "Club Car Onward 2 Passenger (Base Li-Ion), electric",
   "mass_kg": 312.1907875,
   "wheel_rot_mass_kg": 17.999990423703267,
   "wheelbase": 1.664,
   "r_wheel": 0.2285,
   "top_speed": 8.494,
   "steering_ratio": 12.0,
   "steering_ratio_range": [
    9.0,
    14.0
   ],
   "hub_lock_rad": 7.85398,
   "knuckle_lock_rad": 0.6981317007977318,
   "steer_torque_rolling_nm": 2.5,
   "steer_torque_drypark_nm": 7.0,
   "steer_viscous_nms": 0.3,
   "steer_chain_inertia": {
    "column_kgm2": 0.059999999999999984,
    "knuckles_reflected_kgm2": 0.002256527777777764,
    "hub_with_armature_kgm2": 0.08941425000065029,
    "extra_kgm2": 0.06225652777777775
   },
   "mass_front_fraction": 0.42,
   "rolling_resistance": 0.015,
   "drive_max_force": 1500.0,
   "drive_force_range": [
    1200.0,
    1800.0
   ],
   "brake_pedal": {
    "travel": 0.06,
    "free_travel": 0.015,
    "f0": 30.0,
    "k_free": 500.0,
    "k_engaged": 8000.0,
    "decel_gain": 0.012,
    "decel_gain_range": [
     0.008,
     0.016
    ],
    "contact_force": 37.5
   },
   "accel_pedal": {
    "travel": 0.05,
    "f0": 15.0,
    "k": 500.0,
    "deadband_frac": 0.1
   },
   "pedal_damping_nsm": 5.0,
   "steer_kv": 9.46829,
   "brake_gain_range": [
    0.008,
    0.016
   ],
   "randomization": {
    "steering_ratio": [
     9.0,
     14.0
    ],
    "brake_gain": [
     0.008,
     0.016
    ],
    "drive_force": [
     1200.0,
     1800.0
    ],
    "mass_scale": [
     0.9,
     1.15
    ]
   }
  },
  "V2": {
   "name": "E-Z-GO RXV ELiTE 2 Passenger (Li-ion)",
   "mass_kg": 308.5907875,
   "wheel_rot_mass_kg": 17.999990423703302,
   "wheelbase": 1.669,
   "r_wheel": 0.2285,
   "top_speed": 8.717,
   "steering_ratio": 13.0,
   "steering_ratio_range": [
    9.0,
    14.0
   ],
   "hub_lock_rad": 8.37758,
   "knuckle_lock_rad": 0.6981317007977318,
   "steer_torque_rolling_nm": 2.5,
   "steer_torque_drypark_nm": 7.0,
   "steer_viscous_nms": 0.3,
   "steer_chain_inertia": {
    "column_kgm2": 0.06000000000000006,
    "knuckles_reflected_kgm2": 0.001922721893491102,
    "hub_with_armature_kgm2": 0.08855502000065028,
    "extra_kgm2": 0.06192272189349116
   },
   "mass_front_fraction": 0.4,
   "rolling_resistance": 0.015,
   "drive_max_force": 1400.0,
   "drive_force_range": [
    1100.0,
    1700.0
   ],
   "brake_pedal": {
    "travel": 0.05,
    "free_travel": 0.005,
    "f0": 20.0,
    "k_free": 1000.0,
    "k_engaged": 1000.0,
    "decel_gain": 0.085,
    "decel_gain_range": [
     0.057,
     0.113
    ],
    "contact_force": 25.0
   },
   "accel_pedal": {
    "travel": 0.045,
    "f0": 12.0,
    "k": 400.0,
    "deadband_frac": 0.08
   },
   "pedal_damping_nsm": 5.0,
   "steer_kv": 9.44103,
   "brake_gain_range": [
    0.057,
    0.113
   ],
   "randomization": {
    "steering_ratio": [
     9.0,
     14.0
    ],
    "brake_gain": [
     0.057,
     0.113
    ],
    "drive_force": [
     1100.0,
     1700.0
    ],
    "mass_scale": [
     0.9,
     1.15
    ]
   }
  }
 },
 "control": {
  "min_rolling_speed_mps": 0.3,
  "baseline_accel_mps2": 1.0,
  "baseline_decel_mps2": 1.0,
  "speed_limit_mps": 3.0
 },
 "course": {
  "cruise_speed_mps": 3.0,
  "min_radius_m": 8.0,
  "transition_length_m": 5.0,
  "segments": [
   [
    "straight",
    15.0,
    null
   ],
   [
    "arc_left",
    90.0,
    8.0
   ],
   [
    "straight",
    10.0,
    null
   ],
   [
    "arc_right",
    90.0,
    10.0
   ],
   [
    "straight",
    8.0,
    null
   ],
   [
    "arc_right",
    120.0,
    8.0
   ],
   [
    "straight",
    12.0,
    null
   ]
  ],
  "obstacle_scenes": {
   "count": 20,
   "seed_offset": 100,
   "sizes_m": [
    [
     0.3,
     0.3,
     0.5
    ],
    [
     0.5,
     0.5,
     1.0
    ],
    [
     0.4,
     1.6,
     1.0
    ]
   ],
   "placement": "on the path 10-25 m ahead, lateral offset +-0.6 m"
  }
 },
 "seed": 20261011,
 "rl": {
  "task": "Isaac-GolfCartDriver-PathFollow-v0",
  "backend": "PhysX",
  "episodes_eval": 100,
  "episode_s": 45.0,
  "success": {
   "max_cross_track_m": 0.6,
   "no_collision": true,
   "reach_end": true,
   "reach_end_margin_m": 1.0
  },
  "actor_obs": [
   "cross_track_error",
   "heading_error",
   "path_curvature_preview_5",
   "speed_estimate",
   "speed_command",
   "imu_yaw_rate",
   "imu_accel_xy",
   "steering_angle_enc",
   "brake_slider_enc",
   "throttle_enc",
   "last_action"
  ],
  "actions": [
   "steering_wheel_angle_target",
   "throttle_drum_target",
   "brake_slider_target"
  ],
  "obs_lowpass_tau_s": {
   "imu_accel_xy": 0.1
  },
  "preview_m": [
   1.0,
   2.5,
   4.5,
   7.0,
   10.0
  ],
  "action": {
   "clip": 1.0,
   "steer_scale_rad": 4.5,
   "pedal_map": "a <= 0: throttle lever off the pedal (drum 0) / brake slider at the ready position; 0 < a <= 1: pusher tip at the calibrated contact (kit.pusher_gap) + a x the vehicle's pedal travel",
   "brake_interlock": true,
   "speed_limit_filter": true
  },
  "physics_dt": 0.005,
  "num_envs": 8192,
  "max_iterations": 1000,
  "num_steps_per_env": 24,
  "seed_offset": 0,
  "eval_seed_offset": 500,
  "sim2sim_seed_offset": 600,
  "init": {
   "lateral_m": 0.2,
   "heading_rad": 0.05
  },
  "terminate": {
   "cross_track_m": 1.5,
   "heading_rad": 1.0
  },
  "courses": {
   "count": 512,
   "spec_course_frac": 0.25,
   "segments": 9,
   "straight_m": [
    4.0,
    20.0
   ],
   "arc_deg": [
    40.0,
    150.0
   ],
   "radius_m": [
    8.0,
    20.0
   ],
   "cruise_mps": [
    1.5,
    3.0
   ]
  },
  "disturbances": {
   "grade_frac": [
    -0.03,
    0.03
   ],
   "steer_torque_nm": 3.0,
   "steer_pulse_s": [
    0.2,
    1.0
   ],
   "interval_s": [
    4.0,
    10.0
   ],
   "heading_kick_rad": 0.05
  },
  "randomization_extra": {
   "pd_gain_scale": [
    0.8,
    1.2
   ],
   "pusher_gap_offset_m": "randomization.kit_mount_offset_m",
   "imu_gyro_bias_dps": "sensors.imu.gyro_bias_dps",
   "imu_accel_noise_mg": "sensors.imu.accel_noise_mg",
   "encoder_bits": 12,
   "train_action_latency": {
    "steps": [
     0,
     1,
     2,
     3
    ],
    "weights": [
     0.15,
     0.25,
     0.4,
     0.2
    ]
   }
  },
  "reward": {
   "weights": {
    "track_xte": 1.0,
    "track_heading": 0.3,
    "track_speed": 1.0,
    "speed_err": -0.5,
    "progress": 1.0,
    "xte_sq": -2.0,
    "action_rate": -0.25,
    "torque": -0.5,
    "pedal_overlap": -0.5,
    "termination": -50.0,
    "brake_switch": -0.5,
    "steer_overspeed": -2.0,
    "overspeed": -3.0
   },
   "sigma": {
    "xte_m": 0.25,
    "heading_rad": 0.2,
    "speed_mps": 0.3
   },
   "steer_overspeed_frac": 0.7
  }
 },
 "randomization": {
  "vehicle": [
   "V1",
   "V2"
  ],
  "mass_scale": [
   0.9,
   1.15
  ],
  "steering_torque_scale": [
   0.7,
   1.3
  ],
  "steering_ratio": "vehicle.steering_ratio_range",
  "pedal_force_scale": [
   0.8,
   1.25
  ],
  "brake_gain": "vehicle.brake_pedal.decel_gain_range",
  "drive_force": "vehicle.drive.force_range",
  "tyre_friction": [
   0.6,
   1.0
  ],
  "kit_mount_offset_m": 0.01,
  "action_latency_steps": [
   0,
   2
  ],
  "obs_noise": {
   "imu_gyro_dps": 0.05,
   "speed_mps": 0.05,
   "cross_track_m": 0.1,
   "heading_rad": 0.02
  },
  "obs_noise_corr_s": 1.0,
  "motor_strength_scale": [
   0.8,
   1.2
  ]
 },
 "noise": {
  "obs": {
   "imu_gyro_dps": 0.05,
   "speed_mps": 0.05,
   "cross_track_m": 0.1,
   "heading_rad": 0.02
  },
  "corr_s": 1.0,
  "imu_gyro_bias_dps": 0.5,
  "imu_accel_noise_mg": 2.0,
  "encoder_bits": 12
 },
 "pusher_gap_offset_m": 0.01,
 "observation": [
  {
   "name": "cross_track_error",
   "size": 1,
   "offset_index": 0,
   "scale": 2.0,
   "subtract": 0.0,
   "unit": "m",
   "source": "estimated lateral offset of the rear-axle reference from the planned path, + = left of the path"
  },
  {
   "name": "heading_error",
   "size": 1,
   "offset_index": 1,
   "scale": 2.0,
   "subtract": 0.0,
   "unit": "rad",
   "source": "estimated cart heading - path heading at the projection, wrapped to [-pi, pi]"
  },
  {
   "name": "path_curvature_preview_5",
   "size": 5,
   "offset_index": 2,
   "scale": 8.0,
   "subtract": 0.0,
   "unit": "1/m",
   "source": "planned-path curvature (+ = left) at rl.preview_m ahead of the estimated arc length"
  },
  {
   "name": "speed_estimate",
   "size": 1,
   "offset_index": 7,
   "scale": 0.333333,
   "subtract": 0.0,
   "unit": "m/s",
   "source": "estimator forward speed"
  },
  {
   "name": "speed_command",
   "size": 1,
   "offset_index": 8,
   "scale": 0.333333,
   "subtract": 0.0,
   "unit": "m/s",
   "source": "planner speed profile min(cruise, accel x t, sqrt(2 decel (L - s))) (control.baseline accel/decel)"
  },
  {
   "name": "imu_yaw_rate",
   "size": 1,
   "offset_index": 9,
   "scale": 1.0,
   "subtract": 0.0,
   "unit": "rad/s",
   "source": "IMU gyro z (body frame z up)"
  },
  {
   "name": "imu_accel_xy",
   "size": 2,
   "offset_index": 10,
   "scale": 0.3,
   "subtract": 0.0,
   "unit": "m/s^2",
   "source": "IMU specific force x (forward), y (left), body frame",
   "lowpass_tau_s": 0.1
  },
  {
   "name": "steering_angle_enc",
   "size": 1,
   "offset_index": 12,
   "scale": 0.25,
   "subtract": 0.0,
   "unit": "rad",
   "source": "steer_hub_joint angle (steering-wheel axis) from enc_steer + motor turn count"
  },
  {
   "name": "brake_slider_enc",
   "size": 1,
   "offset_index": 13,
   "scale": 20.0,
   "subtract": 0.007,
   "unit": "m",
   "source": "brake slider position = brake drum encoder angle x drum_radius; offset = ready position"
  },
  {
   "name": "throttle_enc",
   "size": 1,
   "offset_index": 14,
   "scale": 2.0,
   "subtract": 0.0,
   "unit": "rad",
   "source": "throttle_lever_joint angle from enc_throttle"
  },
  {
   "name": "last_action",
   "size": 3,
   "offset_index": 15,
   "scale": 1.0,
   "subtract": 0.0,
   "unit": "-",
   "source": "previous clipped policy action"
  }
 ],
 "observation_size": 18,
 "action": {
  "size": 3,
  "names": [
   "steering_wheel_angle_target",
   "throttle_drum_target",
   "brake_slider_target"
  ],
  "clip": 1.0,
  "steer": {
   "joint": "steer_hub_joint",
   "target_rad": "clip(4.5 * a0, -7.85398, 7.85398)",
   "scale_rad": 4.5,
   "lock_rad": 7.85398
  },
  "throttle": {
   "joint": "throttle_drum_joint",
   "target_rad": "a1 <= 0: 0; else (pusher_gap + a1 * accel_pedal.travel) / throttle_drum_radius (clipped to the drum range)",
   "pusher_gap": 0.01,
   "throttle_drum_radius": 0.015,
   "pedal_travel": "vehicle calibration value (vehicles.<V>.accel_pedal.travel)"
  },
  "brake": {
   "joint": "brake_drum_joint",
   "target_rad": "a2 <= 0: ready_slider / brake_drum_radius; else (pusher_gap + a2 * brake_pedal.travel) / brake_drum_radius (clipped to the drum range)",
   "ready_slider": 0.007,
   "brake_drum_radius": 0.006,
   "pedal_travel": "vehicle calibration value (vehicles.<V>.brake_pedal.travel)"
  },
  "brake_interlock": "a2 > 0 forces the throttle target to 0 (rule-based, outside the policy)",
  "speed_limit_filter": true,
  "speed_limit_mps": 3.0,
  "speed_limit_rule": "onboard command filter (software/pi/golfdriver/supervisor.py Supervisor.filter, rule-based, outside the policy): speed estimate >= speed_limit_mps and a throttle command -> throttle cut; the targets are then the pedal maps' (throttle drum = pusher_gap / throttle_drum_radius, brake at ready, steering unchanged). The Isaac task and the MuJoCo sim-to-sim apply it through src/policy_actions.py (D41)"
 },
 "thresholds": {
  "rl_isaac_success": 0.95,
  "rl_sim2sim_success": 0.8,
  "path_base_xte_rms_m": 0.25,
  "path_base_xte_max_m": 0.6,
  "path_base_speed_rms_mps": 0.3
 }
}
