Browse Source

refactor(physics): de-hack Sceneset engine and restore physical realism

main
RUSHIL AMBARISH KADU 1 month ago
parent
commit
79dbee2dc9
  1. 6
      scripts/ISOLATE/e2e_agent_sem_lidar2shenron_package/shenron/Sceneset.py
  2. 2
      scripts/track_full_state.py

6
scripts/ISOLATE/e2e_agent_sem_lidar2shenron_package/shenron/Sceneset.py

@ -407,7 +407,7 @@ def get_loss_3(points, rho, elev_angle, angles, radar, use_spec = True, use_diff
tx_dist_loss_exponent = 2.0 # Free-space power loss (one-way trip)
rx_dist_loss_exponent = 0
spec_angle_thresh = 5.0*np.pi/180 # Increased from 2.0 to 5.0 for stability on turns
spec_angle_thresh = 2.0*np.pi/180 # Tightened back to 2.0 degrees for physical realism
# --- Iteration 14a: Vertical Antenna Gain (Gaussian Damping) ---
# Determine elevation in degrees relative to boresight (horizontal).
@ -486,8 +486,8 @@ def get_loss_3(points, rho, elev_angle, angles, radar, use_spec = True, use_diff
print("Both Scatter and specular can't be false")
AssertionError
P_spec = P_spec *4*100*25/9
P_scat = P_scat *100*25/9
P_spec = P_spec
P_scat = P_scat
loss = P_spec + P_scat
# loss = loss * 2**7.2

2
scripts/track_full_state.py

@ -48,7 +48,7 @@ def track_full_state(session_path):
print("-" * 15)
if __name__ == "__main__":
target_session = Path("Shenron_debug/iterations/diag_30deg_clip")
target_session = Path("Shenron_debug/iterations/dehacked_final")
if target_session.exists():
track_full_state(target_session)
else:

Loading…
Cancel
Save