Divyanshudiv commited on
Commit
1bdc66a
·
verified ·
1 Parent(s): 09d173e

dualworld viewer: latest_autovla_dev_perfect_tracker_v2 (8 runs)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_front.mp4 +3 -0
  2. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_front_tele.mp4 +3 -0
  3. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_left.mp4 +3 -0
  4. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_f0.mp4 +3 -0
  5. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_l0.mp4 +3 -0
  6. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_l1.mp4 +3 -0
  7. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_r0.mp4 +3 -0
  8. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_r1.mp4 +3 -0
  9. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_rear.mp4 +3 -0
  10. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_right.mp4 +3 -0
  11. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_front.mp4 +3 -0
  12. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_left.mp4 +3 -0
  13. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_nuplan_f0.mp4 +3 -0
  14. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_rear.mp4 +3 -0
  15. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_right.mp4 +3 -0
  16. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_front.mp4 +3 -0
  17. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_front_tele.mp4 +3 -0
  18. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_left.mp4 +3 -0
  19. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_nuplan_f0.mp4 +3 -0
  20. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_rear.mp4 +3 -0
  21. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_right.mp4 +3 -0
  22. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_front.mp4 +3 -0
  23. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_front_tele.mp4 +3 -0
  24. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_left.mp4 +3 -0
  25. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_f0.mp4 +3 -0
  26. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_l0.mp4 +3 -0
  27. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_l1.mp4 +3 -0
  28. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_r0.mp4 +3 -0
  29. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_r1.mp4 +3 -0
  30. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_rear.mp4 +3 -0
  31. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_right.mp4 +3 -0
  32. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_front.mp4 +3 -0
  33. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_left.mp4 +3 -0
  34. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_nuplan_f0.mp4 +3 -0
  35. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_rear.mp4 +3 -0
  36. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_right.mp4 +3 -0
  37. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_front.mp4 +3 -0
  38. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_front_tele.mp4 +3 -0
  39. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_left.mp4 +3 -0
  40. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_nuplan_f0.mp4 +3 -0
  41. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_rear.mp4 +3 -0
  42. dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_right.mp4 +3 -0
  43. dualworld/latest_autovla_dev_perfect_tracker_v2/index.html +1184 -0
  44. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_front.mp4 +3 -0
  45. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_front_tele.mp4 +3 -0
  46. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_left.mp4 +3 -0
  47. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_f0.mp4 +3 -0
  48. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_l0.mp4 +3 -0
  49. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_l1.mp4 +3 -0
  50. dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_r0.mp4 +3 -0
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2960b9f2f7e9bb17b5706cd06802e659837dd1b4ba489cb29d0a2e4f463dfc6a
3
+ size 7895255
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_front_tele.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ffebe2eec5b8973980d704ee2d42469f75397cc402ede065191fe5a87e5a81a
3
+ size 8019582
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4107ef95e3acbed2e10d212d769e21620cfc4e66d374a186f3e20f392fb09b5
3
+ size 9515294
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:410f90ea7a4325c3bca3d8b2c9227a572c5650950404cfef6b19950fb2222af2
3
+ size 7580294
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_l0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bab9a778e25efffac1cde0f41530702b865ff3185404d37df4d00b8b50a0798
3
+ size 12884799
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_l1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e722aebcc9f1096ede5c80fb9a10dce88d3ecee044ba09008d25be13273eac95
3
+ size 14777497
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_r0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:646ad474f27560bad618eee4dd7211e1e51263f778b9c789ceb0ee85d8d98db6
3
+ size 9483427
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_nuplan_r1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de07c6d6657393099be6be6f3d4f6b9badd9c6a8097298970c9819ed6ddc78e7
3
+ size 11726235
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_rear.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed8cc673f5d43a68bc853018e524655c2aa256a467937ef8167a6628aa5803cc
3
+ size 9857338
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/rgb_right.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a692cec8ae71ea204ce83a89bad4053db947ab24498d82bcbd0d7e0ef067c656
3
+ size 7082118
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48f00d45ed9a46f1195f672d03c3a061ac7bc57f3bd35475b4b5c37ba5c74018
3
+ size 458539
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b15d80e506ac1b6916f8cf8b3d5a878d8f6ea951f0b2be48bd43cc26849bce60
3
+ size 367314
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75b0dbff6adb810e6cdc7815753d59fff694579713c7abd28cd984247a8f9cef
3
+ size 458608
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_rear.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45c0e6b5ec9bcb28b442379477ec4302bae5dda9dfa58290bbeac5a6c6f6f314
3
+ size 499815
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/depth_right.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27c36158f5617bc0e2d02828d66e85c4781d2d15450f4752276f76b6b5bf1c6c
3
+ size 306535
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec783beadb28c673bdfe28525047933acad4e0a822aefdadc5f66f5dfaa90661
3
+ size 624795
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_front_tele.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afcc7089eddb14c98830b2c3612eeec3e544b75f92663ec218d609f21ad463c5
3
+ size 709431
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17bfe22235169f767e4a99ee1fe81304b8500becb3d7e835fad787ded31461ca
3
+ size 481060
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb2989de934446bbd788b8ec1b45ace4ac9ab3c605ab636cd89803196c76f4d2
3
+ size 661730
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_rear.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f00cc4c6487965cdbc237acea0057195b1a220d7ba8d449c98932f82982933eb
3
+ size 745308
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_builtup_default_nsw_me__AUS_NewSouthWales/videos/web/semseg_right.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4656f20ed2076fdd2d1695aa8f627677984f1f5ca165f2ad2dc94c16e9ca75dd
3
+ size 602405
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a2de4940bdc881cdb6cf2a8174afff2a552adfd8879c26c0a2f597450b9690b
3
+ size 7168226
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_front_tele.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0564d7b1c5d1b13afe210ac7bc765c5f00890cba897253cdb0d73458cf6bc022
3
+ size 8387145
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:366879f4aa73128838d58bc78ea6b827dc8131398276b16b0f13d870faec1c31
3
+ size 7115949
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8dded532870ccd2a7691650da4ab6b5aa9cf214aa85de4b3ae40c8996443c6c
3
+ size 7896602
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_l0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4098a56408113daa036ea1ad1a008d0bbc944ce412c8f344f4c2922209379e3e
3
+ size 7340879
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_l1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66f51149a0f00bcefc863cfc62b29b1cb122793d58fe057c8ff34b07aebebf22
3
+ size 9509248
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_r0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9619f95c356e1d4ca5d70afd38145252125b7bbc7d8cceb925b84605423ccbd
3
+ size 6732570
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_nuplan_r1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af124ebbc8ab8404657be47b8b8130aba2f35b5509241d5081b0f2e1538b42c2
3
+ size 8158367
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_rear.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:376df41126174ce94726f698ad9292dc11657a1789b697caedc1e683feaa9d84
3
+ size 8602698
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/rgb_right.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c52d5fa0561097004440b6b07a109bee24dd4a7eea06f3fd839f5f11d3a0a746
3
+ size 7424329
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f66b6f559315f1cd6d3be8f3a4805e86c4ec2f8b57827613f9bc65e366d57b87
3
+ size 211506
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:604bb41828b6a46fbebf8320e82b4e0c3f963cfa838c4493661ff427952bf759
3
+ size 216488
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5957197439548c769cf46abc98a5ccc4911b6789e8b35d0d71285da2b118582f
3
+ size 179826
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_rear.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1f099e6be597ef1bf47fe05cae760ef9c4eb553a52f6b4b1a40eabbd3f4cfcd
3
+ size 256822
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/depth_right.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d14731a8a930012eb1587b3716a81ff464b1b011b838c6533d02048ba6b6f4
3
+ size 197016
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b16cd43de7a0800a01d6a52d0e844c06a08ce11431447304df86d71c7f4b5b36
3
+ size 412180
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_front_tele.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e1801f7072ce4f6dd0e05ee91a31bf019101c815ca58f4a34aba38b1adcf260
3
+ size 508860
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84032d8460cd4d566f6391d793a3f39f4bcb66d03c892707f4ae30aa4dd61ea2
3
+ size 389140
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c84eb695b05c0838d5e0dbddb2824c84719b27b8db47d8445f4747746328eee
3
+ size 473733
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_rear.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f2d067d6bbdc11e840f711568a75b0aec5d10a63ccb0b931b62d97ba99f5df8
3
+ size 614044
dualworld/latest_autovla_dev_perfect_tracker_v2/conflict_pass_on_right_de_ga__German/videos/web/semseg_right.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd8a7ea76fec6bbe837415400ce0a7aa140c93ebf6ffc7ec94680aaa1a72a925
3
+ size 369802
dualworld/latest_autovla_dev_perfect_tracker_v2/index.html ADDED
@@ -0,0 +1,1184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" data-theme="dark">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>SceneDriveBench — Dualworld Suite Viewer</title>
7
+ <style>
8
+ :root {
9
+ color-scheme: dark;
10
+ --page: #0d0d0d;
11
+ --surface-1: #1a1a19;
12
+ --surface-2: #232322;
13
+ --text-primary: #ffffff;
14
+ --text-secondary: #c3c2b7;
15
+ --text-muted: #898781;
16
+ --grid: #2c2c2a;
17
+ --baseline: #383835;
18
+ --border: rgba(255,255,255,0.10);
19
+ --series-1: #3987e5; /* blue */
20
+ --series-2: #d95926; /* orange */
21
+ --series-3: #199e70; /* aqua */
22
+ --series-5: #d55181; /* magenta */
23
+ --accent: var(--series-1);
24
+ /* bird's-eye map */
25
+ --map-road: #2e2e2c;
26
+ --map-junction: #343432;
27
+ --map-walk: #3f3e3a;
28
+ --map-mark: #d6d5cf;
29
+ --map-yellow: #d9b13f;
30
+ --map-plate: #e5484d;
31
+ }
32
+ * { box-sizing: border-box; }
33
+ html, body { margin: 0; padding: 0; }
34
+ body {
35
+ background: var(--page);
36
+ color: var(--text-primary);
37
+ font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
38
+ }
39
+ .num { font-variant-numeric: tabular-nums; }
40
+
41
+ header {
42
+ display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
43
+ padding: 14px 20px 0;
44
+ }
45
+ header h1 { font-size: 17px; margin: 0; font-weight: 650; }
46
+ header .suite-id { color: var(--text-muted); font-size: 13px; }
47
+
48
+ nav.tabs { display: flex; gap: 4px; padding: 10px 20px 0; flex-wrap: wrap; }
49
+ nav.tabs button {
50
+ background: none; border: 1px solid transparent; border-bottom: none;
51
+ color: var(--text-secondary); font: inherit; padding: 7px 14px;
52
+ border-radius: 8px 8px 0 0; cursor: pointer;
53
+ }
54
+ nav.tabs button:hover { background: var(--surface-2); }
55
+ nav.tabs button.active {
56
+ background: var(--surface-1); color: var(--text-primary);
57
+ border-color: var(--border); font-weight: 600;
58
+ }
59
+
60
+ main {
61
+ background: var(--surface-1);
62
+ border-top: 1px solid var(--border);
63
+ padding: 18px 20px 40px;
64
+ display: grid; gap: 18px;
65
+ }
66
+
67
+ .panel {
68
+ background: var(--surface-2);
69
+ border: 1px solid var(--border);
70
+ border-radius: 10px;
71
+ padding: 14px 16px;
72
+ }
73
+ .panel h2 {
74
+ margin: 0 0 10px; font-size: 13px; font-weight: 650;
75
+ color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em;
76
+ }
77
+
78
+ /* ---- sensor grid ---- */
79
+ .modality-row { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
80
+ .modality-row .seg {
81
+ display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
82
+ }
83
+ .modality-row .seg button {
84
+ background: none; border: none; color: var(--text-secondary);
85
+ font: inherit; font-size: 13px; padding: 5px 12px; cursor: pointer;
86
+ }
87
+ .modality-row .seg button.active { background: var(--accent); color: #fff; font-weight: 600; }
88
+ .modality-row .spacer { flex: 1; }
89
+
90
+ .cam-grid {
91
+ display: grid; gap: 8px;
92
+ grid-template-columns: 1fr 1.6fr 1fr;
93
+ grid-template-areas: "left front right" "rear front tele";
94
+ }
95
+ .cam-grid.has-cosmos {
96
+ grid-template-areas: "left front right" "rear cosmos tele";
97
+ }
98
+ .cam-cell[data-cam="cosmos_front"] { grid-area: cosmos; }
99
+ /* The cameras the policy itself reads: nuPlan's for AutoVLA / Qwen-Drive,
100
+ the Hyperion captures (before the fisheye warp) for Alpamayo. */
101
+ .cam-grid.nuplan { grid-template-areas: "nl0 nf0 nr0"; }
102
+ .cam-grid.nuplan.has-cosmos { grid-template-areas: "nl0 nf0 nr0" ". cosmos ."; }
103
+ .cam-cell[data-cam="nuplan_l0"] { grid-area: nl0; }
104
+ .cam-cell[data-cam="nuplan_f0"] { grid-area: nf0; }
105
+ .cam-cell[data-cam="nuplan_r0"] { grid-area: nr0; }
106
+ .cam-cell[data-cam="nuplan_l1"] { grid-area: nl0; }
107
+ .cam-cell[data-cam="nuplan_r1"] { grid-area: nr0; }
108
+ .cam-grid.hyperion { grid-template-areas: "hl hf hr" ". hf ht"; }
109
+ .cam-grid.hyperion.has-cosmos { grid-template-areas: "hl hf hr" ". cosmos ht"; }
110
+ .cam-cell[data-cam="hv_cross_left"] { grid-area: hl; }
111
+ .cam-cell[data-cam="hv_front_wide"] { grid-area: hf; }
112
+ .cam-cell[data-cam="hv_cross_right"] { grid-area: hr; }
113
+ .cam-cell[data-cam="hv_front_tele"] { grid-area: ht; }
114
+ .cam-cell[data-cam="cosmos_front"] .cam-label { background: rgba(217,89,38,.75); }
115
+ .cam-cell { position: relative; background: #000; border-radius: 8px; overflow: hidden; }
116
+ .cam-cell[data-cam="front"] { grid-area: front; }
117
+ .cam-cell[data-cam="left"] { grid-area: left; }
118
+ .cam-cell[data-cam="right"] { grid-area: right; }
119
+ .cam-cell[data-cam="rear"] { grid-area: rear; }
120
+ .cam-cell[data-cam="front_tele"] { grid-area: tele; }
121
+ /* LEAD's own six cameras, laid out as mounted (yaw -57.5 / 0 / +57.5 in
122
+ front, -122.5 / 180 / +122.5 behind) */
123
+ .cam-grid.lead {
124
+ grid-template-columns: 1fr 1fr 1fr;
125
+ grid-template-areas: "l0 f0 r0" "l1 b0 r1";
126
+ }
127
+ .cam-cell[data-cam="lead_l0"] { grid-area: l0; }
128
+ .cam-cell[data-cam="lead_f0"] { grid-area: f0; }
129
+ .cam-cell[data-cam="lead_r0"] { grid-area: r0; }
130
+ .cam-cell[data-cam="lead_l1"] { grid-area: l1; }
131
+ .cam-cell[data-cam="lead_b0"] { grid-area: b0; }
132
+ .cam-cell[data-cam="lead_r1"] { grid-area: r1; }
133
+ .compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
134
+ .compare-row:empty { display: none; }
135
+ .compare-row .cam-cell { aspect-ratio: auto; }
136
+ .compare-toggle { display: inline-flex; gap: 6px; align-items: center; color: var(--text-secondary); font-size: 13px; cursor: pointer; }
137
+ .cam-cell video { display: block; width: 100%; height: 100%; object-fit: contain; }
138
+ .cam-label {
139
+ position: absolute; top: 6px; left: 8px;
140
+ font-size: 11px; color: #fff; background: rgba(0,0,0,.55);
141
+ padding: 2px 7px; border-radius: 5px; letter-spacing: .03em;
142
+ }
143
+
144
+ /* ---- transport ---- */
145
+ .transport { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
146
+ .transport button.play {
147
+ width: 34px; height: 34px; border-radius: 50%;
148
+ border: 1px solid var(--border); background: var(--surface-1);
149
+ color: var(--text-primary); font-size: 14px; cursor: pointer;
150
+ }
151
+ .transport button.play:hover { border-color: var(--accent); }
152
+ .scrub-wrap { position: relative; flex: 1; height: 34px; display: flex; align-items: center; }
153
+ .scrub-wrap input[type=range] {
154
+ width: 100%; margin: 0; accent-color: var(--accent); position: relative; z-index: 2;
155
+ }
156
+ .replan-ticks { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
157
+ .replan-ticks span {
158
+ position: absolute; top: 4px; bottom: 4px; width: 2px;
159
+ background: var(--series-2); border-radius: 1px; opacity: .9;
160
+ }
161
+ .time-readout { color: var(--text-secondary); font-size: 13px; min-width: 150px; text-align: right; }
162
+ select.rate {
163
+ background: var(--surface-1); color: var(--text-secondary);
164
+ border: 1px solid var(--border); border-radius: 6px; font: inherit; padding: 4px 6px;
165
+ }
166
+
167
+ /* ---- charts ---- */
168
+ .charts-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
169
+ @media (max-width: 1100px) { .charts-row { grid-template-columns: 1fr; } }
170
+ .chart-box { position: relative; }
171
+ .chart-box svg { display: block; width: 100%; height: auto; }
172
+ .chart-legend { display: flex; gap: 16px; margin: 2px 0 6px; flex-wrap: wrap; }
173
+ .chart-legend .item { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 12px; }
174
+ .chart-legend .swatch { width: 10px; height: 10px; border-radius: 3px; }
175
+ .viz-tooltip {
176
+ position: fixed; pointer-events: none; z-index: 50; display: none;
177
+ background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px;
178
+ padding: 8px 10px; font-size: 12px; color: var(--text-secondary);
179
+ box-shadow: 0 4px 16px rgba(0,0,0,.5); min-width: 120px;
180
+ }
181
+ .viz-tooltip .t-title { color: var(--text-primary); font-weight: 600; margin-bottom: 4px; }
182
+ .viz-tooltip .t-row { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
183
+ .viz-tooltip .t-row .lhs { display: inline-flex; align-items: center; gap: 6px; }
184
+ .viz-tooltip .swatch { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
185
+
186
+ /* ---- bottom row: BEV + replans ---- */
187
+ .bottom-row { display: grid; grid-template-columns: minmax(380px, 480px) 1fr; gap: 18px; align-items: start; }
188
+ @media (max-width: 1100px) { .bottom-row { grid-template-columns: 1fr; } }
189
+ #bev-canvas { width: 100%; border-radius: 8px; background: var(--surface-1); cursor: crosshair; display: block; }
190
+
191
+ .replan-cards { display: grid; gap: 8px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
192
+ .scope-note {
193
+ font-size: 12px; line-height: 1.5; margin: 0 0 10px;
194
+ padding: 8px 10px; border-radius: 6px;
195
+ border: 1px solid var(--border); background: var(--bg-elev);
196
+ color: var(--text-secondary);
197
+ }
198
+ .scope-note b { color: var(--text); }
199
+ .scope-note .cos { color: var(--accent); }
200
+ .replan-card {
201
+ border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
202
+ cursor: pointer; background: var(--surface-1);
203
+ }
204
+ .replan-card:hover { border-color: var(--text-muted); }
205
+ .replan-card.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
206
+ .replan-card .rc-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
207
+ .replan-card .rc-head b { font-size: 13px; }
208
+ .replan-card .rc-stat { color: var(--text-muted); font-size: 12px; }
209
+ .replan-card .rc-cot { color: var(--text-secondary); font-size: 13px; margin-top: 5px; font-style: italic; }
210
+
211
+ .cosmos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 12px; }
212
+ .cosmos-cell { position: relative; background: #000; border-radius: 8px; overflow: hidden; }
213
+ .cosmos-cell video { display: block; width: 100%; }
214
+ .cosmos-toolbar { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
215
+ .cosmos-toolbar button {
216
+ background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary);
217
+ font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 7px; cursor: pointer;
218
+ }
219
+ .cosmos-toolbar button:hover { border-color: var(--accent); color: var(--text-primary); }
220
+
221
+ details.config { color: var(--text-secondary); }
222
+ details.config summary { cursor: pointer; color: var(--text-secondary); font-size: 13px; }
223
+ details.config pre {
224
+ white-space: pre-wrap; font-size: 12px; color: var(--text-muted);
225
+ background: var(--surface-1); border-radius: 8px; padding: 10px 12px; margin: 8px 0 0;
226
+ }
227
+ .instruction {
228
+ border-left: 3px solid var(--series-2); padding: 4px 12px; margin: 0 0 12px;
229
+ color: var(--text-secondary); font-size: 13px;
230
+ }
231
+ .hint { color: var(--text-muted); font-size: 12px; }
232
+ .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; font-size: 13px; color: var(--text-secondary); }
233
+ .facts b { color: var(--text-primary); font-weight: 600; }
234
+ .scene-doc {
235
+ white-space: pre-wrap; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
236
+ color: var(--text-secondary); background: var(--surface-1); border-radius: 8px;
237
+ padding: 10px 12px; margin: 0 0 12px;
238
+ }
239
+ .scene-doc:empty { display: none; }
240
+ .panel-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
241
+ .panel-head h2 { margin: 0; }
242
+ .panel-head .spacer { flex: 1; }
243
+ </style>
244
+ </head>
245
+ <body>
246
+ <header>
247
+ <h1>SceneDriveBench · Dualworld Suite</h1>
248
+ <span class="suite-id num" id="suite-id"></span>
249
+ </header>
250
+ <nav class="tabs" id="scenario-tabs"></nav>
251
+
252
+ <main>
253
+ <div class="panel" id="scenario-info">
254
+ <div class="facts" id="facts"></div>
255
+ <pre class="scene-doc" id="scene-doc"></pre>
256
+ <p id="evaluation-status"></p>
257
+ <div class="instruction" id="instruction"></div>
258
+ <details class="config">
259
+ <summary>Run configuration &amp; Cosmos prompt</summary>
260
+ <pre id="config-pre"></pre>
261
+ </details>
262
+ </div>
263
+
264
+ <div class="panel">
265
+ <h2>Synchronized sensors</h2>
266
+ <div class="modality-row">
267
+ <div class="seg" id="modality-seg"></div>
268
+ <div class="seg" id="camset-seg"></div>
269
+ <label class="compare-toggle" id="compare-wrap" style="display:none">
270
+ <input type="checkbox" id="compare"> <span id="compare-label"></span>
271
+ </label>
272
+ <div class="spacer"></div>
273
+ <span class="hint" id="ticks-hint">orange markers on the timeline are Cosmos+policy replans</span>
274
+ </div>
275
+ <div class="cam-grid" id="cam-grid"></div>
276
+ <div class="compare-row" id="compare-row"></div>
277
+ <div class="transport">
278
+ <button class="play" id="btn-play" title="play / pause">▶</button>
279
+ <div class="scrub-wrap">
280
+ <div class="replan-ticks" id="replan-ticks"></div>
281
+ <input type="range" id="scrub" min="0" max="1000" value="0" step="1">
282
+ </div>
283
+ <span class="time-readout num" id="time-readout">frame 0 · t = 0.0 s</span>
284
+ <select class="rate" id="rate">
285
+ <option value="0.25">0.25×</option>
286
+ <option value="0.5">0.5×</option>
287
+ <option value="1" selected>1×</option>
288
+ <option value="2">2×</option>
289
+ </select>
290
+ </div>
291
+ </div>
292
+
293
+ <div class="charts-row">
294
+ <div class="panel">
295
+ <h2>Vehicle controls</h2>
296
+ <div class="chart-legend" id="controls-legend"></div>
297
+ <div class="chart-box" id="controls-chart"></div>
298
+ </div>
299
+ <div class="panel">
300
+ <h2>Ego speed (m/s)</h2>
301
+ <div class="chart-legend" id="speed-legend"></div>
302
+ <div class="chart-box" id="speed-chart"></div>
303
+ </div>
304
+ </div>
305
+
306
+ <div class="bottom-row">
307
+ <div class="panel">
308
+ <div class="panel-head">
309
+ <h2>Bird's-eye view</h2>
310
+ <span class="spacer"></span>
311
+ <div class="modality-row" style="margin:0"><div class="seg" id="bev-mode"></div></div>
312
+ </div>
313
+ <div class="chart-legend" id="bev-legend"></div>
314
+ <canvas id="bev-canvas"></canvas>
315
+ <div class="hint" style="margin-top:6px" id="bev-hint"></div>
316
+ </div>
317
+ <div class="panel">
318
+ <h2>Replans — policy output &amp; Cosmos</h2>
319
+ <!-- Only the views in cosmos_views are rendered through Cosmos; the rest
320
+ of the policy's cameras are raw CARLA. This panel shows Cosmos
321
+ artifacts, which exist only for the rendered views, so without this
322
+ note the page reads as if the whole world were photoreal. -->
323
+ <div id="cosmos-scope" class="scope-note" style="display:none"></div>
324
+ <div class="replan-cards" id="replan-cards"></div>
325
+ <div class="cosmos-toolbar" id="cosmos-toolbar" style="display:none">
326
+ <button id="cosmos-play">▶ play all</button>
327
+ <button id="cosmos-restart">⟲ restart</button>
328
+ <span class="hint">looping 4 s Cosmos window for the selected replan</span>
329
+ </div>
330
+ <div class="cosmos-grid" id="cosmos-grid"></div>
331
+ </div>
332
+ </div>
333
+ </main>
334
+
335
+ <div class="viz-tooltip" id="tooltip"></div>
336
+
337
+ <script src="viewer_data.js"></script>
338
+ <script>
339
+ "use strict";
340
+
341
+ window.addEventListener("error", e => {
342
+ const b = document.createElement("pre");
343
+ b.style.cssText = "color:#e66767;background:#1a1a19;padding:10px 16px;margin:0;white-space:pre-wrap";
344
+ b.textContent = `viewer error: ${e.message} (${e.filename}:${e.lineno})`;
345
+ document.body.prepend(b);
346
+ });
347
+
348
+ /* ============================== state ============================== */
349
+ const S = {
350
+ data: null,
351
+ scen: null, // active scenario object
352
+ modality: null, // null = the scenario's first (a LEAD run's own cameras)
353
+ compare: false, // show the other arm of the same scene alongside
354
+ bevFollow: false, // BEV: follow ego at 60 m instead of fitting the episode
355
+ playing: false,
356
+ videos: {}, // cam -> <video>
357
+ master: null, // master <video>
358
+ selectedReplan: null,
359
+ charts: [], // {update(tSec)} cursor updaters
360
+ };
361
+ const CAMS = ["left", "front", "right", "rear", "front_tele"];
362
+ const LEAD_CAMS = ["lead_l0", "lead_f0", "lead_r0", "lead_l1", "lead_b0", "lead_r1"];
363
+ const CAM_LABELS = { front: "FRONT (CARLA)", front_tele: "FRONT TELE", left: "LEFT", right: "RIGHT", rear: "REAR",
364
+ cosmos_front: "FRONT · COSMOS (policy input)",
365
+ nuplan_f0: "NUPLAN F0 · FRONT (policy)", nuplan_l0: "NUPLAN L0 · FRONT-LEFT",
366
+ nuplan_r0: "NUPLAN R0 · FRONT-RIGHT", nuplan_l1: "NUPLAN L1 · LEFT",
367
+ nuplan_r1: "NUPLAN R1 · RIGHT",
368
+ hv_front_wide: "FRONT WIDE (policy, before fisheye)", hv_cross_left: "CROSS LEFT",
369
+ hv_cross_right: "CROSS RIGHT", hv_front_tele: "FRONT TELE",
370
+ lead_f0: "LEAD F0 · FRONT", lead_l0: "L0 · FRONT-LEFT", lead_r0: "R0 · FRONT-RIGHT",
371
+ lead_l1: "L1 · REAR-LEFT", lead_b0: "B0 · REAR", lead_r1: "R1 · REAR-RIGHT" };
372
+ const MOD_LABELS = { lead: "LEAD input", rgb: "RGB", depth: "Depth", semseg: "SemSeg" };
373
+ // Replan markers are drawn only when sparse: LEAD replans every tick, and
374
+ // 140 markers paint the whole timeline orange.
375
+ const replanMarks = sc => sc.replans.length <= 40 ? sc.replans : [];
376
+ const sibling = sc => S.data.scenarios.find(o => o !== sc && o.group === sc.group &&
377
+ o.arm !== sc.arm && o.policy === sc.policy && o.seed === sc.seed) || null;
378
+ const armName = sc => `${sc.arm || "?"}${sc.arm_label ? ` (arm ${sc.arm_label})` : ""}`;
379
+ const COSMOS_LABELS = {
380
+ input: "sim input (CARLA)", restored: "Cosmos + exact restore (policy input)",
381
+ generation: "Cosmos raw (pre-restore)", mask_guided: "mask-guided gen",
382
+ control_vis: "control overlay", control_edge: "edge control", control_depth: "depth control",
383
+ control_seg: "seg control",
384
+ };
385
+ const css = name => getComputedStyle(document.documentElement).getPropertyValue(name).trim();
386
+ const $ = id => document.getElementById(id);
387
+ const el = (tag, attrs = {}, ...kids) => {
388
+ const n = document.createElement(tag);
389
+ for (const [k, v] of Object.entries(attrs)) {
390
+ if (k === "class") n.className = v;
391
+ else if (k.startsWith("on")) n.addEventListener(k.slice(2), v);
392
+ else n.setAttribute(k, v);
393
+ }
394
+ n.append(...kids);
395
+ return n;
396
+ };
397
+ const fmt = (v, nd = 1) => v == null ? "–" : Number(v).toFixed(nd);
398
+ // Where the videos live. Empty when served from the suite directory; a host
399
+ // that keeps the page apart from its media (the HF gallery streams videos from
400
+ // the dataset) sets window.VIEWER_MEDIA_BASE before this script runs.
401
+ const media = p => /^(https?:)?\/\//.test(p) ? p : (window.VIEWER_MEDIA_BASE || "") + p;
402
+
403
+ /* ============================== boot ============================== */
404
+ window.addEventListener("DOMContentLoaded", () => {
405
+ if (!window.VIEWER_DATA) {
406
+ document.querySelector("main").innerHTML =
407
+ `<div class="panel">Failed to load <code>viewer_data.js</code> — run build.py on this suite directory.</div>`;
408
+ return;
409
+ }
410
+ S.data = window.VIEWER_DATA;
411
+ $("suite-id").textContent = S.data.suite;
412
+ const tabs = $("scenario-tabs");
413
+ S.data.scenarios.forEach((sc, i) => {
414
+ const label = sc.group ? `${sc.group.replaceAll("_", " ")} · ${armName(sc)}` : sc.name.replaceAll("_", " ");
415
+ tabs.append(el("button", { onclick: () => selectScenario(i), title: sc.name }, label));
416
+ });
417
+ // deep link: ?scenario=<name|index>&replan=<t0>&compare=1&bev=follow&t=<s>
418
+ const q = new URLSearchParams(location.search);
419
+ S.compare = q.get("compare") === "1";
420
+ S.bevFollow = q.get("bev") === "follow";
421
+ const want = q.get("scenario");
422
+ let idx = 0;
423
+ if (want != null) {
424
+ const byName = S.data.scenarios.findIndex(s => s.name === want);
425
+ idx = byName >= 0 ? byName : (parseInt(want, 10) || 0);
426
+ }
427
+ selectScenario(Math.max(0, Math.min(S.data.scenarios.length - 1, idx)));
428
+ const t0 = q.get("replan");
429
+ if (t0 != null) {
430
+ const r = S.scen.replans.find(r => String(r.t0) === t0);
431
+ const card = document.querySelectorAll(".replan-card")[S.scen.replans.indexOf(r)];
432
+ if (r && card) selectReplan(r, card);
433
+ }
434
+ const t = parseFloat(q.get("t"));
435
+ if (t > 0) { seekAll(t); updateAtTime(t); }
436
+ });
437
+
438
+ function selectScenario(i) {
439
+ S.scen = S.data.scenarios[i];
440
+ S.selectedReplan = null;
441
+ document.querySelectorAll("#scenario-tabs button").forEach((b, j) => b.classList.toggle("active", j === i));
442
+ renderInfo();
443
+ renderModalitySeg();
444
+ renderCamSetSeg();
445
+ renderCompareToggle();
446
+ renderCamGrid();
447
+ renderReplanTicks();
448
+ renderCharts();
449
+ renderBEVLegend();
450
+ renderReplans();
451
+ updateAtTime(0);
452
+ }
453
+
454
+ /* ============================== info ============================== */
455
+ function renderInfo() {
456
+ const sc = S.scen;
457
+ const facts = $("facts");
458
+ facts.innerHTML = "";
459
+ const fact = (k, v) => v != null && v !== "" && facts.append(el("span", {}, `${k} `, el("b", {}, String(v))));
460
+ fact("policy", sc.policy);
461
+ fact("town", sc.map && sc.map.town);
462
+ fact("jurisdiction", armName(sc));
463
+ if (sc.countries && sc.countries.length === 2) fact("arms", `A = ${sc.countries[0]} · B = ${sc.countries[1]}`);
464
+ fact("seed", sc.seed);
465
+ fact("length", `${(sc.num_frames / sc.fps).toFixed(1)} s`);
466
+ fact("ended", sc.execution && sc.execution.termination_reason);
467
+ if (sc.interference) fact("background", sc.interference.valid ? "no interference"
468
+ : `INTERFERED (${sc.interference.events.map(e => e.kind === "contact"
469
+ ? `${e.type} touched ego at ${e.at_s} s` : `${e.type} in ego's path ${e.from_s}-${e.to_s} s`).join("; ")})`);
470
+ if (sc.scene_instruction && sc.scene_instruction.mode !== "none") fact("text", sc.scene_instruction.mode);
471
+ const seen = (sc.map && sc.map.sign_visibility) || {};
472
+ for (const [sid, views] of Object.entries(seen)) {
473
+ const parts = Object.entries(views).map(([v, n]) => `${v} ${n}`).join(", ");
474
+ fact(`plate ${sid}`, parts ? `visible frames: ${parts}` : "never visible");
475
+ }
476
+ if (sc.map && !Object.keys(seen).length) fact("plates", "none");
477
+ $("scene-doc").textContent = sc.scene_doc || "";
478
+ $("evaluation-status").textContent = sc.evaluation_status || "Run validity not recorded";
479
+ $("instruction").textContent = sc.instruction || "(no policy instruction recorded)";
480
+ const cfg = { ...sc.config };
481
+ const prompt = cfg.prompt; delete cfg.prompt;
482
+ $("config-pre").textContent =
483
+ Object.entries(cfg).map(([k, v]) => `${k}: ${JSON.stringify(v)}`).join("\n") +
484
+ (prompt ? `\n\nprompt: ${prompt}` : "");
485
+ renderCosmosScope(sc);
486
+ }
487
+
488
+ // The policy reads every camera on its rig, but only the views in cosmos_views
489
+ // are rendered through Cosmos -- the others are handed to it as raw CARLA.
490
+ // Say so on the page: this panel shows Cosmos artifacts, which exist only for
491
+ // the rendered views, and without this the viewer reads as though the whole
492
+ // world were photoreal.
493
+ const POLICY_RIG_CAMERAS = ["left", "front", "right", "front_tele"];
494
+ function renderCosmosScope(sc) {
495
+ const el = $("cosmos-scope");
496
+ if (!el) return;
497
+ const cfg = sc.config || {};
498
+ // cosmos_views is populated even when Cosmos never ran (LEAD reads raw CARLA
499
+ // by design), so cosmos_enabled is the field that decides, not the view list.
500
+ if (cfg.cosmos_enabled === false) {
501
+ el.innerHTML = "<b>No Cosmos rendering in this suite.</b> The policy read " +
502
+ "raw CARLA frames on every camera — LEAD has no text channel and takes " +
503
+ "simulator pixels by design, so there is no photoreal condition here.";
504
+ el.style.display = "";
505
+ return;
506
+ }
507
+ const views = cfg.cosmos_views;
508
+ if (!Array.isArray(views) || views.length === 0) {
509
+ el.style.display = "none"; return;
510
+ }
511
+ const raw = POLICY_RIG_CAMERAS.filter(c => !views.includes(c));
512
+ const cos = views.map(v => `<span class="cos">${v}</span>`).join(", ");
513
+ el.innerHTML = raw.length
514
+ ? `<b>Cosmos covers ${views.length} of ${POLICY_RIG_CAMERAS.length} policy cameras.</b> ` +
515
+ `Rendered through Cosmos: ${cos}. Handed to the policy as raw CARLA: ` +
516
+ `${raw.join(", ")}. The panels below show only the rendered view(s), ` +
517
+ `so this page is not evidence the policy drove in a fully photoreal world.`
518
+ : `<b>All ${views.length} policy cameras rendered through Cosmos.</b>`;
519
+ el.style.display = "";
520
+ }
521
+
522
+ /* ============================== sensor grid ============================== */
523
+ function renderModalitySeg() {
524
+ const seg = $("modality-seg");
525
+ seg.innerHTML = "";
526
+ if (!S.scen.videos[S.modality]) S.modality = Object.keys(S.scen.videos)[0];
527
+ for (const mod of Object.keys(S.scen.videos)) {
528
+ seg.append(el("button", {
529
+ class: mod === S.modality ? "active" : "",
530
+ onclick: () => { S.modality = mod; renderModalitySeg(); renderCamGrid(); },
531
+ }, MOD_LABELS[mod] || mod));
532
+ }
533
+ }
534
+
535
+ // Which cameras the grid shows: by default the ones the policy itself reads;
536
+ // "standard" is the repo's own front / left / right / rear / tele.
537
+ function camLayout(sc, vids) {
538
+ if (S.camSet !== "standard") {
539
+ if (vids.nuplan_f0 && (sc.policy === "autovla" || sc.policy === "qwendrive")) {
540
+ // AutoVLA reads the side cameras L1/R1 (runs since 2026-10-18), Qwen-Drive L0/R0.
541
+ const side = sc.policy === "autovla" && vids.nuplan_l1 ? "1" : "0";
542
+ return { cls: "nuplan", cams: ["nuplan_l" + side, "nuplan_f0", "nuplan_r" + side], main: "nuplan_f0" };
543
+ }
544
+ if (vids.hv_front_wide && (sc.policy === "alpamayo" || sc.policy === "alpamayo2"))
545
+ return { cls: "hyperion", main: "hv_front_wide",
546
+ cams: ["hv_cross_left", "hv_front_wide", "hv_cross_right", "hv_front_tele"] };
547
+ }
548
+ return { cls: "", cams: CAMS, main: "front" };
549
+ }
550
+ function renderCamSetSeg() {
551
+ const seg = $("camset-seg");
552
+ seg.innerHTML = "";
553
+ for (const [key, label] of [["policy", "Policy cameras"], ["standard", "Standard cameras"]]) {
554
+ seg.append(el("button", {
555
+ class: (S.camSet || "policy") === key ? "active" : "",
556
+ onclick: () => { S.camSet = key; renderCamSetSeg(); renderCamGrid(); },
557
+ }, label));
558
+ }
559
+ }
560
+
561
+ function renderCompareToggle() {
562
+ const sib = sibling(S.scen);
563
+ $("compare-wrap").style.display = sib ? "" : "none";
564
+ if (sib) $("compare-label").textContent = `compare with ${armName(sib)}`;
565
+ $("compare").checked = S.compare && !!sib;
566
+ }
567
+ $("compare").addEventListener("change", () => {
568
+ S.compare = $("compare").checked;
569
+ renderCamGrid(); renderCharts(); renderBEVLegend();
570
+ updateAtTime(S.master ? S.master.currentTime : 0);
571
+ });
572
+
573
+ function renderCamGrid() {
574
+ const grid = $("cam-grid");
575
+ const wasTime = S.master ? S.master.currentTime : 0;
576
+ const wasPlaying = S.playing;
577
+ pauseAll();
578
+ grid.innerHTML = "";
579
+ S.videos = {}; S.master = null;
580
+ const vids = { ...(S.scen.videos[S.modality] || {}) };
581
+ const lead = S.modality === "lead";
582
+ const layout = lead ? { cls: "", cams: LEAD_CAMS, main: "lead_f0" } : camLayout(S.scen, vids);
583
+ const mainCam = layout.main;
584
+ // the stitched Cosmos render of the view the policy reads (front, nuPlan F0
585
+ // or Hyperion front wide) rides along in every modality, below that camera
586
+ const cosmos = S.scen.cosmos_stitched || {};
587
+ const cosKey = ["front", "nuplan_f0", "ft_front_wide"].find(k => cosmos[k]) || Object.keys(cosmos)[0];
588
+ if (cosKey && !lead) vids.cosmos_front = cosmos[cosKey];
589
+ CAM_LABELS.cosmos_front = `COSMOS · ${cosKey || "front"} (policy input)`;
590
+ grid.classList.toggle("has-cosmos", !!cosKey && !lead);
591
+ grid.classList.toggle("lead", lead);
592
+ grid.classList.toggle("nuplan", layout.cls === "nuplan");
593
+ grid.classList.toggle("hyperion", layout.cls === "hyperion");
594
+ const addVideo = (parent, key, src, label) => {
595
+ const v = el("video", { src: media(src), preload: "auto", muted: "", playsinline: "" });
596
+ parent.append(el("div", { class: "cam-cell", "data-cam": key }, v, el("span", { class: "cam-label" }, label)));
597
+ S.videos[key] = v;
598
+ return v;
599
+ };
600
+ for (const cam of [...layout.cams, "cosmos_front"]) {
601
+ if (!vids[cam]) continue;
602
+ const v = addVideo(grid, cam, vids[cam], CAM_LABELS[cam] || cam);
603
+ if (!S.master) S.master = v;
604
+ if (cam === mainCam) S.master = v;
605
+ }
606
+ // the same camera of the other arm, side by side: identical scenes should
607
+ // drive identically unless the arms differ in what the policy can see
608
+ const row = $("compare-row");
609
+ row.innerHTML = "";
610
+ const sib = S.compare ? sibling(S.scen) : null;
611
+ const sibSrc = sib && (sib.videos[S.modality] || {})[mainCam];
612
+ if (sibSrc && vids[mainCam]) {
613
+ addVideo(row, "cmp_self", vids[mainCam], `${armName(S.scen)} · ${CAM_LABELS[mainCam]}`);
614
+ addVideo(row, "cmp_other", sibSrc, `${armName(sib)} · ${CAM_LABELS[mainCam]}`);
615
+ }
616
+ if (S.master) {
617
+ S.master.addEventListener("timeupdate", onMasterTick);
618
+ S.master.addEventListener("ended", () => setPlaying(false));
619
+ // 1 ms offset forces the browser to decode and paint the first frame
620
+ for (const v of Object.values(S.videos)) v.currentTime = Math.max(wasTime, 0.001);
621
+ if (wasPlaying) setPlaying(true);
622
+ }
623
+ applyRate();
624
+ }
625
+
626
+ function setPlaying(on) {
627
+ S.playing = on;
628
+ $("btn-play").textContent = on ? "❚❚" : "▶";
629
+ for (const v of Object.values(S.videos)) on ? v.play().catch(() => {}) : v.pause();
630
+ }
631
+ function pauseAll() { for (const v of Object.values(S.videos)) v.pause(); }
632
+ function seekAll(t) {
633
+ for (const v of Object.values(S.videos)) {
634
+ if (Math.abs(v.currentTime - t) > 0.04) v.currentTime = t;
635
+ }
636
+ }
637
+ function applyRate() {
638
+ const r = parseFloat($("rate").value);
639
+ for (const v of Object.values(S.videos)) v.playbackRate = r;
640
+ }
641
+ $("rate").addEventListener("change", applyRate);
642
+ $("btn-play").addEventListener("click", () => {
643
+ if (S.master && S.master.ended) seekAll(0);
644
+ setPlaying(!S.playing);
645
+ });
646
+ $("scrub").addEventListener("input", () => {
647
+ if (!S.scen) return;
648
+ const dur = S.scen.num_frames / S.scen.fps;
649
+ const t = ($("scrub").value / 1000) * dur;
650
+ seekAll(t);
651
+ updateAtTime(t);
652
+ });
653
+ document.addEventListener("keydown", e => {
654
+ if (e.target.tagName === "INPUT" || e.target.tagName === "SELECT") return;
655
+ if (e.code === "Space") { e.preventDefault(); $("btn-play").click(); }
656
+ if (e.code === "ArrowRight" || e.code === "ArrowLeft") {
657
+ const dt = (e.code === "ArrowRight" ? 1 : -1) / (S.scen ? S.scen.fps : 10);
658
+ const t = Math.max(0, (S.master ? S.master.currentTime : 0) + dt);
659
+ seekAll(t); updateAtTime(t);
660
+ }
661
+ });
662
+
663
+ function onMasterTick() {
664
+ const t = S.master.currentTime;
665
+ // keep followers in lockstep with the master clock
666
+ for (const [cam, v] of Object.entries(S.videos)) {
667
+ if (v !== S.master && Math.abs(v.currentTime - t) > 0.1) v.currentTime = t;
668
+ }
669
+ updateAtTime(t);
670
+ }
671
+
672
+ function updateAtTime(t) {
673
+ const sc = S.scen;
674
+ const dur = sc.num_frames / sc.fps;
675
+ const frame = Math.min(sc.num_frames - 1, Math.round(t * sc.fps));
676
+ $("scrub").value = Math.round((t / dur) * 1000);
677
+ $("time-readout").textContent = `frame ${frame} / ${sc.num_frames} · t = ${t.toFixed(1)} s`;
678
+ for (const ch of S.charts) ch.update(t);
679
+ drawBEV(frame);
680
+ }
681
+
682
+ function renderReplanTicks() {
683
+ const box = $("replan-ticks");
684
+ box.innerHTML = "";
685
+ const dur = S.scen.num_frames / S.scen.fps;
686
+ const marks = replanMarks(S.scen);
687
+ $("ticks-hint").style.display = marks.length ? "" : "none";
688
+ for (const r of marks) {
689
+ const pct = (r.t0 / S.scen.fps) / dur * 100;
690
+ box.append(el("span", { style: `left:${pct}%`, title: `replan @ frame ${r.t0}` }));
691
+ }
692
+ }
693
+
694
+ /* ============================== line charts ============================== */
695
+ function niceTicks(y0, y1, n = 4) {
696
+ const raw = (y1 - y0) / n;
697
+ const mag = Math.pow(10, Math.floor(Math.log10(raw)));
698
+ const norm = raw / mag;
699
+ const step = mag * (norm < 1.5 ? 1 : norm < 3 ? 2 : norm < 7 ? 5 : 10);
700
+ const hi = Math.ceil(y1 / step) * step;
701
+ const ticks = [];
702
+ for (let v = Math.floor(y0 / step) * step; v <= hi + 1e-9; v += step) ticks.push(+v.toFixed(6));
703
+ return { ticks, hi };
704
+ }
705
+
706
+ function lineChart(container, opts) {
707
+ // opts: {series:[{name,color,x[],y[]}], yDomain:[lo,hi], xDomain:[lo,hi], height, yFmt, legendEl}
708
+ const W = 640, H = opts.height || 200;
709
+ const M = { l: 42, r: 74, t: 10, b: 24 };
710
+ const [x0, x1] = opts.xDomain;
711
+ let [y0, y1] = opts.yDomain;
712
+ let yTickVals;
713
+ if (opts.niceY) {
714
+ const nt = niceTicks(y0, y1, opts.yTicks || 4);
715
+ y1 = nt.hi; yTickVals = nt.ticks;
716
+ } else {
717
+ const n = opts.yTicks || 4;
718
+ yTickVals = Array.from({ length: n + 1 }, (_, i) => y0 + (y1 - y0) * i / n);
719
+ }
720
+ const px = x => M.l + (x - x0) / (x1 - x0) * (W - M.l - M.r);
721
+ const py = y => M.t + (1 - (y - y0) / (y1 - y0)) * (H - M.t - M.b);
722
+ const ns = "http://www.w3.org/2000/svg";
723
+ const svg = document.createElementNS(ns, "svg");
724
+ svg.setAttribute("viewBox", `0 0 ${W} ${H}`);
725
+ container.innerHTML = "";
726
+ container.append(svg);
727
+ const add = (tag, attrs, parent = svg) => {
728
+ const n = document.createElementNS(ns, tag);
729
+ for (const [k, v] of Object.entries(attrs)) n.setAttribute(k, v);
730
+ parent.append(n);
731
+ return n;
732
+ };
733
+
734
+ // recessive grid + axes
735
+ for (const yv of yTickVals) {
736
+ add("line", { x1: M.l, x2: W - M.r, y1: py(yv), y2: py(yv), stroke: css("--grid"), "stroke-width": 1 });
737
+ add("text", {
738
+ x: M.l - 6, y: py(yv) + 4, "text-anchor": "end", fill: css("--text-muted"),
739
+ "font-size": 11, style: "font-variant-numeric: tabular-nums",
740
+ }).textContent = (opts.yFmt || (v => v))(yv);
741
+ }
742
+ for (let xv = Math.ceil(x0); xv <= x1; xv += 2) {
743
+ add("text", {
744
+ x: px(xv), y: H - 8, "text-anchor": "middle", fill: css("--text-muted"),
745
+ "font-size": 11, style: "font-variant-numeric: tabular-nums",
746
+ }).textContent = xv + " s";
747
+ }
748
+ if (y0 < 0 && y1 > 0)
749
+ add("line", { x1: M.l, x2: W - M.r, y1: py(0), y2: py(0), stroke: css("--baseline"), "stroke-width": 1 });
750
+
751
+ // replan markers
752
+ for (const r of (opts.replans || [])) {
753
+ const xr = px(r.t0 / S.scen.fps);
754
+ add("line", { x1: xr, x2: xr, y1: M.t, y2: H - M.b, stroke: css("--series-2"), "stroke-width": 1, "stroke-dasharray": "3 3", opacity: .6 });
755
+ }
756
+
757
+ // series: 2px lines + direct labels at line end (pushed apart if they collide)
758
+ const endLabels = [];
759
+ for (const s of opts.series) {
760
+ const d = s.x.map((xv, i) => `${i ? "L" : "M"}${px(xv).toFixed(1)},${py(s.y[i]).toFixed(1)}`).join("");
761
+ add("path", { d, fill: "none", stroke: s.color, "stroke-width": 2, "stroke-linejoin": "round",
762
+ ...(s.dash ? { "stroke-dasharray": s.dash } : {}) });
763
+ endLabels.push({ name: s.name, x: px(s.x[s.x.length - 1]) + 6, y: py(s.y[s.y.length - 1]) + 4 });
764
+ }
765
+ // clamp to the plot first, then push colliding labels apart upward from the
766
+ // bottom -- clamping after pushing stacked lines that all end at 0
767
+ for (const L of endLabels) L.y = Math.min(L.y, H - M.b);
768
+ endLabels.sort((a, b) => a.y - b.y);
769
+ for (let i = endLabels.length - 2; i >= 0; i--)
770
+ if (endLabels[i + 1].y - endLabels[i].y < 13) endLabels[i].y = endLabels[i + 1].y - 13;
771
+ for (const L of endLabels)
772
+ add("text", { x: L.x, y: L.y, fill: css("--text-secondary"), "font-size": 11 })
773
+ .textContent = L.name;
774
+
775
+ // legend (only for multi-series)
776
+ if (opts.legendEl) {
777
+ opts.legendEl.innerHTML = "";
778
+ if (opts.series.length > 1)
779
+ for (const s of opts.series)
780
+ opts.legendEl.append(el("span", { class: "item" },
781
+ el("span", { class: "swatch", style: `background:${s.color}` }), s.name));
782
+ }
783
+
784
+ // playback cursor + crosshair/tooltip
785
+ const cursor = add("line", { x1: px(x0), x2: px(x0), y1: M.t, y2: H - M.b, stroke: css("--text-secondary"), "stroke-width": 1, opacity: .8 });
786
+ const cross = add("line", { x1: 0, x2: 0, y1: M.t, y2: H - M.b, stroke: css("--text-muted"), "stroke-width": 1, opacity: 0 });
787
+ const dots = opts.series.map(s => add("circle", { r: 4, fill: s.color, stroke: css("--surface-2"), "stroke-width": 2, opacity: 0 }));
788
+ const tip = $("tooltip");
789
+
790
+ svg.addEventListener("mousemove", ev => {
791
+ const pt = svg.createSVGPoint(); pt.x = ev.clientX; pt.y = ev.clientY;
792
+ const p = pt.matrixTransform(svg.getScreenCTM().inverse());
793
+ if (p.x < M.l || p.x > W - M.r) { hideTip(); return; }
794
+ const tx = x0 + (p.x - M.l) / (W - M.l - M.r) * (x1 - x0);
795
+ cross.setAttribute("x1", px(tx)); cross.setAttribute("x2", px(tx));
796
+ cross.setAttribute("opacity", .8);
797
+ let rows = "";
798
+ opts.series.forEach((s, i) => {
799
+ let k = s.x.findIndex(v => v >= tx);
800
+ if (k < 0) k = s.x.length - 1;
801
+ if (k > 0 && Math.abs(s.x[k - 1] - tx) < Math.abs(s.x[k] - tx)) k--;
802
+ dots[i].setAttribute("cx", px(s.x[k])); dots[i].setAttribute("cy", py(s.y[k]));
803
+ dots[i].setAttribute("opacity", 1);
804
+ rows += `<div class="t-row"><span class="lhs"><span class="swatch" style="background:${s.color}"></span>${s.name}</span><b class="num">${(opts.yFmt || (v => v))(s.y[k])}</b></div>`;
805
+ });
806
+ tip.innerHTML = `<div class="t-title num">t = ${tx.toFixed(1)} s</div>${rows}`;
807
+ tip.style.display = "block";
808
+ tip.style.left = Math.min(window.innerWidth - 190, ev.clientX + 14) + "px";
809
+ tip.style.top = (ev.clientY + 14) + "px";
810
+ });
811
+ const hideTip = () => {
812
+ tip.style.display = "none"; cross.setAttribute("opacity", 0);
813
+ dots.forEach(d => d.setAttribute("opacity", 0));
814
+ };
815
+ svg.addEventListener("mouseleave", hideTip);
816
+ svg.addEventListener("click", ev => {
817
+ const pt = svg.createSVGPoint(); pt.x = ev.clientX; pt.y = ev.clientY;
818
+ const p = pt.matrixTransform(svg.getScreenCTM().inverse());
819
+ const tx = x0 + (p.x - M.l) / (W - M.l - M.r) * (x1 - x0);
820
+ if (tx >= x0 && tx <= x1) { seekAll(tx); updateAtTime(tx); }
821
+ });
822
+
823
+ return {
824
+ update(tSec) {
825
+ const xv = Math.max(x0, Math.min(x1, tSec));
826
+ cursor.setAttribute("x1", px(xv)); cursor.setAttribute("x2", px(xv));
827
+ },
828
+ };
829
+ }
830
+
831
+ function renderCharts() {
832
+ S.charts = [];
833
+ const sc = S.scen;
834
+ const dur = sc.num_frames / sc.fps;
835
+ const tOf = tick => tick / sc.fps;
836
+
837
+ const ctl = sc.controls;
838
+ const cx = ctl.map(c => tOf(c.tick));
839
+ S.charts.push(lineChart($("controls-chart"), {
840
+ xDomain: [0, dur], yDomain: [-1, 1], yTicks: 4, height: 210,
841
+ yFmt: v => Number(v).toFixed(2),
842
+ legendEl: $("controls-legend"),
843
+ replans: replanMarks(sc),
844
+ series: [
845
+ { name: "throttle", color: css("--series-1"), x: cx, y: ctl.map(c => c.throttle) },
846
+ { name: "brake", color: css("--series-2"), x: cx, y: ctl.map(c => c.brake) },
847
+ { name: "steer", color: css("--series-3"), x: cx, y: ctl.map(c => c.steer) },
848
+ ],
849
+ }));
850
+
851
+ const ego = sc.ego;
852
+ const series = [
853
+ { name: "speed", color: css("--series-1"), x: ego.frame.map(f => f / sc.fps), y: ego.speed },
854
+ ];
855
+ // the speed LEAD's planner asked for at each tick: where it falls to zero
856
+ // ahead of the actual speed, the stop was the policy's decision
857
+ const tgt = sc.replans.filter(r => r.target_speed != null);
858
+ if (tgt.length)
859
+ series.push({ name: "target", color: css("--series-2"), dash: "4 3",
860
+ x: tgt.map(r => r.t0 / sc.fps), y: tgt.map(r => r.target_speed) });
861
+ const sib = S.compare ? sibling(sc) : null;
862
+ if (sib)
863
+ series.push({ name: sib.arm_label ? `arm ${sib.arm_label}` : sib.arm, color: css("--series-3"),
864
+ x: sib.ego.frame.map(f => f / sib.fps), y: sib.ego.speed });
865
+ const vmax = Math.max(1, ...series.flatMap(s => s.y)) * 1.1;
866
+ S.charts.push(lineChart($("speed-chart"), {
867
+ xDomain: [0, dur], yDomain: [0, vmax], yTicks: 4, niceY: true, height: 210,
868
+ yFmt: v => Number(v).toFixed(1),
869
+ legendEl: $("speed-legend"),
870
+ replans: replanMarks(sc),
871
+ series,
872
+ }));
873
+ }
874
+
875
+ /* ============================== BEV ============================== */
876
+ const BEV = { pad: 26, hover: null, followSpan: 60 };
877
+
878
+ function bevTransform(canvas, frame = BEV.lastFrame || 0) {
879
+ const sc = S.scen, ego = sc.ego;
880
+ let cxm, cym, span;
881
+ if (S.bevFollow) {
882
+ const k = Math.min(frame, ego.x.length - 1);
883
+ cxm = ego.x[k]; cym = ego.y[k]; span = BEV.followSpan;
884
+ } else {
885
+ let xs = [...ego.x], ys = [...ego.y];
886
+ for (const r of sc.replans) for (const [x, y] of (r.waypoints_world || [])) { xs.push(x); ys.push(y); }
887
+ cxm = (Math.min(...xs) + Math.max(...xs)) / 2;
888
+ cym = (Math.min(...ys) + Math.max(...ys)) / 2;
889
+ span = Math.max(Math.max(...xs) - Math.min(...xs), Math.max(...ys) - Math.min(...ys), 20) * 1.25;
890
+ }
891
+ const s = (canvas.width - 2 * BEV.pad) / span;
892
+ // CARLA is left-handed (y flipped vs. conventional map view) — negate y for display
893
+ return {
894
+ s,
895
+ px: x => canvas.width / 2 + (x - cxm) * s,
896
+ py: y => canvas.height / 2 - (-(y - cym)) * s,
897
+ };
898
+ }
899
+
900
+ function renderBEVMode() {
901
+ const seg = $("bev-mode");
902
+ seg.innerHTML = "";
903
+ for (const [label, on] of [["fit episode", false], ["follow ego", true]])
904
+ seg.append(el("button", {
905
+ class: S.bevFollow === on ? "active" : "",
906
+ onclick: () => { S.bevFollow = on; renderBEVMode(); drawBEV(BEV.lastFrame || 0); },
907
+ }, label));
908
+ }
909
+
910
+ function renderBEVLegend() {
911
+ renderBEVMode();
912
+ const lg = $("bev-legend");
913
+ lg.innerHTML = "";
914
+ const sc = S.scen;
915
+ const items = [["ego", css("--series-1")]];
916
+ if (S.compare && sibling(sc)) items.push([`ego · ${armName(sibling(sc))}`, css("--series-3")]);
917
+ items.push(["scene vehicles", css("--text-secondary")], ["pedestrians", css("--series-5")],
918
+ ["traffic", css("--baseline")], ["policy plan", css("--series-2")]);
919
+ if (sc.map && sc.map.route && sc.map.route.pts.length) items.push(["intended route", css("--text-muted")]);
920
+ if (sc.map && sc.map.signs && sc.map.signs.length) items.push(["plate", css("--map-plate")]);
921
+ for (const [name, color] of items)
922
+ lg.append(el("span", { class: "item" }, el("span", { class: "swatch", style: `background:${color}` }), name));
923
+ const recorded = sc.ego.extent != null;
924
+ $("bev-hint").textContent = "Trails show the full episode; markers follow playback. The orange plan is the " +
925
+ "selected replan's, or else the latest one at the playback time. Footprints are " +
926
+ (recorded ? "the actors' CARLA bounding boxes." : "nominal sizes (this run predates recorded extents).");
927
+ }
928
+
929
+ // nominal half-extents [length, width] in m, for runs recorded without them
930
+ const nominalExtent = a => a.type === "pedestrian" ? [0.3, 0.3]
931
+ : /hgv|truck|cola|bus|firetruck|ambulance/.test(a.label || "") ? [4.0, 1.3] : [2.3, 1.0];
932
+
933
+ function drawMap(ctx, T, map) {
934
+ if (!map || !map.lanes) return;
935
+ const fillPoly = (pts, color) => {
936
+ ctx.fillStyle = color; ctx.beginPath();
937
+ pts.forEach(([x, y], i) => i ? ctx.lineTo(T.px(x), T.py(y)) : ctx.moveTo(T.px(x), T.py(y)));
938
+ ctx.closePath(); ctx.fill();
939
+ };
940
+ for (const l of map.lanes)
941
+ if (l.kind !== "Driving") fillPoly(l.poly, css("--map-walk"));
942
+ for (const l of map.lanes)
943
+ if (l.kind === "Driving") fillPoly(l.poly, l.junction ? css("--map-junction") : css("--map-road"));
944
+ ctx.globalAlpha = 0.35;
945
+ for (const c of map.crosswalks || []) fillPoly(c, css("--map-mark"));
946
+ ctx.globalAlpha = 1;
947
+ for (const m of map.marks || []) {
948
+ ctx.strokeStyle = m.color === "yellow" ? css("--map-yellow") : css("--map-mark");
949
+ ctx.globalAlpha = 0.8;
950
+ ctx.lineWidth = Math.max(1, 0.15 * T.s);
951
+ // CARLA broken lines are ~3 m paint / ~6 m gap
952
+ ctx.setLineDash(m.style === "broken" ? [3 * T.s, 6 * T.s] : []);
953
+ ctx.beginPath();
954
+ m.pts.forEach(([x, y], i) => i ? ctx.lineTo(T.px(x), T.py(y)) : ctx.moveTo(T.px(x), T.py(y)));
955
+ ctx.stroke();
956
+ }
957
+ ctx.setLineDash([]); ctx.globalAlpha = 1;
958
+ if (map.route && map.route.pts.length) {
959
+ ctx.strokeStyle = css("--text-muted"); ctx.lineWidth = 2; ctx.setLineDash([2, 6]);
960
+ ctx.beginPath();
961
+ map.route.pts.forEach(([x, y], i) => i ? ctx.lineTo(T.px(x), T.py(y)) : ctx.moveTo(T.px(x), T.py(y)));
962
+ ctx.stroke(); ctx.setLineDash([]);
963
+ }
964
+ for (const sg of map.signs || []) {
965
+ const X = T.px(sg.x), Y = T.py(sg.y);
966
+ ctx.fillStyle = css("--map-plate"); ctx.beginPath();
967
+ for (let i = 0; i < 8; i++) {
968
+ const a = Math.PI / 8 + i * Math.PI / 4;
969
+ const R = Math.max(7, 0.6 * T.s);
970
+ i ? ctx.lineTo(X + R * Math.cos(a), Y + R * Math.sin(a)) : ctx.moveTo(X + R * Math.cos(a), Y + R * Math.sin(a));
971
+ }
972
+ ctx.closePath(); ctx.fill();
973
+ ctx.fillStyle = css("--text-primary"); ctx.font = "20px system-ui";
974
+ ctx.fillText(sg.id, X + 12, Y - 10);
975
+ }
976
+ }
977
+
978
+ function drawBEV(frame) {
979
+ const canvas = $("bev-canvas");
980
+ const cssW = canvas.clientWidth || 440;
981
+ if (canvas.width !== cssW * 2) { canvas.width = cssW * 2; canvas.height = cssW * 2; }
982
+ const ctx = canvas.getContext("2d");
983
+ const sc = S.scen, ego = sc.ego;
984
+ const T = bevTransform(canvas, frame);
985
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
986
+ drawMap(ctx, T, sc.map);
987
+
988
+ // scale bar
989
+ const step = 10 * T.s;
990
+ ctx.strokeStyle = css("--text-muted"); ctx.lineWidth = 3;
991
+ ctx.beginPath(); ctx.moveTo(BEV.pad, canvas.height - BEV.pad); ctx.lineTo(BEV.pad + step, canvas.height - BEV.pad); ctx.stroke();
992
+ ctx.fillStyle = css("--text-muted"); ctx.font = "20px system-ui";
993
+ ctx.fillText("10 m", BEV.pad, canvas.height - BEV.pad - 8);
994
+
995
+ const trail = (xs, ys, upTo, color, width) => {
996
+ ctx.strokeStyle = color; ctx.lineWidth = width; ctx.beginPath();
997
+ for (let i = 0; i <= upTo; i++) {
998
+ const X = T.px(xs[i]), Y = T.py(ys[i]);
999
+ i ? ctx.lineTo(X, Y) : ctx.moveTo(X, Y);
1000
+ }
1001
+ ctx.stroke();
1002
+ };
1003
+ // footprint at true scale (min 5 px so far-zoomed actors stay visible),
1004
+ // with a nose tick showing heading
1005
+ const footprint = (x, y, yawDeg, ext, color, hollow) => {
1006
+ const X = T.px(x), Y = T.py(y);
1007
+ const L = Math.max(5, ext[0] * T.s), W = Math.max(4, ext[1] * T.s);
1008
+ ctx.save(); ctx.translate(X, Y); ctx.rotate(-yawDeg * Math.PI / 180); // y-flip mirrors rotation
1009
+ ctx.fillStyle = color; ctx.strokeStyle = color; ctx.lineWidth = 3;
1010
+ ctx.beginPath(); ctx.rect(-L, -W, 2 * L, 2 * W);
1011
+ hollow ? ctx.stroke() : ctx.fill();
1012
+ ctx.strokeStyle = css("--surface-1"); ctx.lineWidth = 2;
1013
+ ctx.beginPath(); ctx.moveTo(L * 0.4, 0); ctx.lineTo(L, 0); ctx.stroke();
1014
+ ctx.restore();
1015
+ };
1016
+ const walker = (x, y, color) => {
1017
+ ctx.fillStyle = color; ctx.beginPath();
1018
+ ctx.arc(T.px(x), T.py(y), Math.max(6, 0.35 * T.s), 0, 7); ctx.fill();
1019
+ };
1020
+ const idx = a => {
1021
+ let k = a.frame.findIndex(f => f >= frame);
1022
+ if (k < 0) k = a.frame.length - 1;
1023
+ return k;
1024
+ };
1025
+
1026
+ // actors: background traffic faint and trail-less; scene actors with trails
1027
+ // without a scene graph, anything not tagged as traffic counts as scene
1028
+ const anyScene = sc.actors.some(o => o.scene);
1029
+ for (const a of sc.actors) {
1030
+ const k = idx(a);
1031
+ const isScene = a.scene || (!anyScene && !a.background);
1032
+ const color = a.type === "pedestrian" ? css("--series-5")
1033
+ : isScene ? css("--text-secondary") : css("--baseline");
1034
+ if (isScene) {
1035
+ ctx.globalAlpha = 0.45;
1036
+ trail(a.x, a.y, a.x.length - 1, color, 2);
1037
+ ctx.globalAlpha = 1;
1038
+ }
1039
+ if (a.type === "pedestrian") walker(a.x[k], a.y[k], color);
1040
+ else footprint(a.x[k], a.y[k], a.yaw[k], a.extent || nominalExtent(a), color, false);
1041
+ }
1042
+
1043
+ // the policy's plan: the selected replan, else the latest one at this frame
1044
+ let rp = S.selectedReplan;
1045
+ if (!rp) for (const r of sc.replans) if (r.t0 <= frame && r.waypoints_world) rp = r;
1046
+ if (rp && rp.waypoints_world) {
1047
+ ctx.globalAlpha = S.selectedReplan ? 1 : 0.85;
1048
+ ctx.strokeStyle = css("--series-2"); ctx.lineWidth = 3;
1049
+ ctx.setLineDash([8, 6]); ctx.beginPath();
1050
+ rp.waypoints_world.forEach(([x, y], i) => {
1051
+ const X = T.px(x), Y = T.py(y);
1052
+ i ? ctx.lineTo(X, Y) : ctx.moveTo(X, Y);
1053
+ });
1054
+ ctx.stroke(); ctx.setLineDash([]);
1055
+ ctx.fillStyle = css("--series-2");
1056
+ for (const [x, y] of rp.waypoints_world) {
1057
+ ctx.beginPath(); ctx.arc(T.px(x), T.py(y), 4, 0, 7); ctx.fill();
1058
+ }
1059
+ ctx.globalAlpha = 1;
1060
+ }
1061
+
1062
+ // the other arm's ego, hollow, so the two runs of one scene overlay
1063
+ const sib = S.compare ? sibling(sc) : null;
1064
+ if (sib) {
1065
+ const se = sib.ego, j = Math.min(frame, se.x.length - 1);
1066
+ ctx.setLineDash([10, 8]); ctx.globalAlpha = 0.8;
1067
+ trail(se.x, se.y, se.x.length - 1, css("--series-3"), 3);
1068
+ ctx.setLineDash([]); ctx.globalAlpha = 1;
1069
+ footprint(se.x[j], se.y[j], se.yaw[j], se.extent || [2.4, 1.05], css("--series-3"), true);
1070
+ }
1071
+
1072
+ // ego: trail up to current frame + full faint remainder
1073
+ ctx.globalAlpha = 0.3;
1074
+ trail(ego.x, ego.y, ego.x.length - 1, css("--series-1"), 2);
1075
+ ctx.globalAlpha = 1;
1076
+ const k = Math.min(frame, ego.x.length - 1);
1077
+ trail(ego.x, ego.y, k, css("--series-1"), 4);
1078
+ footprint(ego.x[k], ego.y[k], ego.yaw[k], ego.extent || [2.4, 1.05], css("--series-1"), false);
1079
+
1080
+ BEV.lastFrame = frame;
1081
+ }
1082
+
1083
+ $("bev-canvas").addEventListener("mousemove", ev => {
1084
+ const canvas = $("bev-canvas");
1085
+ const rect = canvas.getBoundingClientRect();
1086
+ const mx = (ev.clientX - rect.left) * canvas.width / rect.width;
1087
+ const my = (ev.clientY - rect.top) * canvas.height / rect.height;
1088
+ const T = bevTransform(canvas);
1089
+ const frame = BEV.lastFrame || 0;
1090
+ const tip = $("tooltip");
1091
+ let best = null, bestD = 26 * 26;
1092
+ const consider = (name, sub, x, y) => {
1093
+ const d = (T.px(x) - mx) ** 2 + (T.py(y) - my) ** 2;
1094
+ if (d < bestD) { bestD = d; best = { name, sub, x, y }; }
1095
+ };
1096
+ const sc = S.scen;
1097
+ const k = Math.min(frame, sc.ego.x.length - 1);
1098
+ consider("ego", `${fmt(sc.ego.speed[k])} m/s`, sc.ego.x[k], sc.ego.y[k]);
1099
+ for (const a of sc.actors) {
1100
+ let j = a.frame.findIndex(f => f >= frame);
1101
+ if (j < 0) j = a.frame.length - 1;
1102
+ const role = a.scene ? "scene" : a.background ? "traffic" : "";
1103
+ consider(a.type === "vehicle" ? a.label : "pedestrian", `id ${a.id}${role ? " · " + role : ""}`, a.x[j], a.y[j]);
1104
+ }
1105
+ for (const sg of (sc.map && sc.map.signs) || [])
1106
+ consider(`plate ${sg.id}`, Object.entries(sg.seen || {}).map(([v, n]) => `${v}: ${n} frames`).join(", ") || "never in view", sg.x, sg.y);
1107
+ if (best) {
1108
+ tip.innerHTML = `<div class="t-title">${best.name}</div><div class="t-row"><span>${best.sub}</span></div>` +
1109
+ `<div class="t-row"><span class="num">x ${fmt(best.x)} · y ${fmt(best.y)}</span></div>`;
1110
+ tip.style.display = "block";
1111
+ tip.style.left = Math.min(window.innerWidth - 190, ev.clientX + 14) + "px";
1112
+ tip.style.top = (ev.clientY + 14) + "px";
1113
+ } else tip.style.display = "none";
1114
+ });
1115
+ $("bev-canvas").addEventListener("mouseleave", () => { $("tooltip").style.display = "none"; });
1116
+
1117
+ /* ============================== replans ============================== */
1118
+ function renderReplans() {
1119
+ const box = $("replan-cards");
1120
+ box.innerHTML = "";
1121
+ $("cosmos-grid").innerHTML = "";
1122
+ $("cosmos-toolbar").style.display = "none";
1123
+ const cosmosOn = (S.scen.config || {}).cosmos_enabled !== false;
1124
+ for (const r of S.scen.replans) {
1125
+ const stats = [
1126
+ `sim t = ${fmt(r.sim_time_s)} s`,
1127
+ ...(cosmosOn ? [`Cosmos ${fmt(r.cosmos_s, 0)} s`] : []),
1128
+ `policy ${fmt(r.policy_s)} s`,
1129
+ `v = ${fmt(r.speed_mps)} m/s`,
1130
+ ];
1131
+ // LEAD has no chain-of-thought; its own outputs say what it decided
1132
+ const said = [].concat(r.cot || []).join(" ") || (r.target_speed != null
1133
+ ? `target ${fmt(r.target_speed, 2)} m/s${r.brake_flag ? " · brake flag set" : ""}` +
1134
+ (r.steer_modality ? ` · steering from ${r.steer_modality}` : "")
1135
+ : "(no chain-of-thought)");
1136
+ const card = el("div", { class: "replan-card", onclick: () => selectReplan(r, card) },
1137
+ el("div", { class: "rc-head" },
1138
+ el("b", { class: "num" }, `replan @ frame ${r.t0}`),
1139
+ ...stats.map(t => el("span", { class: "rc-stat num" }, t)),
1140
+ ),
1141
+ el("div", { class: "rc-cot" }, said),
1142
+ );
1143
+ box.append(card);
1144
+ }
1145
+ }
1146
+
1147
+ function selectReplan(r, card) {
1148
+ const was = S.selectedReplan === r;
1149
+ S.selectedReplan = was ? null : r;
1150
+ document.querySelectorAll(".replan-card").forEach(c => c.classList.remove("active"));
1151
+ const grid = $("cosmos-grid");
1152
+ grid.innerHTML = "";
1153
+ $("cosmos-toolbar").style.display = "none";
1154
+ if (!was) {
1155
+ card.classList.add("active");
1156
+ for (const [view, vids] of Object.entries(r.views || {})) {
1157
+ for (const [key, path] of Object.entries(vids)) {
1158
+ const v = el("video", { src: media(path), preload: "metadata", muted: "", loop: "", playsinline: "", controls: "" });
1159
+ v.currentTime = 0.001; // decode + paint the first frame
1160
+ grid.append(el("div", { class: "cosmos-cell" }, v,
1161
+ el("span", { class: "cam-label" }, `${view} · ${COSMOS_LABELS[key] || key}`)));
1162
+ }
1163
+ }
1164
+ if (grid.children.length) $("cosmos-toolbar").style.display = "flex";
1165
+ // jump the main playback to the replan moment
1166
+ const t = r.t0 / S.scen.fps;
1167
+ seekAll(t); updateAtTime(t);
1168
+ }
1169
+ drawBEV(BEV.lastFrame || 0);
1170
+ }
1171
+
1172
+ $("cosmos-play").addEventListener("click", () => {
1173
+ const vids = document.querySelectorAll("#cosmos-grid video");
1174
+ const anyPaused = [...vids].some(v => v.paused);
1175
+ vids.forEach(v => anyPaused ? v.play().catch(() => {}) : v.pause());
1176
+ $("cosmos-play").textContent = anyPaused ? "❚❚ pause all" : "▶ play all";
1177
+ });
1178
+ $("cosmos-restart").addEventListener("click", () => {
1179
+ document.querySelectorAll("#cosmos-grid video").forEach(v => { v.currentTime = 0; v.play().catch(() => {}); });
1180
+ $("cosmos-play").textContent = "❚❚ pause all";
1181
+ });
1182
+ </script>
1183
+ </body>
1184
+ </html>
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_front.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aedc29f471f167734380d098b3388df08525136d0f940cfb84affd8ac7f8bbef
3
+ size 12019062
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_front_tele.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b44e9397dbc0ea889488a19b22b6c6f582dd86454549061f06afdad1f2c0a0c9
3
+ size 14577739
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_left.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c09d00333c24273dec5e59c53254163b43485fe09571e7d8c6618b95caad43d3
3
+ size 8457681
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_f0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c21f9c910aa9ecf83becf5a51d37f3b931bf00164773eefbfd10d7b0bf0f19be
3
+ size 12147458
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_l0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4456bea5c55f79cc229ebedf94ee8d43ec49916e46d92b9c180cce37aef1f0e0
3
+ size 9240358
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_l1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd7835f0539c3dbeaa5b1b12424ce53f2fc045604d51cef577abd5f6bc4b2df0
3
+ size 9478134
dualworld/latest_autovla_dev_perfect_tracker_v2/rule_left_turn_yield_oncoming_mn__USA_Minnesota/videos/rgb_nuplan_r0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a83dd9caa098ee999f27114483916f0dd534bd762166868ac2cff8ff8ca6786
3
+ size 20855483