diff --git a/race_managment.py b/race_managment.py index fdd97dd20d7f029abcdbabe77f0ae3163c2e547a..dfd0fb933ef7ff254c5465ff70a3c251a8066677 100644 --- a/race_managment.py +++ b/race_managment.py @@ -72,7 +72,7 @@ def main_loop(): # if section type is None driving_analyser still count to decide which type it is if(section_type is not None): - + #print(get_section_type_formated(section_type)) # update localizer position localizer.update_position(section_type) update_dashboard(dashboard, localizer, driving_analyser) @@ -84,8 +84,7 @@ def main_loop(): if len(section) == 1: print(section.iloc[0].s_name) tp.select_trackpart(section.iloc[0].s_name) - #tp.set_robot_to_trackpart(section.iloc[0].s_name) - #tp.select_trackpart(section.iloc[0].s_name) + except Exception as e: print("An error occured") print(e)