Skip to content

Instantly share code, notes, and snippets.

@Geogouz
Created November 9, 2024 21:48
Show Gist options
  • Save Geogouz/2e9040e3b59e85c61cc69d18fac66cd4 to your computer and use it in GitHub Desktop.
Save Geogouz/2e9040e3b59e85c61cc69d18fac66cd4 to your computer and use it in GitHub Desktop.
Parsing log example for evaluation scenario 6905
Parsing Node JSON DB
Nodes in scenario:
[71, 112, 148, 149]
[9, 68, 113, 155]
True Positions of Agents
Agent: 71 x: -21188.200399999998, y: -17716.2994, z: -60.9
Agent: 112 x: -20972.7997, y: -16728.5995, z: -60.5
Agent: 148 x: -20351.6006, y: -18369.7998, z: -88.4
Agent: 149 x: -20352.8, y: -18410.6003, z: -67.0
True Positions of Anchors
Anchor: 9 x: -21423.5992, y: -19489.5004, z: -60.699999999999996
Anchor: 68 x: -21386.7004, y: -17772.3007, z: -61.0
Anchor: 113 x: -20698.5992, y: -16607.8995, z: -33.6
Anchor: 155 x: -20328.100599999998, y: -18843.4998, z: -88.6
====================
Data for iteration: 1
Initial positions of Agents
Agent: 71 x: 0, y: 0, z: 0
Agent: 112 x: 0, y: 0, z: 0
Agent: 148 x: 0, y: 0, z: 0
Agent: 149 x: 0, y: 0, z: 0
Ranging samples between Agents
{'71-112': {'1': 35.5412400136848, '10': [39.42245147862045, 34.821338169404505, 40.09540188828856, 40.40840296685125, 35.60384086581122, 36.480243249372855, 40.31450327969633, 33.85103609868795, 33.960588385426554, 35.83859167473324]}, '71-148': {'1': None, '10': None}, '71-149': {'1': None, '10': None}, '112-71': {'1': 36.464593831858615, '10': [34.85264018650244, 40.36145471430851, 34.71178906473534, 34.962189291171605, 34.91523785655942, 38.326947703651044, 36.480243249372855, 36.38634356221794, 34.617889377580426, 34.49268767332757]}, '112-148': {'1': None, '10': None}, '112-149': {'1': None, '10': None}, '148-71': {'1': None, '10': None}, '148-112': {'1': None, '10': None}, '148-149': {'1': 1.424153674408317, '10': [1.4867538304570522, 1.2676532345666436, 1.4867538304570522, 1.1111528941646402, 1.3928535466641143, 1.205053078517908, 1.471103716865116, 1.3302533906153788, 1.3928535466641143, 1.3459034047676453]}, '149-71': {'1': None, '10': None}, '149-112': {'1': None, '10': None}, '149-148': {'1': 1.3615535183595815, '10': [1.3928535466641143, 1.2989533623108462, 1.377203532511848, 1.424153674408317, 1.5024038446093186, 1.3146033764631124, 1.5024038446093186, 1.2520032204143772, 1.3615535183595815, 1.3302533906153788]}}
Ranging samples to Anchors
{'71-9': {'1': None, '10': None}, '71-68': {'1': 6.5104166268271575, '10': [6.275666215663822, 6.385216513609027, 6.447816570218092, 6.4008663288819525, 6.432166357186485, 6.322616059241281, 6.369566300577421, 6.275666215663822, 6.432166357186485, 6.494766811554231]}, '71-113': {'1': None, '10': None}, '71-155': {'1': None, '10': None}, '112-9': {'1': None, '10': None}, '112-68': {'1': 28.09182134444562, '10': [38.67124761724222, 43.632310257563596, 38.68690021682591, 40.61185494074477, 38.577347930087306, 38.70254963434016, 38.73384846936865, 38.874699591135744, 40.62750435825902, 39.8450016618523]}, '112-113': {'1': 10.73592760759531, '10': [10.720277394563702, 10.720277394563702, 10.720277394563702, 10.720277394563702, 10.829828090267588, 10.751577820626915, 10.767227238141162, 10.782877451172768, 10.73592760759531, 10.81417787723598]}, '112-155': {'1': None, '10': None}, '148-9': {'1': None, '10': None}, '148-68': {'1': None, '10': None}, '148-113': {'1': None, '10': None}, '148-155': {'1': 15.916090843807087, '10': [15.931740261321334, 16.02564153951097, 16.07259138308843, 15.9473912698703, 15.9473912698703, 15.869141000229629, 9.70302468475233, 15.931740261321334, 15.978691695933513, 15.963040687384547]}, '149-9': {'1': None, '10': None}, '149-68': {'1': None, '10': None}, '149-113': {'1': None, '10': None}, '149-155': {'1': 14.49193657276075, '10': [14.617136685978881, 15.102289312371878, 14.617136685978881, 14.632787694527847, 14.585837850950389, 14.523236998823963, 14.585837850950389, 14.585837850950389, 14.570186842401421, 14.679737538105307]}}
====================
Data for iteration: 2
Initial positions of Agents
Agent: 71 x: 961.7026271753283, y: 968.6217581575955, z: 235.09725775321172
Agent: 112 x: 1060.0680353743892, y: 1425.0035618674178, z: 187.83780125931605
Agent: 148 x: 319.0784081695159, y: 168.44300815468404, z: 187.68767791694466
Agent: 149 x: 357.00486166143975, y: 676.5153719643114, z: 158.686099291204
Ranging samples between Agents
{'71-112': {'1': 39.37550004400827, '10': [33.866685516202196, 35.713389970480385, 35.74469198757832, 34.80568875189026, 34.821338169404505, 35.635139700839716, 39.37550004400827, 35.61949028332547, 34.10143632512421, 12.598282274905104]}, '71-148': {'1': None, '10': None}, '71-149': {'1': None, '10': None}, '112-71': {'1': 34.19533601227913, '10': [34.44573942078483, 33.99188722045505, 34.97783870868585, 36.35504154512001, 34.02318605548354, 36.43329181476068, 40.36145471430851, 34.60223996006618, 34.555288525453996, 34.085786907609965]}, '112-148': {'1': None, '10': None}, '112-149': {'1': None, '10': None}, '148-71': {'1': None, '10': None}, '148-112': {'1': None, '10': None}, '148-149': {'1': 1.4867538304570522, '10': [1.4398036885605832, 1.471103716865116, 1.3615535183595815, 1.2520032204143772, 1.471103716865116, 1.3928535466641143, 1.2833032487189098, 1.377203532511848, 1.4398036885605832, 1.377203532511848]}, '149-71': {'1': None, '10': None}, '149-112': {'1': None, '10': None}, '149-148': {'1': 1.2676532345666436, '10': [1.3459034047676453, 1.2833032487189098, 1.2363532062621108, 1.4554537027128496, 1.3615535183595815, 1.377203532511848, 1.2207030926701745, 1.377203532511848, 1.3302533906153788, 1.3928535466641143]}}
Ranging samples to Anchors
{'71-9': {'1': None, '10': None}, '71-68': {'1': 6.4008663288819525, '10': [6.432166357186485, 6.353916087545814, 6.244365789600609, 6.197415946023151, 6.338266272272888, 6.338266272272888, 6.353916087545814, 6.353916087545814, 6.385216513609027, 6.338266272272888]}, '71-113': {'1': None, '10': None}, '71-155': {'1': None, '10': None}, '112-9': {'1': None, '10': None}, '112-68': {'1': 40.18930157544348, '10': [44.75911604963093, 44.8373663192716, 43.69491110969002, 40.61185494074477, 40.59620234116108, 38.62429936469949, 38.59299734760155, 40.517955253589854, 38.796449321495075, 39.09380098254352]}, '112-113': {'1': 10.876777933845046, '10': [10.64202712492303, 10.767227238141162, 10.688976968500489, 10.782877451172768, 10.908077564390899, 10.704627181532096, 10.720277394563702, 10.876777933845046, 10.720277394563702, 10.767227238141162]}, '112-155': {'1': None, '10': None}, '148-9': {'1': None, '10': None}, '148-68': {'1': None, '10': None}, '148-113': {'1': None, '10': None}, '148-155': {'1': 15.884790417743874, '10': [15.99434111344776, 15.963040687384547, 15.85348999168066, 15.99434111344776, 15.900441426292842, 16.103891809151644, 15.85348999168066, 16.11954122666589, 15.931740261321334, 15.9473912698703]}, '149-9': {'1': None, '10': None}, '149-68': {'1': None, '10': None}, '149-113': {'1': None, '10': None}, '149-155': {'1': 14.914488347027321, '10': [14.523236998823963, 14.804937651323437, 14.49193657276075, 14.523236998823963, 14.49193657276075, 14.66408812059106, 14.914488347027321, 14.773637225260224, 14.53888800737293, 14.351087042028373]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment