(scenario_name, Success_Statistic, status)
| 34 | pass |
| 35 | |
| 36 | def update_Success(scenario_name, Success_Statistic, status): |
| 37 | if scenario_name not in Success_Statistic: |
| 38 | if status: |
| 39 | Success_Statistic[scenario_name] = [1, 1] |
| 40 | else: |
| 41 | Success_Statistic[scenario_name] = [0, 1] |
| 42 | else: |
| 43 | Success_Statistic[scenario_name][1] += 1 |
| 44 | if status: |
| 45 | Success_Statistic[scenario_name][0] += 1 |
| 46 | pass |
| 47 | |
| 48 | def get_position(xml_route): |
| 49 | waypoints_elem = xml_route.find('waypoints') |