rtmgr.py 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363
  1. #!/usr/bin/env python2
  2. # -*- coding: UTF-8 -*-
  3. #
  4. # generated by wxGlade 0.7.1 on Thu Dec 20 11:31:50 2018
  5. #
  6. import wx
  7. # begin wxGlade: dependencies
  8. import gettext
  9. # end wxGlade
  10. # begin wxGlade: extracode
  11. # end wxGlade
  12. class MyFrame(wx.Frame):
  13. def __init__(self, *args, **kwds):
  14. # begin wxGlade: MyFrame.__init__
  15. kwds["style"] = wx.DEFAULT_FRAME_STYLE
  16. wx.Frame.__init__(self, *args, **kwds)
  17. self.notebook_1 = wx.Notebook(self, wx.ID_ANY)
  18. self.tab_qs = wx.Panel(self.notebook_1, wx.ID_ANY)
  19. self.button_map_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Map"))
  20. self.panel_map_qs = wx.Panel(self.tab_qs, wx.ID_ANY)
  21. self.label_map_qs = wx.StaticText(self.tab_qs, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  22. self.button_sensing_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Sensing"))
  23. self.panel_sensing_qs = wx.Panel(self.tab_qs, wx.ID_ANY)
  24. self.label_sensing_qs = wx.StaticText(self.tab_qs, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  25. self.button_localization_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Localization"))
  26. self.panel_localization_qs = wx.Panel(self.tab_qs, wx.ID_ANY)
  27. self.label_localization_qs = wx.StaticText(self.tab_qs, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  28. self.button_detection_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Detection"))
  29. self.panel_detection_qs = wx.Panel(self.tab_qs, wx.ID_ANY)
  30. self.label_detection_qs = wx.StaticText(self.tab_qs, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  31. self.button_mission_planning_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Mission Planning"))
  32. self.panel_mission_planning_qs = wx.Panel(self.tab_qs, wx.ID_ANY)
  33. self.label_mission_planning_qs = wx.StaticText(self.tab_qs, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  34. self.button_motion_planning_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Motion Planning"))
  35. self.panel_motion_planning_qs = wx.Panel(self.tab_qs, wx.ID_ANY)
  36. self.label_motion_planning_qs = wx.StaticText(self.tab_qs, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  37. self.button_android_tablet_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Android Tablet"))
  38. self.button_oculus_rift_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Oculus Rift"))
  39. self.button_vehicle_gateway_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Vehicle Gateway"))
  40. self.button_remote_control_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Remote Control"))
  41. self.button_cloud_data_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Cloud Data"))
  42. self.sizer_45_staticbox = wx.StaticBox(self.tab_qs, wx.ID_ANY, "")
  43. self.button_auto_pilot_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("Auto Pilot"))
  44. self.button_rosbag_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("ROSBAG"))
  45. self.button_rviz_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("RViz"))
  46. self.button_rqt_qs = wx.ToggleButton(self.tab_qs, wx.ID_ANY, _("RQT"))
  47. self.tab_setup = wx.Panel(self.notebook_1, wx.ID_ANY)
  48. self.radio_box_localizer = wx.RadioBox(self.tab_setup, wx.ID_ANY, _("Localizer"), choices=[_("Velodyne"), _("Hokuyo 3D URG")], majorDimension=2, style=wx.RA_SPECIFY_COLS)
  49. self.button_setup_tf = wx.ToggleButton(self.tab_setup, wx.ID_ANY, _("TF"))
  50. self.panel_setup_tf = wx.Panel(self.tab_setup, wx.ID_ANY)
  51. self.sizer_42_staticbox = wx.StaticBox(self.tab_setup, wx.ID_ANY, _("Baselink to Localizer"))
  52. self.button_vehicle_model = wx.ToggleButton(self.tab_setup, wx.ID_ANY, _("Vehicle Model"))
  53. self.panel_vehicle_model = wx.Panel(self.tab_setup, wx.ID_ANY)
  54. self.sizer_43_staticbox = wx.StaticBox(self.tab_setup, wx.ID_ANY, _("Vehicle Model"))
  55. self.button_vehicle_info = wx.ToggleButton(self.tab_setup, wx.ID_ANY, _("Vehicle Info"))
  56. self.panel_vehicle_info = wx.Panel(self.tab_setup, wx.ID_ANY)
  57. self.sizer_43_copy_staticbox = wx.StaticBox(self.tab_setup, wx.ID_ANY, _("Vehicle Info"))
  58. self.button_rosbag_setup = wx.ToggleButton(self.tab_setup, wx.ID_ANY, _("ROSBAG"))
  59. self.button_rviz_setup = wx.ToggleButton(self.tab_setup, wx.ID_ANY, _("RViz"))
  60. self.button_rqt_setup = wx.ToggleButton(self.tab_setup, wx.ID_ANY, _("RQT"))
  61. self.tab_map = wx.Panel(self.notebook_1, wx.ID_ANY)
  62. self.button_point_cloud = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("Point Cloud"))
  63. self.panel_point_cloud = wx.Panel(self.tab_map, wx.ID_ANY)
  64. self.checkbox_auto_update = wx.CheckBox(self.tab_map, wx.ID_ANY, _("Auto Update"))
  65. self.choice_scene_num = wx.Choice(self.tab_map, wx.ID_ANY, choices=[_("1x1"), _("3x3"), _("5x5"), _("7x7"), _("9x9")])
  66. self.button_area_lists = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("Area Lists"))
  67. self.label_9 = wx.StaticText(self.tab_map, wx.ID_ANY, _("Area List :"))
  68. self.panel_area_lists = wx.Panel(self.tab_map, wx.ID_ANY)
  69. self.label_point_cloud_bar = wx.StaticText(self.tab_map, wx.ID_ANY, _("Loading bar ... 82%"), style=wx.ALIGN_CENTER)
  70. self.label_point_cloud = wx.StaticText(self.tab_map, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
  71. self.static_line_4 = wx.StaticLine(self.tab_map, wx.ID_ANY)
  72. self.button_vector_map = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("Vector Map"))
  73. self.panel_vector_map = wx.Panel(self.tab_map, wx.ID_ANY)
  74. self.static_line_5 = wx.StaticLine(self.tab_map, wx.ID_ANY)
  75. self.button_lanelet_map = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("Lanelet Map"))
  76. self.panel_lanelet_map = wx.Panel(self.tab_map, wx.ID_ANY)
  77. self.static_line_6 = wx.StaticLine(self.tab_map, wx.ID_ANY)
  78. self.button_tf = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("TF"))
  79. self.panel_tf = wx.Panel(self.tab_map, wx.ID_ANY)
  80. self.sizer_61_staticbox = wx.StaticBox(self.tab_map, wx.ID_ANY, "")
  81. self.button_pcd_filter = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("PCD Filter"))
  82. self.panel_pcd_filter = wx.Panel(self.tab_map, wx.ID_ANY)
  83. self.static_line_5_copy = wx.StaticLine(self.tab_map, wx.ID_ANY)
  84. self.button_pcd_binarizer = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("PCD Binarizer"))
  85. self.panel_pcd_binarizer = wx.Panel(self.tab_map, wx.ID_ANY)
  86. self.sizer_39_staticbox = wx.StaticBox(self.tab_map, wx.ID_ANY, _("Map Tools"))
  87. self.button_rosbag_map = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("ROSBAG"))
  88. self.button_rviz_map = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("RViz"))
  89. self.button_rqt_map = wx.ToggleButton(self.tab_map, wx.ID_ANY, _("RQT"))
  90. self.tab_sensing = wx.Panel(self.notebook_1, wx.ID_ANY)
  91. self.panel_sensing = wx.ScrolledWindow(self.tab_sensing, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  92. self.tree_ctrl_sense = wx.TreeCtrl(self.tab_sensing, wx.ID_ANY, style=wx.BORDER_SUNKEN | wx.TR_DEFAULT_STYLE | wx.TR_HAS_BUTTONS | wx.TR_NO_LINES)
  93. # self.button_calibration_toolkit = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("Calibration Tool Kit"))
  94. self.button_calibration_publisher = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("Calibration Publisher"))
  95. self.sizer_89_staticbox = wx.StaticBox(self.tab_sensing, wx.ID_ANY, "")
  96. self.button_points_image = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("Points Image"))
  97. self.button_virtual_scan_image = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("Virtual Scan Image"))
  98. # self.button_scan_image = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("Scan Image"))
  99. self.sizer_94_staticbox = wx.StaticBox(self.tab_sensing, wx.ID_ANY, "")
  100. self.button_rosbag_sensing = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("ROSBAG"))
  101. self.button_rviz_sensing = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("RViz"))
  102. self.button_rqt_sensing = wx.ToggleButton(self.tab_sensing, wx.ID_ANY, _("RQT"))
  103. self.tab_computing = wx.Panel(self.notebook_1, wx.ID_ANY)
  104. self.tree_ctrl_0 = wx.TreeCtrl(self.tab_computing, wx.ID_ANY, style=wx.BORDER_SUNKEN | wx.TR_DEFAULT_STYLE | wx.TR_HAS_BUTTONS | wx.TR_NO_LINES)
  105. self.tree_ctrl_1 = wx.TreeCtrl(self.tab_computing, wx.ID_ANY, style=wx.BORDER_SUNKEN | wx.TR_DEFAULT_STYLE | wx.TR_HAS_BUTTONS | wx.TR_NO_LINES)
  106. self.button_synchronization = wx.ToggleButton(self.tab_computing, wx.ID_ANY, _("Synchronization"))
  107. self.button_rosbag_computing = wx.ToggleButton(self.tab_computing, wx.ID_ANY, _("ROSBAG"))
  108. self.button_rviz_computing = wx.ToggleButton(self.tab_computing, wx.ID_ANY, _("RViz"))
  109. self.button_rqt_computing = wx.ToggleButton(self.tab_computing, wx.ID_ANY, _("RQT"))
  110. self.tab_interface = wx.Panel(self.notebook_1, wx.ID_ANY)
  111. self.button_android_tablet_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("Android Tablet"))
  112. self.button_oculus_rift_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("Oculus Rift"))
  113. self.button_vehicle_gateway_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("Vehicle Gateway"))
  114. self.button_remote_control_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("Remote Control"))
  115. self.sizer_25_staticbox = wx.StaticBox(self.tab_interface, wx.ID_ANY, "")
  116. self.checkbox_sound = wx.CheckBox(self.tab_interface, wx.ID_ANY, _("Sound"))
  117. self.sizer_12_staticbox = wx.StaticBox(self.tab_interface, wx.ID_ANY, "")
  118. self.button_auto_pilot_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("Auto Pilot"))
  119. self.label_5 = wx.StaticText(self.tab_interface, wx.ID_ANY, _("Lamp"))
  120. self.button_statchk_lamp_l = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("L"))
  121. self.button_statchk_lamp_r = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("R"))
  122. self.label_5_copy = wx.StaticText(self.tab_interface, wx.ID_ANY, _("Indicator"))
  123. self.button_statchk_indi_l = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("L"))
  124. self.button_statchk_indi_r = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("R"))
  125. self.button_statchk_d = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("D"))
  126. self.button_statchk_r = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("R"))
  127. self.button_statchk_b = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("B"))
  128. self.button_statchk_n = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("N"))
  129. self.button_statchk_p = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("P"))
  130. self.panel_interface_cc = wx.Panel(self.tab_interface, wx.ID_ANY)
  131. self.sizer_26_staticbox = wx.StaticBox(self.tab_interface, wx.ID_ANY, "")
  132. self.button_rosbag_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("ROSBAG"))
  133. self.button_rviz_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("RViz"))
  134. self.button_rqt_interface = wx.ToggleButton(self.tab_interface, wx.ID_ANY, _("RQT"))
  135. self.tab_database = wx.Panel(self.notebook_1, wx.ID_ANY)
  136. self.tree_ctrl_data = wx.TreeCtrl(self.tab_database, wx.ID_ANY, style=wx.BORDER_SUNKEN | wx.TR_DEFAULT_STYLE | wx.TR_HAS_BUTTONS | wx.TR_NO_LINES)
  137. self.text_ctrl_query = wx.TextCtrl(self.tab_database, wx.ID_ANY, _("sentence"))
  138. self.button_query = wx.Button(self.tab_database, wx.ID_ANY, _("Query"))
  139. self.list_ctrl_sql = wx.ListCtrl(self.tab_database, wx.ID_ANY, style=wx.BORDER_SUNKEN | wx.LC_REPORT)
  140. self.button_rosbag_database = wx.ToggleButton(self.tab_database, wx.ID_ANY, _("ROSBAG"))
  141. self.button_rviz_database = wx.ToggleButton(self.tab_database, wx.ID_ANY, _("RViz"))
  142. self.button_rqt_database = wx.ToggleButton(self.tab_database, wx.ID_ANY, _("RQT"))
  143. self.tab_simulation = wx.Panel(self.notebook_1, wx.ID_ANY)
  144. self.panel_rosbag_play = wx.Panel(self.tab_simulation, wx.ID_ANY)
  145. self.sizer_79_staticbox = wx.StaticBox(self.tab_simulation, wx.ID_ANY, "")
  146. self.button_play_rosbag_play = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("Play"))
  147. self.button_stop_rosbag_play = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("Stop"))
  148. self.button_pause_rosbag_play = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("Pause"))
  149. self.label_rosbag_play_bar = wx.StaticText(self.tab_simulation, wx.ID_ANY, _("Playing ... 82 %"))
  150. self.label_rosbag_play_pos = wx.StaticText(self.tab_simulation, wx.ID_ANY, "")
  151. self.static_line_3 = wx.StaticLine(self.tab_simulation, wx.ID_ANY)
  152. self.label_rosbag_play_total = wx.StaticText(self.tab_simulation, wx.ID_ANY, "")
  153. self.panel_5 = wx.ScrolledWindow(self.tab_simulation, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  154. self.label_rosbag_info = wx.StaticText(self.panel_5, wx.ID_ANY, "")
  155. self.button_gazebo = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("Gazebo"))
  156. self.button_lgsvl_sim = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("LGSVL Simulator"))
  157. self.button_rosbag_simulation = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("ROSBAG"))
  158. self.button_rviz_simulation = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("RViz"))
  159. self.button_rqt_simulation = wx.ToggleButton(self.tab_simulation, wx.ID_ANY, _("RQT"))
  160. self.tab_status = wx.Panel(self.notebook_1, wx.ID_ANY)
  161. self.panel_3 = wx.ScrolledWindow(self.tab_status, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  162. self.label_top_cmd = wx.StaticText(self.panel_3, wx.ID_ANY, "")
  163. self.sizer_86_staticbox = wx.StaticBox(self.tab_status, wx.ID_ANY, "")
  164. self.panel_4 = wx.ScrolledWindow(self.tab_status, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  165. self.label_node_time = wx.StaticText(self.panel_4, wx.ID_ANY, "")
  166. self.sizer_87_staticbox = wx.StaticBox(self.panel_4, wx.ID_ANY, "")
  167. self.checkbox_stdout = wx.CheckBox(self.tab_status, wx.ID_ANY, _("Stdout"))
  168. self.checkbox_stderr = wx.CheckBox(self.tab_status, wx.ID_ANY, _("Stderr"))
  169. self.text_ctrl_stdout = wx.TextCtrl(self.tab_status, wx.ID_ANY, "", style=wx.HSCROLL | wx.TE_MULTILINE | wx.TE_READONLY)
  170. self.sizer_stdout_staticbox = wx.StaticBox(self.tab_status, wx.ID_ANY, "")
  171. self.button_system_monitor = wx.ToggleButton(self.tab_status, wx.ID_ANY, _("System Monitor"))
  172. self.button_ftrace = wx.ToggleButton(self.tab_status, wx.ID_ANY, _("Ftrace"))
  173. self.button_rosbag_status = wx.ToggleButton(self.tab_status, wx.ID_ANY, _("ROSBAG"))
  174. self.button_rviz_status = wx.ToggleButton(self.tab_status, wx.ID_ANY, _("RViz"))
  175. self.button_rqt_status = wx.ToggleButton(self.tab_status, wx.ID_ANY, _("RQT"))
  176. self.tab_topics = wx.Panel(self.notebook_1, wx.ID_ANY)
  177. self.panel_topics_list = wx.ScrolledWindow(self.tab_topics, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  178. self.checkbox_topics_echo = wx.CheckBox(self.tab_topics, wx.ID_ANY, _("Echo"))
  179. self.text_ctrl_topics_echo = wx.TextCtrl(self.tab_topics, wx.ID_ANY, "", style=wx.HSCROLL | wx.TE_MULTILINE | wx.TE_READONLY)
  180. self.panel_topics_info = wx.ScrolledWindow(self.tab_topics, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  181. self.label_topics_info = wx.StaticText(self.panel_topics_info, wx.ID_ANY, "")
  182. self.sizer_36_staticbox = wx.StaticBox(self.tab_topics, wx.ID_ANY, _("Info"))
  183. self.button_refresh_topics = wx.Button(self.tab_topics, wx.ID_ANY, _("Refresh"))
  184. self.button_rosbag_topics = wx.ToggleButton(self.tab_topics, wx.ID_ANY, _("ROSBAG"))
  185. self.button_rviz_topics = wx.ToggleButton(self.tab_topics, wx.ID_ANY, _("RViz"))
  186. self.button_rqt_topics = wx.ToggleButton(self.tab_topics, wx.ID_ANY, _("RQT"))
  187. self.tab_states = wx.Panel(self.notebook_1, wx.ID_ANY)
  188. self.button_mainstate_0 = wx.Button(self.tab_states, wx.ID_ANY, _("START"))
  189. self.button_mainstate_1 = wx.Button(self.tab_states, wx.ID_ANY, _("INIT"))
  190. self.button_mainstate_2 = wx.Button(self.tab_states, wx.ID_ANY, _("LOCATE"))
  191. self.button_mainstate_3 = wx.Button(self.tab_states, wx.ID_ANY, _("DRIVE"))
  192. self.button_mainstate_4 = wx.Button(self.tab_states, wx.ID_ANY, _("GOAL"))
  193. self.button_mainstate_5 = wx.Button(self.tab_states, wx.ID_ANY, _("EMERGENCY"))
  194. self.sizer_65_staticbox = wx.StaticBox(self.tab_states, wx.ID_ANY, _("MainState"))
  195. self.button_substate_acc_0 = wx.Button(self.tab_states, wx.ID_ANY, _("Accelerate"))
  196. self.button_substate_acc_3 = wx.Button(self.tab_states, wx.ID_ANY, _("Decelerate"))
  197. self.button_substate_acc_1 = wx.Button(self.tab_states, wx.ID_ANY, _("Crawl"))
  198. self.button_substate_acc_4 = wx.Button(self.tab_states, wx.ID_ANY, _("Keep"))
  199. self.button_substate_acc_2 = wx.Button(self.tab_states, wx.ID_ANY, _("Pause"))
  200. self.button_substate_acc_5 = wx.Button(self.tab_states, wx.ID_ANY, _("Stop"))
  201. self.sizer_74_staticbox = wx.StaticBox(self.tab_states, wx.ID_ANY, _("Accel/Brake"))
  202. self.button_substate_str_straight = wx.Button(self.tab_states, wx.ID_ANY, _("Straight"))
  203. self.button_substate_str_left = wx.Button(self.tab_states, wx.ID_ANY, _("Left"))
  204. self.button_substate_str_right = wx.Button(self.tab_states, wx.ID_ANY, _("Right"))
  205. self.sizer_84_staticbox = wx.StaticBox(self.tab_states, wx.ID_ANY, _("Steering"))
  206. self.button_substate_behavior_lanechange_left_copy = wx.Button(self.tab_states, wx.ID_ANY, _("Lane Change Left"))
  207. self.button_substate_behavior_lanechange_right = wx.Button(self.tab_states, wx.ID_ANY, _("Lane Change Right"))
  208. self.button_substate_behavior_obstacle_avoid = wx.Button(self.tab_states, wx.ID_ANY, _("Obstacle Avoid"))
  209. self.button_substate_behavior_clear = wx.Button(self.tab_states, wx.ID_ANY, _("Clear ALL"))
  210. self.button_substate_behavior_null_0 = wx.Button(self.tab_states, wx.ID_ANY, _("TrafficLightRed"))
  211. self.button_substate_behavior_null_1 = wx.Button(self.tab_states, wx.ID_ANY, _("TrafficLightGreen"))
  212. self.button_substate_behavior_null_2 = wx.Button(self.tab_states, wx.ID_ANY, _("StoplinePlan"))
  213. self.button_substate_behavior_null_3 = wx.Button(self.tab_states, wx.ID_ANY, _("AcceptLaneChange"))
  214. self.sizer_91_staticbox = wx.StaticBox(self.tab_states, wx.ID_ANY, _("Behavior"))
  215. self.sizer_58_staticbox = wx.StaticBox(self.tab_states, wx.ID_ANY, _("SubState"))
  216. self.sizer_50_staticbox = wx.StaticBox(self.tab_states, wx.ID_ANY, _("State"))
  217. self.button_rosbag_states = wx.ToggleButton(self.tab_states, wx.ID_ANY, _("ROSBAG"))
  218. self.button_rviz_states = wx.ToggleButton(self.tab_states, wx.ID_ANY, _("RViz"))
  219. self.button_rqt_states = wx.ToggleButton(self.tab_states, wx.ID_ANY, _("RQT"))
  220. self.bitmap_logo = wx.StaticBitmap(self, wx.ID_ANY, wx.NullBitmap)
  221. self.__set_properties()
  222. self.__do_layout()
  223. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_map_qs)
  224. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_sensing_qs)
  225. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_localization_qs)
  226. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_detection_qs)
  227. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_mission_planning_qs)
  228. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_motion_planning_qs)
  229. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_android_tablet_qs)
  230. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_oculus_rift_qs)
  231. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_vehicle_gateway_qs)
  232. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_remote_control_qs)
  233. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_cloud_data_qs)
  234. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnAutoPilot, self.button_auto_pilot_qs)
  235. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_qs)
  236. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_qs)
  237. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_qs)
  238. self.Bind(wx.EVT_RADIOBOX, self.OnSetupLocalizer, self.radio_box_localizer)
  239. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_setup_tf)
  240. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_vehicle_model)
  241. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_vehicle_info)
  242. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_setup)
  243. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_setup)
  244. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_setup)
  245. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_point_cloud)
  246. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_area_lists)
  247. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_vector_map)
  248. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_lanelet_map)
  249. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_tf)
  250. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_pcd_filter)
  251. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_pcd_binarizer)
  252. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_map)
  253. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_map)
  254. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_map)
  255. # self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_calibration_toolkit)
  256. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnCalibrationPublisher, self.button_calibration_publisher)
  257. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_points_image)
  258. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_virtual_scan_image)
  259. # self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_scan_image)
  260. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_sensing)
  261. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_sensing)
  262. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_sensing)
  263. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_synchronization)
  264. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_computing)
  265. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_computing)
  266. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_computing)
  267. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_android_tablet_interface)
  268. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_oculus_rift_interface)
  269. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_vehicle_gateway_interface)
  270. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_remote_control_interface)
  271. self.Bind(wx.EVT_CHECKBOX, self.OnLaunchKill, self.checkbox_sound)
  272. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnAutoPilot, self.button_auto_pilot_interface)
  273. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLamp, self.button_statchk_lamp_l)
  274. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLamp, self.button_statchk_lamp_r)
  275. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnIndi, self.button_statchk_indi_l)
  276. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnIndi, self.button_statchk_indi_r)
  277. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnGear, self.button_statchk_d)
  278. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnGear, self.button_statchk_r)
  279. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnGear, self.button_statchk_b)
  280. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnGear, self.button_statchk_n)
  281. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnGear, self.button_statchk_p)
  282. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_interface)
  283. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_interface)
  284. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_interface)
  285. self.Bind(wx.EVT_BUTTON, self.OnQuery, self.button_query)
  286. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_database)
  287. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_database)
  288. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_database)
  289. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagPlay, self.button_play_rosbag_play)
  290. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagPlay, self.button_stop_rosbag_play)
  291. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagPlay, self.button_pause_rosbag_play)
  292. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_gazebo)
  293. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_lgsvl_sim)
  294. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_simulation)
  295. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_simulation)
  296. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_simulation)
  297. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_system_monitor)
  298. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnFtrace, self.button_ftrace)
  299. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_status)
  300. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_status)
  301. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_status)
  302. self.Bind(wx.EVT_CHECKBOX, self.OnEcho, self.checkbox_topics_echo)
  303. self.Bind(wx.EVT_BUTTON, self.OnRefreshTopics, self.button_refresh_topics)
  304. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_topics)
  305. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_topics)
  306. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_topics)
  307. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_mainstate_0)
  308. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_mainstate_1)
  309. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_mainstate_2)
  310. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_mainstate_3)
  311. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_mainstate_4)
  312. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_mainstate_5)
  313. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_acc_0)
  314. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_acc_3)
  315. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_acc_1)
  316. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_acc_4)
  317. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_acc_2)
  318. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_acc_5)
  319. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_str_straight)
  320. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_str_left)
  321. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_str_right)
  322. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_lanechange_left_copy)
  323. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_lanechange_right)
  324. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_obstacle_avoid)
  325. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_clear)
  326. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_null_0)
  327. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_null_1)
  328. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_null_2)
  329. self.Bind(wx.EVT_BUTTON, self.OnState, self.button_substate_behavior_null_3)
  330. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnROSbagRecord, self.button_rosbag_states)
  331. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rviz_states)
  332. self.Bind(wx.EVT_TOGGLEBUTTON, self.OnLaunchKill, self.button_rqt_states)
  333. # end wxGlade
  334. def __set_properties(self):
  335. # begin wxGlade: MyFrame.__set_properties
  336. self.SetTitle(_("Runtime Manager"))
  337. self.SetSize((806, 684))
  338. self.button_map_qs.SetMinSize((125, 29))
  339. self.label_map_qs.SetMinSize((100, 17))
  340. self.button_sensing_qs.SetMinSize((125, 29))
  341. self.label_sensing_qs.SetMinSize((100, 17))
  342. self.button_localization_qs.SetMinSize((125, 29))
  343. self.label_localization_qs.SetMinSize((100, 17))
  344. self.button_detection_qs.SetMinSize((125, 29))
  345. self.label_detection_qs.SetMinSize((100, 17))
  346. self.button_mission_planning_qs.SetMinSize((125, 29))
  347. self.label_mission_planning_qs.SetMinSize((100, 17))
  348. self.button_motion_planning_qs.SetMinSize((125, 29))
  349. self.label_motion_planning_qs.SetMinSize((100, 17))
  350. self.button_auto_pilot_qs.SetMinSize((135, 29))
  351. self.radio_box_localizer.SetSelection(0)
  352. self.button_point_cloud.SetMinSize((125, 29))
  353. self.choice_scene_num.SetSelection(0)
  354. self.button_area_lists.SetMinSize((125, 29))
  355. self.button_area_lists.Hide()
  356. self.label_point_cloud.SetMinSize((100, 17))
  357. self.button_vector_map.SetMinSize((125, 29))
  358. self.button_lanelet_map.SetMinSize((125, 29))
  359. self.button_tf.SetMinSize((125, 29))
  360. self.button_pcd_filter.SetMinSize((125, 29))
  361. self.button_pcd_binarizer.SetMinSize((125, 29))
  362. self.panel_sensing.SetScrollRate(10, 10)
  363. self.button_statchk_lamp_l.SetMinSize((32, 29))
  364. self.button_statchk_lamp_r.SetMinSize((32, 29))
  365. self.button_statchk_indi_l.SetMinSize((32, 29))
  366. self.button_statchk_indi_r.SetMinSize((32, 29))
  367. self.button_statchk_d.SetMinSize((32, 29))
  368. self.button_statchk_r.SetMinSize((32, 29))
  369. self.button_statchk_b.SetMinSize((32, 29))
  370. self.button_statchk_n.SetMinSize((32, 29))
  371. self.button_statchk_p.SetMinSize((32, 29))
  372. self.button_stop_rosbag_play.Enable(False)
  373. self.button_pause_rosbag_play.Enable(False)
  374. self.label_rosbag_play_pos.SetMinSize((32, 17))
  375. self.label_rosbag_play_total.SetMinSize((32, 17))
  376. self.panel_5.SetScrollRate(10, 10)
  377. self.panel_3.SetScrollRate(10, 10)
  378. self.panel_4.SetScrollRate(10, 10)
  379. self.panel_topics_list.SetScrollRate(10, 10)
  380. self.panel_topics_info.SetScrollRate(10, 10)
  381. self.button_substate_acc_0.SetMinSize((90, 28))
  382. self.button_substate_acc_3.SetMinSize((90, 28))
  383. self.button_substate_acc_1.SetMinSize((90, 28))
  384. self.button_substate_acc_4.SetMinSize((90, 28))
  385. self.button_substate_acc_2.SetMinSize((90, 28))
  386. self.button_substate_acc_5.SetMinSize((90, 28))
  387. self.button_substate_behavior_lanechange_left_copy.SetMinSize((140, 29))
  388. self.button_substate_behavior_lanechange_right.SetMinSize((140, 29))
  389. self.button_substate_behavior_obstacle_avoid.SetMinSize((140, 29))
  390. self.button_substate_behavior_clear.SetMinSize((140, 29))
  391. self.button_substate_behavior_null_0.SetMinSize((140, 29))
  392. self.button_substate_behavior_null_1.SetMinSize((140, 29))
  393. self.button_substate_behavior_null_2.SetMinSize((140, 29))
  394. self.button_substate_behavior_null_3.SetMinSize((140, 29))
  395. # end wxGlade
  396. def __do_layout(self):
  397. # begin wxGlade: MyFrame.__do_layout
  398. self.sizer_1 = wx.BoxSizer(wx.VERTICAL)
  399. sizer_29 = wx.BoxSizer(wx.HORIZONTAL)
  400. self.sizer_cpuinfo = wx.BoxSizer(wx.HORIZONTAL)
  401. sizer_90 = wx.BoxSizer(wx.VERTICAL)
  402. sizer_62_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  403. sizer_52_copy_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  404. self.sizer_50_staticbox.Lower()
  405. sizer_50 = wx.StaticBoxSizer(self.sizer_50_staticbox, wx.HORIZONTAL)
  406. sizer_55 = wx.BoxSizer(wx.VERTICAL)
  407. self.sizer_58_staticbox.Lower()
  408. sizer_58 = wx.StaticBoxSizer(self.sizer_58_staticbox, wx.HORIZONTAL)
  409. sizer_73 = wx.BoxSizer(wx.HORIZONTAL)
  410. self.sizer_91_staticbox.Lower()
  411. sizer_91 = wx.StaticBoxSizer(self.sizer_91_staticbox, wx.HORIZONTAL)
  412. sizer_93 = wx.BoxSizer(wx.VERTICAL)
  413. sizer_92 = wx.BoxSizer(wx.VERTICAL)
  414. self.sizer_84_staticbox.Lower()
  415. sizer_84 = wx.StaticBoxSizer(self.sizer_84_staticbox, wx.VERTICAL)
  416. self.sizer_74_staticbox.Lower()
  417. sizer_74 = wx.StaticBoxSizer(self.sizer_74_staticbox, wx.VERTICAL)
  418. grid_sizer_1 = wx.GridSizer(3, 2, 0, 0)
  419. self.sizer_65_staticbox.Lower()
  420. sizer_65 = wx.StaticBoxSizer(self.sizer_65_staticbox, wx.HORIZONTAL)
  421. sizer_67 = wx.BoxSizer(wx.HORIZONTAL)
  422. sizer_85_copy = wx.BoxSizer(wx.VERTICAL)
  423. sizer_51_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  424. sizer_52_copy_1_copy = wx.BoxSizer(wx.HORIZONTAL)
  425. sizer_60_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  426. sizer_32 = wx.BoxSizer(wx.HORIZONTAL)
  427. sizer_34 = wx.BoxSizer(wx.VERTICAL)
  428. self.sizer_36_staticbox.Lower()
  429. sizer_36 = wx.StaticBoxSizer(self.sizer_36_staticbox, wx.HORIZONTAL)
  430. sizer_topics_info = wx.BoxSizer(wx.VERTICAL)
  431. sizer_35 = wx.BoxSizer(wx.VERTICAL)
  432. self.sizer_topics_list = wx.BoxSizer(wx.VERTICAL)
  433. sizer_85 = wx.BoxSizer(wx.VERTICAL)
  434. sizer_51_copy = wx.BoxSizer(wx.HORIZONTAL)
  435. sizer_52_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  436. sizer_60_copy = wx.BoxSizer(wx.HORIZONTAL)
  437. sizer_20 = wx.BoxSizer(wx.HORIZONTAL)
  438. self.sizer_stdout_staticbox.Lower()
  439. sizer_stdout = wx.StaticBoxSizer(self.sizer_stdout_staticbox, wx.VERTICAL)
  440. sizer_38 = wx.BoxSizer(wx.HORIZONTAL)
  441. self.sizer_87_staticbox.Lower()
  442. sizer_87 = wx.StaticBoxSizer(self.sizer_87_staticbox, wx.HORIZONTAL)
  443. self.sizer_86_staticbox.Lower()
  444. sizer_86 = wx.StaticBoxSizer(self.sizer_86_staticbox, wx.HORIZONTAL)
  445. sizer_19 = wx.BoxSizer(wx.HORIZONTAL)
  446. sizer_78 = wx.BoxSizer(wx.VERTICAL)
  447. sizer_62_copy_copy_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  448. sizer_52_copy_copy_copy_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  449. sizer_62_copy_copy_copy_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  450. sizer_37 = wx.BoxSizer(wx.HORIZONTAL)
  451. sizer_80 = wx.BoxSizer(wx.HORIZONTAL)
  452. sizer_82 = wx.BoxSizer(wx.HORIZONTAL)
  453. sizer_83 = wx.BoxSizer(wx.VERTICAL)
  454. sizer_81 = wx.BoxSizer(wx.HORIZONTAL)
  455. self.sizer_79_staticbox.Lower()
  456. sizer_79 = wx.StaticBoxSizer(self.sizer_79_staticbox, wx.VERTICAL)
  457. sizer_10 = wx.BoxSizer(wx.VERTICAL)
  458. sizer_62_copy_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  459. sizer_52_copy_copy_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  460. sizer_11 = wx.BoxSizer(wx.HORIZONTAL)
  461. sizer_17 = wx.BoxSizer(wx.VERTICAL)
  462. sizer_18 = wx.BoxSizer(wx.HORIZONTAL)
  463. sizer_24 = wx.BoxSizer(wx.VERTICAL)
  464. sizer_62_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  465. sizer_52_copy_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  466. self.sizer_26_staticbox.Lower()
  467. sizer_26 = wx.StaticBoxSizer(self.sizer_26_staticbox, wx.VERTICAL)
  468. sizer_77 = wx.BoxSizer(wx.HORIZONTAL)
  469. sizer_66 = wx.BoxSizer(wx.VERTICAL)
  470. sizer_72 = wx.BoxSizer(wx.HORIZONTAL)
  471. sizer_75 = wx.BoxSizer(wx.HORIZONTAL)
  472. sizer_76_copy = wx.BoxSizer(wx.VERTICAL)
  473. sizer_54_copy = wx.BoxSizer(wx.HORIZONTAL)
  474. sizer_76 = wx.BoxSizer(wx.VERTICAL)
  475. sizer_54 = wx.BoxSizer(wx.HORIZONTAL)
  476. sizer_9 = wx.BoxSizer(wx.HORIZONTAL)
  477. self.sizer_12_staticbox.Lower()
  478. sizer_12 = wx.StaticBoxSizer(self.sizer_12_staticbox, wx.VERTICAL)
  479. self.sizer_25_staticbox.Lower()
  480. sizer_25 = wx.StaticBoxSizer(self.sizer_25_staticbox, wx.HORIZONTAL)
  481. sizer_71 = wx.BoxSizer(wx.VERTICAL)
  482. sizer_62_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  483. sizer_52_copy_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  484. sizer_47 = wx.BoxSizer(wx.HORIZONTAL)
  485. sizer_27 = wx.BoxSizer(wx.HORIZONTAL)
  486. sizer_68 = wx.BoxSizer(wx.VERTICAL)
  487. sizer_62_copy = wx.BoxSizer(wx.HORIZONTAL)
  488. sizer_52_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  489. sizer_5 = wx.BoxSizer(wx.HORIZONTAL)
  490. sizer_7 = wx.BoxSizer(wx.VERTICAL)
  491. sizer_88 = wx.BoxSizer(wx.HORIZONTAL)
  492. self.sizer_94_staticbox.Lower()
  493. sizer_94 = wx.StaticBoxSizer(self.sizer_94_staticbox, wx.VERTICAL)
  494. self.sizer_89_staticbox.Lower()
  495. sizer_89 = wx.StaticBoxSizer(self.sizer_89_staticbox, wx.VERTICAL)
  496. sizer_33 = wx.BoxSizer(wx.VERTICAL)
  497. sizer_4 = wx.BoxSizer(wx.VERTICAL)
  498. sizer_62 = wx.BoxSizer(wx.HORIZONTAL)
  499. sizer_52_copy = wx.BoxSizer(wx.HORIZONTAL)
  500. self.sizer_39_staticbox.Lower()
  501. sizer_39 = wx.StaticBoxSizer(self.sizer_39_staticbox, wx.VERTICAL)
  502. sizer_53_copy_3_copy_2_copy = wx.BoxSizer(wx.HORIZONTAL)
  503. sizer_53_copy_3_copy_2 = wx.BoxSizer(wx.HORIZONTAL)
  504. self.sizer_61_staticbox.Lower()
  505. sizer_61 = wx.StaticBoxSizer(self.sizer_61_staticbox, wx.VERTICAL)
  506. sizer_53_copy_3_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  507. sizer_53_copy_4 = wx.BoxSizer(wx.HORIZONTAL)
  508. sizer_53_copy_41 = wx.BoxSizer(wx.HORIZONTAL)
  509. sizer_8 = wx.BoxSizer(wx.HORIZONTAL)
  510. sizer_64 = wx.BoxSizer(wx.HORIZONTAL)
  511. sizer_53_copy_3_copy = wx.BoxSizer(wx.HORIZONTAL)
  512. sizer_63 = wx.BoxSizer(wx.HORIZONTAL)
  513. sizer_53_copy_3 = wx.BoxSizer(wx.HORIZONTAL)
  514. sizer_40 = wx.BoxSizer(wx.VERTICAL)
  515. sizer_62_copy_copy_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  516. sizer_52_copy_copy_copy_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  517. sizer_46 = wx.BoxSizer(wx.VERTICAL)
  518. self.sizer_43_copy_staticbox.Lower()
  519. sizer_43_copy = wx.StaticBoxSizer(self.sizer_43_copy_staticbox, wx.HORIZONTAL)
  520. self.sizer_43_staticbox.Lower()
  521. sizer_43 = wx.StaticBoxSizer(self.sizer_43_staticbox, wx.HORIZONTAL)
  522. self.sizer_42_staticbox.Lower()
  523. sizer_42 = wx.StaticBoxSizer(self.sizer_42_staticbox, wx.HORIZONTAL)
  524. sizer_16 = wx.BoxSizer(wx.VERTICAL)
  525. sizer_51 = wx.BoxSizer(wx.HORIZONTAL)
  526. sizer_52 = wx.BoxSizer(wx.HORIZONTAL)
  527. sizer_60 = wx.BoxSizer(wx.HORIZONTAL)
  528. self.sizer_45_staticbox.Lower()
  529. sizer_45 = wx.StaticBoxSizer(self.sizer_45_staticbox, wx.VERTICAL)
  530. sizer_59 = wx.BoxSizer(wx.HORIZONTAL)
  531. sizer_53_copy = wx.BoxSizer(wx.HORIZONTAL)
  532. sizer_53_copy_copy = wx.BoxSizer(wx.HORIZONTAL)
  533. sizer_53_copy_2_copy = wx.BoxSizer(wx.HORIZONTAL)
  534. sizer_53_copy_2 = wx.BoxSizer(wx.HORIZONTAL)
  535. sizer_53_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  536. sizer_53 = wx.BoxSizer(wx.HORIZONTAL)
  537. sizer_53.Add(self.button_map_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  538. sizer_53.Add(self.panel_map_qs, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  539. sizer_53.Add(self.label_map_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  540. sizer_45.Add(sizer_53, 1, wx.EXPAND, 0)
  541. sizer_53_copy_1.Add(self.button_sensing_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  542. sizer_53_copy_1.Add(self.panel_sensing_qs, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  543. sizer_53_copy_1.Add(self.label_sensing_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  544. sizer_45.Add(sizer_53_copy_1, 1, wx.EXPAND, 0)
  545. sizer_53_copy_2.Add(self.button_localization_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  546. sizer_53_copy_2.Add(self.panel_localization_qs, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  547. sizer_53_copy_2.Add(self.label_localization_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  548. sizer_45.Add(sizer_53_copy_2, 1, wx.EXPAND, 0)
  549. sizer_53_copy_2_copy.Add(self.button_detection_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  550. sizer_53_copy_2_copy.Add(self.panel_detection_qs, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  551. sizer_53_copy_2_copy.Add(self.label_detection_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  552. sizer_45.Add(sizer_53_copy_2_copy, 1, wx.EXPAND, 0)
  553. sizer_53_copy_copy.Add(self.button_mission_planning_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  554. sizer_53_copy_copy.Add(self.panel_mission_planning_qs, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  555. sizer_53_copy_copy.Add(self.label_mission_planning_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  556. sizer_45.Add(sizer_53_copy_copy, 1, wx.EXPAND, 0)
  557. sizer_53_copy.Add(self.button_motion_planning_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  558. sizer_53_copy.Add(self.panel_motion_planning_qs, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  559. sizer_53_copy.Add(self.label_motion_planning_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  560. sizer_45.Add(sizer_53_copy, 1, wx.EXPAND, 0)
  561. sizer_59.Add(self.button_android_tablet_qs, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  562. sizer_59.Add(self.button_oculus_rift_qs, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  563. sizer_59.Add(self.button_vehicle_gateway_qs, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  564. sizer_59.Add(self.button_remote_control_qs, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  565. sizer_59.Add(self.button_cloud_data_qs, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  566. sizer_45.Add(sizer_59, 1, wx.EXPAND, 0)
  567. sizer_16.Add(sizer_45, 1, wx.ALL | wx.EXPAND, 4)
  568. sizer_60.Add(self.button_auto_pilot_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  569. sizer_51.Add(sizer_60, 1, wx.EXPAND, 0)
  570. sizer_52.Add(self.button_rosbag_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  571. sizer_52.Add(self.button_rviz_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  572. sizer_52.Add(self.button_rqt_qs, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  573. sizer_51.Add(sizer_52, 0, wx.EXPAND, 0)
  574. sizer_16.Add(sizer_51, 0, wx.EXPAND, 0)
  575. self.tab_qs.SetSizer(sizer_16)
  576. sizer_46.Add(self.radio_box_localizer, 0, wx.ALL, 4)
  577. sizer_42.Add(self.button_setup_tf, 0, wx.ALL, 4)
  578. sizer_42.Add(self.panel_setup_tf, 1, wx.ALL, 4)
  579. sizer_46.Add(sizer_42, 0, wx.ALL | wx.EXPAND, 4)
  580. sizer_43.Add(self.button_vehicle_model, 0, wx.ALL, 4)
  581. sizer_43.Add(self.panel_vehicle_model, 1, wx.ALL, 4)
  582. sizer_46.Add(sizer_43, 0, wx.ALL | wx.EXPAND, 4)
  583. sizer_43_copy.Add(self.button_vehicle_info, 0, wx.ALL, 4)
  584. sizer_43_copy.Add(self.panel_vehicle_info, 1, wx.ALL, 4)
  585. sizer_46.Add(sizer_43_copy, 0, wx.ALL | wx.EXPAND, 10)
  586. sizer_40.Add(sizer_46, 1, wx.EXPAND, 0)
  587. sizer_62_copy_copy_copy_1.Add((20, 20), 1, 0, 0)
  588. sizer_52_copy_copy_copy_copy_1.Add(self.button_rosbag_setup, 0, wx.ALL, 4)
  589. sizer_52_copy_copy_copy_copy_1.Add(self.button_rviz_setup, 0, wx.ALL, 4)
  590. sizer_52_copy_copy_copy_copy_1.Add(self.button_rqt_setup, 0, wx.ALL, 4)
  591. sizer_62_copy_copy_copy_1.Add(sizer_52_copy_copy_copy_copy_1, 0, wx.EXPAND, 0)
  592. sizer_40.Add(sizer_62_copy_copy_copy_1, 0, wx.EXPAND, 0)
  593. self.tab_setup.SetSizer(sizer_40)
  594. sizer_53_copy_3.Add(self.button_point_cloud, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  595. sizer_53_copy_3.Add(self.panel_point_cloud, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  596. sizer_63.Add(sizer_53_copy_3, 1, wx.EXPAND, 0)
  597. sizer_61.Add(sizer_63, 0, wx.EXPAND | wx.TOP, 4)
  598. sizer_64.Add(self.checkbox_auto_update, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  599. sizer_64.Add(self.choice_scene_num, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  600. sizer_53_copy_3_copy.Add(self.button_area_lists, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  601. sizer_53_copy_3_copy.Add(self.label_9, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  602. sizer_53_copy_3_copy.Add(self.panel_area_lists, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  603. sizer_64.Add(sizer_53_copy_3_copy, 1, wx.BOTTOM | wx.EXPAND, 4)
  604. sizer_61.Add(sizer_64, 0, wx.BOTTOM | wx.EXPAND, 4)
  605. sizer_8.Add(self.label_point_cloud_bar, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  606. sizer_8.Add(self.label_point_cloud, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  607. sizer_61.Add(sizer_8, 1, wx.ALL | wx.EXPAND, 4)
  608. sizer_61.Add(self.static_line_4, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  609. sizer_53_copy_4.Add(self.button_vector_map, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  610. sizer_53_copy_4.Add(self.panel_vector_map, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  611. sizer_61.Add(sizer_53_copy_4, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  612. sizer_61.Add(self.static_line_5, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  613. sizer_53_copy_41.Add(self.button_lanelet_map, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  614. sizer_53_copy_41.Add(self.panel_lanelet_map, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  615. sizer_61.Add(sizer_53_copy_41, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  616. sizer_61.Add(self.static_line_6, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  617. sizer_53_copy_3_copy_1.Add(self.button_tf, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  618. sizer_53_copy_3_copy_1.Add(self.panel_tf, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  619. sizer_61.Add(sizer_53_copy_3_copy_1, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  620. sizer_4.Add(sizer_61, 0, wx.ALL | wx.EXPAND, 4)
  621. sizer_53_copy_3_copy_2.Add(self.button_pcd_filter, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  622. sizer_53_copy_3_copy_2.Add(self.panel_pcd_filter, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  623. sizer_39.Add(sizer_53_copy_3_copy_2, 0, wx.EXPAND, 0)
  624. sizer_39.Add(self.static_line_5_copy, 0, wx.BOTTOM | wx.EXPAND | wx.TOP, 4)
  625. sizer_53_copy_3_copy_2_copy.Add(self.button_pcd_binarizer, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  626. sizer_53_copy_3_copy_2_copy.Add(self.panel_pcd_binarizer, 1, wx.ALIGN_CENTER_VERTICAL, 0)
  627. sizer_39.Add(sizer_53_copy_3_copy_2_copy, 0, wx.EXPAND, 0)
  628. sizer_4.Add(sizer_39, 1, wx.EXPAND | wx.LEFT | wx.RIGHT, 4)
  629. sizer_62.Add((20, 20), 1, 0, 0)
  630. sizer_52_copy.Add(self.button_rosbag_map, 0, wx.ALL, 4)
  631. sizer_52_copy.Add(self.button_rviz_map, 0, wx.ALL, 4)
  632. sizer_52_copy.Add(self.button_rqt_map, 0, wx.ALL, 4)
  633. sizer_62.Add(sizer_52_copy, 0, wx.EXPAND, 0)
  634. sizer_4.Add(sizer_62, 0, wx.EXPAND, 0)
  635. self.tab_map.SetSizer(sizer_4)
  636. sizer_33.Add(self.panel_sensing, 1, wx.EXPAND, 0)
  637. sizer_5.Add(sizer_33, 1, wx.ALL | wx.EXPAND, 4)
  638. sizer_7.Add(self.tree_ctrl_sense, 3, wx.EXPAND, 0)
  639. #sizer_89.Add(self.button_calibration_toolkit, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL | wx.EXPAND, 0)
  640. sizer_89.Add(self.button_calibration_publisher, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL | wx.EXPAND, 0)
  641. sizer_89.Add(self.button_points_image, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL | wx.EXPAND, 0)
  642. sizer_89.Add(self.button_virtual_scan_image, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL | wx.EXPAND, 0)
  643. sizer_88.Add(sizer_89, 2, wx.TOP, 0)
  644. #sizer_94.Add(self.button_scan_image, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL | wx.EXPAND, 0)
  645. #sizer_88.Add(sizer_94, 2, wx.BOTTOM | wx.EXPAND | wx.TOP, 0)
  646. sizer_7.Add(sizer_88, 1, wx.EXPAND, 0)
  647. sizer_5.Add(sizer_7, 1, wx.ALL | wx.EXPAND, 0)
  648. sizer_68.Add(sizer_5, 1, wx.EXPAND, 0)
  649. sizer_62_copy.Add((20, 20), 1, 0, 0)
  650. sizer_52_copy_copy.Add(self.button_rosbag_sensing, 0, wx.ALL, 4)
  651. sizer_52_copy_copy.Add(self.button_rviz_sensing, 0, wx.ALL, 4)
  652. sizer_52_copy_copy.Add(self.button_rqt_sensing, 0, wx.ALL, 4)
  653. sizer_62_copy.Add(sizer_52_copy_copy, 0, wx.EXPAND, 0)
  654. sizer_68.Add(sizer_62_copy, 0, wx.EXPAND, 0)
  655. self.tab_sensing.SetSizer(sizer_68)
  656. sizer_27.Add(self.tree_ctrl_0, 1, wx.EXPAND, 0)
  657. sizer_27.Add(self.tree_ctrl_1, 1, wx.EXPAND, 0)
  658. sizer_71.Add(sizer_27, 1, wx.EXPAND, 0)
  659. sizer_47.Add(self.button_synchronization, 0, wx.ALL, 4)
  660. sizer_62_copy_copy.Add(sizer_47, 1, wx.EXPAND, 0)
  661. sizer_52_copy_copy_copy.Add(self.button_rosbag_computing, 0, wx.ALL, 4)
  662. sizer_52_copy_copy_copy.Add(self.button_rviz_computing, 0, wx.ALL, 4)
  663. sizer_52_copy_copy_copy.Add(self.button_rqt_computing, 0, wx.ALL, 4)
  664. sizer_62_copy_copy.Add(sizer_52_copy_copy_copy, 0, wx.EXPAND, 0)
  665. sizer_71.Add(sizer_62_copy_copy, 0, wx.EXPAND, 0)
  666. self.tab_computing.SetSizer(sizer_71)
  667. sizer_25.Add(self.button_android_tablet_interface, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  668. sizer_25.Add(self.button_oculus_rift_interface, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  669. sizer_25.Add(self.button_vehicle_gateway_interface, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  670. sizer_25.Add(self.button_remote_control_interface, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  671. sizer_9.Add(sizer_25, 3, wx.ALL | wx.EXPAND, 4)
  672. sizer_12.Add(self.checkbox_sound, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL, 4)
  673. sizer_9.Add(sizer_12, 1, wx.ALL | wx.EXPAND, 4)
  674. sizer_24.Add(sizer_9, 1, wx.EXPAND, 0)
  675. sizer_72.Add(self.button_auto_pilot_interface, 1, wx.ALL | wx.EXPAND, 4)
  676. sizer_75.Add((20, 20), 1, 0, 0)
  677. sizer_76.Add(self.label_5, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  678. sizer_54.Add(self.button_statchk_lamp_l, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  679. sizer_54.Add(self.button_statchk_lamp_r, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  680. sizer_76.Add(sizer_54, 1, wx.EXPAND, 0)
  681. sizer_75.Add(sizer_76, 1, 0, 0)
  682. sizer_76_copy.Add(self.label_5_copy, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  683. sizer_54_copy.Add(self.button_statchk_indi_l, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  684. sizer_54_copy.Add(self.button_statchk_indi_r, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  685. sizer_76_copy.Add(sizer_54_copy, 1, wx.EXPAND, 0)
  686. sizer_75.Add(sizer_76_copy, 1, 0, 0)
  687. sizer_75.Add((20, 20), 1, 0, 0)
  688. sizer_72.Add(sizer_75, 1, 0, 0)
  689. sizer_26.Add(sizer_72, 0, wx.EXPAND, 0)
  690. sizer_66.Add(self.button_statchk_d, 0, wx.ALL | wx.EXPAND, 4)
  691. sizer_66.Add(self.button_statchk_r, 0, wx.ALL | wx.EXPAND, 4)
  692. sizer_66.Add(self.button_statchk_b, 0, wx.ALL | wx.EXPAND, 4)
  693. sizer_66.Add(self.button_statchk_n, 0, wx.ALL | wx.EXPAND, 4)
  694. sizer_66.Add(self.button_statchk_p, 0, wx.ALL | wx.EXPAND, 4)
  695. sizer_77.Add(sizer_66, 0, wx.ALL | wx.EXPAND, 4)
  696. sizer_77.Add(self.panel_interface_cc, 1, wx.ALL, 4)
  697. sizer_26.Add(sizer_77, 0, wx.EXPAND, 0)
  698. sizer_24.Add(sizer_26, 0, wx.ALL | wx.EXPAND, 4)
  699. sizer_24.Add((20, 20), 1, 0, 0)
  700. sizer_62_copy_copy_copy.Add((20, 20), 1, 0, 0)
  701. sizer_52_copy_copy_copy_copy.Add(self.button_rosbag_interface, 0, wx.ALL, 4)
  702. sizer_52_copy_copy_copy_copy.Add(self.button_rviz_interface, 0, wx.ALL, 4)
  703. sizer_52_copy_copy_copy_copy.Add(self.button_rqt_interface, 0, wx.ALL, 4)
  704. sizer_62_copy_copy_copy.Add(sizer_52_copy_copy_copy_copy, 0, wx.EXPAND, 0)
  705. sizer_24.Add(sizer_62_copy_copy_copy, 0, wx.EXPAND, 0)
  706. self.tab_interface.SetSizer(sizer_24)
  707. sizer_11.Add(self.tree_ctrl_data, 1, wx.ALL | wx.EXPAND, 4)
  708. sizer_18.Add(self.text_ctrl_query, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  709. sizer_18.Add(self.button_query, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  710. sizer_17.Add(sizer_18, 0, wx.EXPAND, 0)
  711. sizer_17.Add(self.list_ctrl_sql, 1, wx.ALL | wx.EXPAND, 4)
  712. sizer_17.Add((85, 29), 0, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL, 4)
  713. sizer_11.Add(sizer_17, 1, wx.ALL | wx.EXPAND, 4)
  714. sizer_10.Add(sizer_11, 1, wx.ALL | wx.EXPAND, 4)
  715. sizer_62_copy_copy_copy_copy.Add((20, 20), 1, 0, 0)
  716. sizer_52_copy_copy_copy_copy_copy.Add(self.button_rosbag_database, 0, wx.ALL, 4)
  717. sizer_52_copy_copy_copy_copy_copy.Add(self.button_rviz_database, 0, wx.ALL, 4)
  718. sizer_52_copy_copy_copy_copy_copy.Add(self.button_rqt_database, 0, wx.ALL, 4)
  719. sizer_62_copy_copy_copy_copy.Add(sizer_52_copy_copy_copy_copy_copy, 0, wx.EXPAND, 0)
  720. sizer_10.Add(sizer_62_copy_copy_copy_copy, 0, wx.EXPAND, 0)
  721. self.tab_database.SetSizer(sizer_10)
  722. sizer_79.Add(self.panel_rosbag_play, 1, wx.ALL | wx.EXPAND, 4)
  723. sizer_78.Add(sizer_79, 0, wx.ALL | wx.EXPAND, 4)
  724. sizer_81.Add(self.button_play_rosbag_play, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  725. sizer_81.Add(self.button_stop_rosbag_play, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  726. sizer_81.Add(self.button_pause_rosbag_play, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  727. sizer_80.Add(sizer_81, 1, wx.EXPAND, 0)
  728. sizer_82.Add(self.label_rosbag_play_bar, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  729. sizer_83.Add(self.label_rosbag_play_pos, 0, 0, 0)
  730. sizer_83.Add(self.static_line_3, 0, wx.EXPAND, 0)
  731. sizer_83.Add(self.label_rosbag_play_total, 0, 0, 0)
  732. sizer_82.Add(sizer_83, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL | wx.EXPAND, 4)
  733. sizer_80.Add(sizer_82, 1, wx.EXPAND, 0)
  734. sizer_78.Add(sizer_80, 0, wx.ALL | wx.EXPAND, 4)
  735. sizer_37.Add(self.label_rosbag_info, 1, wx.ALL | wx.EXPAND, 4)
  736. self.panel_5.SetSizer(sizer_37)
  737. sizer_78.Add(self.panel_5, 1, wx.EXPAND, 0)
  738. sizer_62_copy_copy_copy_copy_copy_copy.Add(self.button_gazebo, 0, wx.ALL, 4)
  739. sizer_62_copy_copy_copy_copy_copy_copy.Add(self.button_lgsvl_sim, 0, wx.ALL, 4)
  740. sizer_62_copy_copy_copy_copy_copy.Add(sizer_62_copy_copy_copy_copy_copy_copy, 1, wx.EXPAND, 0)
  741. sizer_52_copy_copy_copy_copy_copy_copy.Add(self.button_rosbag_simulation, 0, wx.ALL, 4)
  742. sizer_52_copy_copy_copy_copy_copy_copy.Add(self.button_rviz_simulation, 0, wx.ALL, 4)
  743. sizer_52_copy_copy_copy_copy_copy_copy.Add(self.button_rqt_simulation, 0, wx.ALL, 4)
  744. sizer_62_copy_copy_copy_copy_copy.Add(sizer_52_copy_copy_copy_copy_copy_copy, 0, wx.EXPAND, 0)
  745. sizer_78.Add(sizer_62_copy_copy_copy_copy_copy, 0, wx.EXPAND, 0)
  746. self.tab_simulation.SetSizer(sizer_78)
  747. sizer_19.Add(self.label_top_cmd, 1, wx.ALL | wx.EXPAND, 4)
  748. self.panel_3.SetSizer(sizer_19)
  749. sizer_86.Add(self.panel_3, 1, wx.ALL | wx.EXPAND, 4)
  750. sizer_85.Add(sizer_86, 1, wx.ALL | wx.EXPAND, 4)
  751. sizer_87.Add(self.label_node_time, 1, wx.ALL, 4)
  752. self.panel_4.SetSizer(sizer_87)
  753. sizer_20.Add(self.panel_4, 1, wx.EXPAND, 0)
  754. sizer_38.Add(self.checkbox_stdout, 0, wx.LEFT, 4)
  755. sizer_38.Add(self.checkbox_stderr, 0, wx.LEFT, 4)
  756. sizer_stdout.Add(sizer_38, 0, wx.EXPAND, 0)
  757. sizer_stdout.Add(self.text_ctrl_stdout, 1, wx.ALL | wx.EXPAND, 4)
  758. sizer_20.Add(sizer_stdout, 1, wx.EXPAND, 0)
  759. sizer_85.Add(sizer_20, 1, wx.EXPAND, 0)
  760. sizer_60_copy.Add(self.button_system_monitor, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  761. sizer_60_copy.Add(self.button_ftrace, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  762. sizer_51_copy.Add(sizer_60_copy, 1, wx.EXPAND, 0)
  763. sizer_52_copy_1.Add(self.button_rosbag_status, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  764. sizer_52_copy_1.Add(self.button_rviz_status, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  765. sizer_52_copy_1.Add(self.button_rqt_status, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  766. sizer_51_copy.Add(sizer_52_copy_1, 0, wx.EXPAND, 0)
  767. sizer_85.Add(sizer_51_copy, 0, wx.EXPAND, 0)
  768. self.tab_status.SetSizer(sizer_85)
  769. self.panel_topics_list.SetSizer(self.sizer_topics_list)
  770. sizer_32.Add(self.panel_topics_list, 1, wx.EXPAND, 0)
  771. sizer_35.Add(self.checkbox_topics_echo, 0, wx.LEFT, 4)
  772. sizer_35.Add(self.text_ctrl_topics_echo, 1, wx.ALL | wx.EXPAND, 4)
  773. sizer_34.Add(sizer_35, 1, wx.EXPAND, 0)
  774. sizer_topics_info.Add(self.label_topics_info, 0, 0, 0)
  775. self.panel_topics_info.SetSizer(sizer_topics_info)
  776. sizer_36.Add(self.panel_topics_info, 1, wx.EXPAND, 0)
  777. sizer_34.Add(sizer_36, 1, wx.EXPAND, 0)
  778. sizer_32.Add(sizer_34, 1, wx.EXPAND, 0)
  779. sizer_85_copy.Add(sizer_32, 1, wx.EXPAND, 0)
  780. sizer_60_copy_copy.Add(self.button_refresh_topics, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  781. sizer_51_copy_copy.Add(sizer_60_copy_copy, 1, wx.EXPAND, 0)
  782. sizer_52_copy_1_copy.Add(self.button_rosbag_topics, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  783. sizer_52_copy_1_copy.Add(self.button_rviz_topics, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  784. sizer_52_copy_1_copy.Add(self.button_rqt_topics, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  785. sizer_51_copy_copy.Add(sizer_52_copy_1_copy, 0, wx.EXPAND, 0)
  786. sizer_85_copy.Add(sizer_51_copy_copy, 0, wx.EXPAND, 0)
  787. self.tab_topics.SetSizer(sizer_85_copy)
  788. sizer_67.Add(self.button_mainstate_0, 0, 0, 0)
  789. sizer_67.Add(self.button_mainstate_1, 0, 0, 0)
  790. sizer_67.Add(self.button_mainstate_2, 0, 0, 0)
  791. sizer_67.Add(self.button_mainstate_3, 0, 0, 0)
  792. sizer_67.Add(self.button_mainstate_4, 0, 0, 0)
  793. sizer_67.Add(self.button_mainstate_5, 0, 0, 0)
  794. sizer_65.Add(sizer_67, 1, wx.ALL | wx.EXPAND, 4)
  795. sizer_55.Add(sizer_65, 1, wx.EXPAND, 0)
  796. grid_sizer_1.Add(self.button_substate_acc_0, 0, 0, 0)
  797. grid_sizer_1.Add(self.button_substate_acc_3, 0, 0, 0)
  798. grid_sizer_1.Add(self.button_substate_acc_1, 0, 0, 0)
  799. grid_sizer_1.Add(self.button_substate_acc_4, 0, 0, 0)
  800. grid_sizer_1.Add(self.button_substate_acc_2, 0, 0, 0)
  801. grid_sizer_1.Add(self.button_substate_acc_5, 0, 0, 0)
  802. sizer_74.Add(grid_sizer_1, 1, wx.SHAPED, 0)
  803. sizer_73.Add(sizer_74, 1, wx.SHAPED, 0)
  804. sizer_84.Add(self.button_substate_str_straight, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
  805. sizer_84.Add(self.button_substate_str_left, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
  806. sizer_84.Add(self.button_substate_str_right, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
  807. sizer_73.Add(sizer_84, 1, 0, 0)
  808. sizer_92.Add(self.button_substate_behavior_lanechange_left_copy, 0, 0, 0)
  809. sizer_92.Add(self.button_substate_behavior_lanechange_right, 0, 0, 0)
  810. sizer_92.Add(self.button_substate_behavior_obstacle_avoid, 0, 0, 0)
  811. sizer_92.Add(self.button_substate_behavior_clear, 0, 0, 0)
  812. sizer_91.Add(sizer_92, 1, wx.ALIGN_BOTTOM | wx.ALIGN_CENTER | wx.ALIGN_RIGHT | wx.EXPAND, 0)
  813. sizer_93.Add(self.button_substate_behavior_null_0, 0, 0, 0)
  814. sizer_93.Add(self.button_substate_behavior_null_1, 0, 0, 0)
  815. sizer_93.Add(self.button_substate_behavior_null_2, 0, 0, 0)
  816. sizer_93.Add(self.button_substate_behavior_null_3, 0, 0, 0)
  817. sizer_91.Add(sizer_93, 1, 0, 0)
  818. sizer_91.Add((20, 20), 0, 0, 0)
  819. sizer_73.Add(sizer_91, 2, 0, 0)
  820. sizer_58.Add(sizer_73, 1, 0, 0)
  821. sizer_55.Add(sizer_58, 1, wx.EXPAND, 0)
  822. sizer_50.Add(sizer_55, 1, wx.EXPAND, 0)
  823. sizer_90.Add(sizer_50, 1, 0, 0)
  824. sizer_62_copy_1.Add((20, 20), 1, 0, 0)
  825. sizer_52_copy_copy_1.Add(self.button_rosbag_states, 0, wx.ALL, 4)
  826. sizer_52_copy_copy_1.Add(self.button_rviz_states, 0, wx.ALL, 4)
  827. sizer_52_copy_copy_1.Add(self.button_rqt_states, 0, wx.ALL, 4)
  828. sizer_62_copy_1.Add(sizer_52_copy_copy_1, 0, wx.EXPAND, 0)
  829. sizer_90.Add(sizer_62_copy_1, 0, wx.EXPAND, 0)
  830. self.tab_states.SetSizer(sizer_90)
  831. self.notebook_1.AddPage(self.tab_qs, _("Quick Start"))
  832. self.notebook_1.AddPage(self.tab_setup, _("Setup"))
  833. self.notebook_1.AddPage(self.tab_map, _("Map"))
  834. self.notebook_1.AddPage(self.tab_sensing, _("Sensing"))
  835. self.notebook_1.AddPage(self.tab_computing, _("Computing"))
  836. self.notebook_1.AddPage(self.tab_interface, _("Interface"))
  837. self.notebook_1.AddPage(self.tab_database, _("Database"))
  838. self.notebook_1.AddPage(self.tab_simulation, _("Simulation"))
  839. self.notebook_1.AddPage(self.tab_status, _("Status"))
  840. self.notebook_1.AddPage(self.tab_topics, _("Topics"))
  841. self.notebook_1.AddPage(self.tab_states, _("State"))
  842. self.sizer_1.Add(self.notebook_1, 1, wx.EXPAND, 0)
  843. sizer_29.Add((0, 100), 0, wx.EXPAND, 0)
  844. sizer_29.Add(self.sizer_cpuinfo, 1, wx.EXPAND, 0)
  845. self.sizer_1.Add(sizer_29, 0, wx.EXPAND, 0)
  846. self.sizer_1.Add(self.bitmap_logo, 0, 0, 0)
  847. self.SetSizer(self.sizer_1)
  848. self.Layout()
  849. # end wxGlade
  850. def OnLaunchKill(self, event): # wxGlade: MyFrame.<event_handler>
  851. print "Event handler 'OnLaunchKill' not implemented!"
  852. event.Skip()
  853. def OnAutoPilot(self, event): # wxGlade: MyFrame.<event_handler>
  854. print "Event handler 'OnAutoPilot' not implemented!"
  855. event.Skip()
  856. def OnROSbagRecord(self, event): # wxGlade: MyFrame.<event_handler>
  857. print "Event handler 'OnROSbagRecord' not implemented!"
  858. event.Skip()
  859. def OnSetupLocalizer(self, event): # wxGlade: MyFrame.<event_handler>
  860. print "Event handler 'OnSetupLocalizer' not implemented!"
  861. event.Skip()
  862. def OnCalibrationPublisher(self, event): # wxGlade: MyFrame.<event_handler>
  863. print "Event handler 'OnCalibrationPublisher' not implemented!"
  864. event.Skip()
  865. def OnLamp(self, event): # wxGlade: MyFrame.<event_handler>
  866. print "Event handler 'OnLamp' not implemented!"
  867. event.Skip()
  868. def OnIndi(self, event): # wxGlade: MyFrame.<event_handler>
  869. print "Event handler 'OnIndi' not implemented!"
  870. event.Skip()
  871. def OnGear(self, event): # wxGlade: MyFrame.<event_handler>
  872. print "Event handler 'OnGear' not implemented!"
  873. event.Skip()
  874. def OnQuery(self, event): # wxGlade: MyFrame.<event_handler>
  875. print "Event handler 'OnQuery' not implemented!"
  876. event.Skip()
  877. def OnROSbagPlay(self, event): # wxGlade: MyFrame.<event_handler>
  878. print "Event handler 'OnROSbagPlay' not implemented!"
  879. event.Skip()
  880. def OnFtrace(self, event): # wxGlade: MyFrame.<event_handler>
  881. print "Event handler 'OnFtrace' not implemented!"
  882. event.Skip()
  883. def OnEcho(self, event): # wxGlade: MyFrame.<event_handler>
  884. print "Event handler 'OnEcho' not implemented!"
  885. event.Skip()
  886. def OnRefreshTopics(self, event): # wxGlade: MyFrame.<event_handler>
  887. print "Event handler 'OnRefreshTopics' not implemented!"
  888. event.Skip()
  889. def OnState(self, event): # wxGlade: MyFrame.<event_handler>
  890. print "Event handler 'OnState' not implemented!"
  891. event.Skip()
  892. # end of class MyFrame
  893. class MyDialog(wx.Dialog):
  894. def __init__(self, *args, **kwds):
  895. # begin wxGlade: MyDialog.__init__
  896. kwds["style"] = wx.DEFAULT_DIALOG_STYLE
  897. wx.Dialog.__init__(self, *args, **kwds)
  898. self.panel_2 = wx.ScrolledWindow(self, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  899. self.radio_box = wx.RadioBox(self.panel_2, wx.ID_ANY, "", choices=[_("0"), _("1"), _("2"), _("3")], majorDimension=0, style=wx.RA_SPECIFY_ROWS)
  900. self.button_1 = wx.Button(self, wx.ID_ANY, _("OK"))
  901. self.button_1_copy = wx.Button(self, wx.ID_ANY, _("Cancel"))
  902. self.__set_properties()
  903. self.__do_layout()
  904. self.Bind(wx.EVT_BUTTON, self.OnOk, self.button_1)
  905. self.Bind(wx.EVT_BUTTON, self.OnCancel, self.button_1_copy)
  906. # end wxGlade
  907. def __set_properties(self):
  908. # begin wxGlade: MyDialog.__set_properties
  909. self.SetTitle(_("dialog_1"))
  910. self.SetSize((258, 212))
  911. self.radio_box.SetSelection(0)
  912. self.panel_2.SetScrollRate(10, 10)
  913. # end wxGlade
  914. def __do_layout(self):
  915. # begin wxGlade: MyDialog.__do_layout
  916. sizer_13 = wx.BoxSizer(wx.VERTICAL)
  917. sizer_15 = wx.BoxSizer(wx.HORIZONTAL)
  918. sizer_14 = wx.BoxSizer(wx.HORIZONTAL)
  919. sizer_14.Add(self.radio_box, 1, wx.ALIGN_CENTER_HORIZONTAL | wx.LEFT | wx.RIGHT | wx.TOP, 4)
  920. self.panel_2.SetSizer(sizer_14)
  921. sizer_13.Add(self.panel_2, 1, wx.EXPAND, 0)
  922. sizer_15.Add(self.button_1, 0, wx.ALL, 4)
  923. sizer_15.Add(self.button_1_copy, 0, wx.ALL, 4)
  924. sizer_13.Add(sizer_15, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
  925. self.SetSizer(sizer_13)
  926. self.Layout()
  927. # end wxGlade
  928. def OnOk(self, event): # wxGlade: MyDialog.<event_handler>
  929. print "Event handler 'OnOk' not implemented!"
  930. event.Skip()
  931. def OnCancel(self, event): # wxGlade: MyDialog.<event_handler>
  932. print "Event handler 'OnCancel' not implemented!"
  933. event.Skip()
  934. # end of class MyDialog
  935. class MyDialogParam(wx.Dialog):
  936. def __init__(self, *args, **kwds):
  937. # begin wxGlade: MyDialogParam.__init__
  938. kwds["style"] = wx.DEFAULT_DIALOG_STYLE
  939. wx.Dialog.__init__(self, *args, **kwds)
  940. self.panel_v = wx.ScrolledWindow(self, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  941. self.button_1 = wx.Button(self, wx.ID_ANY, _("OK"))
  942. self.button_1_copy = wx.Button(self, wx.ID_ANY, _("Cancel"))
  943. self.__set_properties()
  944. self.__do_layout()
  945. self.Bind(wx.EVT_BUTTON, self.OnOk, self.button_1)
  946. self.Bind(wx.EVT_BUTTON, self.OnCancel, self.button_1_copy)
  947. # end wxGlade
  948. def __set_properties(self):
  949. # begin wxGlade: MyDialogParam.__set_properties
  950. self.SetTitle(_("dialog_3"))
  951. self.SetSize((470, 300))
  952. self.panel_v.SetScrollRate(10, 10)
  953. # end wxGlade
  954. def __do_layout(self):
  955. # begin wxGlade: MyDialogParam.__do_layout
  956. sizer_30 = wx.BoxSizer(wx.VERTICAL)
  957. sizer_31 = wx.BoxSizer(wx.HORIZONTAL)
  958. self.sizer_v = wx.BoxSizer(wx.VERTICAL)
  959. self.panel_v.SetSizer(self.sizer_v)
  960. sizer_30.Add(self.panel_v, 1, wx.EXPAND, 0)
  961. sizer_31.Add(self.button_1, 0, wx.ALL, 4)
  962. sizer_31.Add(self.button_1_copy, 0, wx.ALL, 4)
  963. sizer_30.Add(sizer_31, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
  964. self.SetSizer(sizer_30)
  965. self.Layout()
  966. # end wxGlade
  967. def OnOk(self, event): # wxGlade: MyDialogParam.<event_handler>
  968. print "Event handler 'OnOk' not implemented!"
  969. event.Skip()
  970. def OnCancel(self, event): # wxGlade: MyDialogParam.<event_handler>
  971. print "Event handler 'OnCancel' not implemented!"
  972. event.Skip()
  973. # end of class MyDialogParam
  974. class MyDialogROSbagRecord(wx.Dialog):
  975. def __init__(self, *args, **kwds):
  976. # begin wxGlade: MyDialogROSbagRecord.__init__
  977. kwds["style"] = wx.DEFAULT_DIALOG_STYLE
  978. wx.Dialog.__init__(self, *args, **kwds)
  979. self.text_ctrl = wx.TextCtrl(self, wx.ID_ANY, "")
  980. self.button_ref = wx.Button(self, wx.ID_ANY, _("Ref"))
  981. self.checkbox_split = wx.CheckBox(self, wx.ID_ANY, _("split"))
  982. self.label_2 = wx.StaticText(self, wx.ID_ANY, _("size"))
  983. self.text_ctrl_size = wx.TextCtrl(self, wx.ID_ANY, "")
  984. self.label_2_copy = wx.StaticText(self, wx.ID_ANY, _("MB"))
  985. self.button_start = wx.Button(self, wx.ID_ANY, _("Start"))
  986. self.button_stop = wx.Button(self, wx.ID_ANY, _("Stop"))
  987. self.panel_1 = wx.ScrolledWindow(self, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  988. self.button_refresh = wx.Button(self, wx.ID_ANY, _("Refresh"))
  989. self.__set_properties()
  990. self.__do_layout()
  991. self.Bind(wx.EVT_BUTTON, self.OnRef, self.button_ref)
  992. self.Bind(wx.EVT_BUTTON, self.OnStart, self.button_start)
  993. self.Bind(wx.EVT_BUTTON, self.OnStop, self.button_stop)
  994. self.Bind(wx.EVT_BUTTON, self.OnRefresh, self.button_refresh)
  995. # end wxGlade
  996. def __set_properties(self):
  997. # begin wxGlade: MyDialogROSbagRecord.__set_properties
  998. self.SetTitle(_("ROSBAG Record"))
  999. self.SetSize((300, 430))
  1000. self.button_ref.SetMinSize((40, 29))
  1001. self.text_ctrl_size.SetMinSize((50, 27))
  1002. self.button_stop.Enable(False)
  1003. self.panel_1.SetScrollRate(10, 10)
  1004. # end wxGlade
  1005. def __do_layout(self):
  1006. # begin wxGlade: MyDialogROSbagRecord.__do_layout
  1007. sizer_41 = wx.BoxSizer(wx.VERTICAL)
  1008. self.sizer_topic = wx.BoxSizer(wx.VERTICAL)
  1009. sizer_44 = wx.BoxSizer(wx.HORIZONTAL)
  1010. sizer_22 = wx.BoxSizer(wx.HORIZONTAL)
  1011. sizer_23 = wx.BoxSizer(wx.HORIZONTAL)
  1012. sizer_28_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  1013. sizer_28_copy_1.Add(self.text_ctrl, 1, wx.LEFT | wx.TOP, 4)
  1014. sizer_28_copy_1.Add(self.button_ref, 0, wx.LEFT | wx.RIGHT | wx.TOP, 4)
  1015. sizer_41.Add(sizer_28_copy_1, 0, wx.EXPAND, 0)
  1016. sizer_22.Add(self.checkbox_split, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1017. sizer_23.Add(self.label_2, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1018. sizer_23.Add(self.text_ctrl_size, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1019. sizer_23.Add(self.label_2_copy, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1020. sizer_22.Add(sizer_23, 1, wx.EXPAND | wx.LEFT, 20)
  1021. sizer_41.Add(sizer_22, 0, wx.EXPAND, 0)
  1022. sizer_44.Add(self.button_start, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1023. sizer_44.Add(self.button_stop, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1024. sizer_41.Add(sizer_44, 0, wx.EXPAND, 0)
  1025. self.panel_1.SetSizer(self.sizer_topic)
  1026. sizer_41.Add(self.panel_1, 1, wx.EXPAND, 0)
  1027. sizer_41.Add(self.button_refresh, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1028. self.SetSizer(sizer_41)
  1029. self.Layout()
  1030. # end wxGlade
  1031. def OnRef(self, event): # wxGlade: MyDialogROSbagRecord.<event_handler>
  1032. print "Event handler 'OnRef' not implemented!"
  1033. event.Skip()
  1034. def OnStart(self, event): # wxGlade: MyDialogROSbagRecord.<event_handler>
  1035. print "Event handler 'OnStart' not implemented!"
  1036. event.Skip()
  1037. def OnStop(self, event): # wxGlade: MyDialogROSbagRecord.<event_handler>
  1038. print "Event handler 'OnStop' not implemented!"
  1039. event.Skip()
  1040. def OnRefresh(self, event): # wxGlade: MyDialogROSbagRecord.<event_handler>
  1041. print "Event handler 'OnRefresh' not implemented!"
  1042. event.Skip()
  1043. # end of class MyDialogROSbagRecord
  1044. class MyDialogLaneStop(wx.Dialog):
  1045. def __init__(self, *args, **kwds):
  1046. # begin wxGlade: MyDialogLaneStop.__init__
  1047. kwds["style"] = wx.DEFAULT_DIALOG_STYLE
  1048. wx.Dialog.__init__(self, *args, **kwds)
  1049. self.button_red_light = wx.Button(self, wx.ID_ANY, _("Red Light"))
  1050. self.button_green_light = wx.Button(self, wx.ID_ANY, _("Green Light"))
  1051. self.sizer_3_staticbox = wx.StaticBox(self, wx.ID_ANY, _("Traffic Light"))
  1052. self.button_left_lane = wx.Button(self, wx.ID_ANY, _("<< Left Lane"))
  1053. self.button_right_lane = wx.Button(self, wx.ID_ANY, _("Right Lane >>"))
  1054. self.sizer_3_copy_staticbox = wx.StaticBox(self, wx.ID_ANY, _("Lane Change"))
  1055. self.button_keep_at = wx.Button(self, wx.ID_ANY, _("Keep at"))
  1056. self.text_keep_at = wx.TextCtrl(self, wx.ID_ANY, _("60"))
  1057. self.label_1 = wx.StaticText(self, wx.ID_ANY, _("km/h"))
  1058. self.button_stop_in = wx.Button(self, wx.ID_ANY, _("Stop in"))
  1059. self.text_ctrl_stop_in = wx.TextCtrl(self, wx.ID_ANY, _("5.0"))
  1060. self.label_1_copy = wx.StaticText(self, wx.ID_ANY, _("m"))
  1061. self.sizer_6_staticbox = wx.StaticBox(self, wx.ID_ANY, _("Currnet Lane"))
  1062. self.checkbox_lane_stop = wx.CheckBox(self, wx.ID_ANY, _("Use traffic light recognition result"))
  1063. self.sizer_47_staticbox = wx.StaticBox(self, wx.ID_ANY, _("topic:/config/lane_stop"))
  1064. self.button_1 = wx.Button(self, wx.ID_ANY, _("OK"))
  1065. self.button_1_copy = wx.Button(self, wx.ID_ANY, _("Cancel"))
  1066. self.__set_properties()
  1067. self.__do_layout()
  1068. self.Bind(wx.EVT_BUTTON, self.OnTrafficRedLight, self.button_red_light)
  1069. self.Bind(wx.EVT_BUTTON, self.OnTrafficGreenLight, self.button_green_light)
  1070. self.Bind(wx.EVT_CHECKBOX, self.OnTrafficLightRecognition, self.checkbox_lane_stop)
  1071. self.Bind(wx.EVT_BUTTON, self.OnOk, self.button_1)
  1072. self.Bind(wx.EVT_BUTTON, self.OnCancel, self.button_1_copy)
  1073. # end wxGlade
  1074. def __set_properties(self):
  1075. # begin wxGlade: MyDialogLaneStop.__set_properties
  1076. self.SetTitle(_("lane_stop"))
  1077. self.button_red_light.SetBackgroundColour(wx.Colour(255, 0, 0))
  1078. self.button_green_light.SetBackgroundColour(wx.Colour(0, 255, 0))
  1079. self.text_keep_at.SetMinSize((40, 27))
  1080. self.text_ctrl_stop_in.SetMinSize((40, 27))
  1081. # end wxGlade
  1082. def __do_layout(self):
  1083. # begin wxGlade: MyDialogLaneStop.__do_layout
  1084. sizer_30 = wx.BoxSizer(wx.VERTICAL)
  1085. sizer_31 = wx.BoxSizer(wx.HORIZONTAL)
  1086. self.sizer_47_staticbox.Lower()
  1087. sizer_47 = wx.StaticBoxSizer(self.sizer_47_staticbox, wx.VERTICAL)
  1088. self.sizer_v = wx.BoxSizer(wx.VERTICAL)
  1089. sizer_2 = wx.BoxSizer(wx.HORIZONTAL)
  1090. self.sizer_6_staticbox.Lower()
  1091. sizer_6 = wx.StaticBoxSizer(self.sizer_6_staticbox, wx.VERTICAL)
  1092. sizer_21_copy = wx.BoxSizer(wx.HORIZONTAL)
  1093. sizer_21 = wx.BoxSizer(wx.HORIZONTAL)
  1094. self.sizer_3_copy_staticbox.Lower()
  1095. sizer_3_copy = wx.StaticBoxSizer(self.sizer_3_copy_staticbox, wx.VERTICAL)
  1096. self.sizer_3_staticbox.Lower()
  1097. sizer_3 = wx.StaticBoxSizer(self.sizer_3_staticbox, wx.VERTICAL)
  1098. sizer_3.Add(self.button_red_light, 0, 0, 4)
  1099. sizer_3.Add(self.button_green_light, 0, 0, 4)
  1100. sizer_2.Add(sizer_3, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1101. sizer_3_copy.Add(self.button_left_lane, 0, 0, 4)
  1102. sizer_3_copy.Add(self.button_right_lane, 0, 0, 4)
  1103. sizer_2.Add(sizer_3_copy, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1104. sizer_21.Add(self.button_keep_at, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1105. sizer_21.Add(self.text_keep_at, 0, wx.ALIGN_CENTER_VERTICAL, 0)
  1106. sizer_21.Add(self.label_1, 0, wx.ALIGN_CENTER_VERTICAL, 0)
  1107. sizer_6.Add(sizer_21, 0, wx.EXPAND, 0)
  1108. sizer_21_copy.Add(self.button_stop_in, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1109. sizer_21_copy.Add(self.text_ctrl_stop_in, 0, wx.ALIGN_CENTER_VERTICAL, 0)
  1110. sizer_21_copy.Add(self.label_1_copy, 0, wx.ALIGN_CENTER_VERTICAL, 0)
  1111. sizer_6.Add(sizer_21_copy, 0, wx.EXPAND, 0)
  1112. sizer_2.Add(sizer_6, 1, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 4)
  1113. self.sizer_v.Add(sizer_2, 1, wx.EXPAND, 0)
  1114. sizer_30.Add(self.sizer_v, 1, wx.EXPAND, 0)
  1115. sizer_47.Add(self.checkbox_lane_stop, 0, 0, 0)
  1116. sizer_30.Add(sizer_47, 0, wx.ALL | wx.EXPAND, 4)
  1117. sizer_31.Add(self.button_1, 0, wx.ALL, 4)
  1118. sizer_31.Add(self.button_1_copy, 0, wx.ALL, 4)
  1119. sizer_30.Add(sizer_31, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
  1120. self.SetSizer(sizer_30)
  1121. sizer_30.Fit(self)
  1122. self.Layout()
  1123. # end wxGlade
  1124. def OnTrafficRedLight(self, event): # wxGlade: MyDialogLaneStop.<event_handler>
  1125. print "Event handler 'OnTrafficRedLight' not implemented!"
  1126. event.Skip()
  1127. def OnTrafficGreenLight(self, event): # wxGlade: MyDialogLaneStop.<event_handler>
  1128. print "Event handler 'OnTrafficGreenLight' not implemented!"
  1129. event.Skip()
  1130. def OnTrafficLightRecognition(self, event): # wxGlade: MyDialogLaneStop.<event_handler>
  1131. print "Event handler 'OnTrafficLightRecognition' not implemented!"
  1132. event.Skip()
  1133. def OnOk(self, event): # wxGlade: MyDialogLaneStop.<event_handler>
  1134. print "Event handler 'OnOk' not implemented!"
  1135. event.Skip()
  1136. def OnCancel(self, event): # wxGlade: MyDialogLaneStop.<event_handler>
  1137. print "Event handler 'OnCancel' not implemented!"
  1138. event.Skip()
  1139. # end of class MyDialogLaneStop
  1140. class MyDialogNDTMapping(wx.Dialog):
  1141. def __init__(self, *args, **kwds):
  1142. # begin wxGlade: MyDialogNDTMapping.__init__
  1143. kwds["style"] = wx.CAPTION
  1144. wx.Dialog.__init__(self, *args, **kwds)
  1145. self.panel_v = wx.ScrolledWindow(self, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  1146. self.static_line_1 = wx.StaticLine(self, wx.ID_ANY)
  1147. self.text_ctrl_path = wx.TextCtrl(self, wx.ID_ANY, "")
  1148. self.button_ref_path = wx.Button(self, wx.ID_ANY, _("Ref"))
  1149. self.radio_btn_filter_resolution = wx.RadioButton(self, wx.ID_ANY, _("Filter Resolution"))
  1150. self.text_ctrl_filter_resolution = wx.TextCtrl(self, wx.ID_ANY, _("0.2"))
  1151. self.radio_btn_original = wx.RadioButton(self, wx.ID_ANY, _("Original"))
  1152. self.button_3 = wx.Button(self, wx.ID_ANY, _("PCD OUTPUT"))
  1153. self.static_line_2 = wx.StaticLine(self, wx.ID_ANY)
  1154. self.button_1 = wx.Button(self, wx.ID_ANY, _("Close"))
  1155. self.__set_properties()
  1156. self.__do_layout()
  1157. self.Bind(wx.EVT_BUTTON, self.OnRef, self.button_ref_path)
  1158. self.Bind(wx.EVT_RADIOBUTTON, self.OnRadio, self.radio_btn_filter_resolution)
  1159. self.Bind(wx.EVT_RADIOBUTTON, self.OnRadio, self.radio_btn_original)
  1160. self.Bind(wx.EVT_BUTTON, self.OnPcdOutput, self.button_3)
  1161. self.Bind(wx.EVT_BUTTON, self.OnOk, self.button_1)
  1162. # end wxGlade
  1163. def __set_properties(self):
  1164. # begin wxGlade: MyDialogNDTMapping.__set_properties
  1165. self.SetTitle(_("ndt_mapping"))
  1166. self.SetSize((352, 341))
  1167. self.panel_v.SetScrollRate(10, 10)
  1168. self.button_ref_path.SetMinSize((40, 29))
  1169. # end wxGlade
  1170. def __do_layout(self):
  1171. # begin wxGlade: MyDialogNDTMapping.__do_layout
  1172. sizer_30 = wx.BoxSizer(wx.VERTICAL)
  1173. sizer_48 = wx.BoxSizer(wx.VERTICAL)
  1174. sizer_49 = wx.BoxSizer(wx.HORIZONTAL)
  1175. sizer_28_copy_1 = wx.BoxSizer(wx.HORIZONTAL)
  1176. sizer_30.Add(self.panel_v, 1, wx.EXPAND, 0)
  1177. sizer_30.Add(self.static_line_1, 0, wx.EXPAND, 0)
  1178. sizer_28_copy_1.Add(self.text_ctrl_path, 1, wx.LEFT | wx.TOP, 4)
  1179. sizer_28_copy_1.Add(self.button_ref_path, 0, wx.LEFT | wx.RIGHT | wx.TOP, 4)
  1180. sizer_48.Add(sizer_28_copy_1, 0, wx.ALL | wx.EXPAND, 4)
  1181. sizer_49.Add(self.radio_btn_filter_resolution, 0, wx.ALL, 4)
  1182. sizer_49.Add(self.text_ctrl_filter_resolution, 0, wx.ALL, 4)
  1183. sizer_49.Add(self.radio_btn_original, 0, wx.ALL, 4)
  1184. sizer_48.Add(sizer_49, 0, wx.ALL | wx.EXPAND, 4)
  1185. sizer_48.Add(self.button_3, 0, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL, 4)
  1186. sizer_30.Add(sizer_48, 0, wx.EXPAND, 0)
  1187. sizer_30.Add(self.static_line_2, 0, wx.EXPAND, 0)
  1188. sizer_30.Add(self.button_1, 0, wx.ALIGN_CENTER_HORIZONTAL | wx.ALL, 4)
  1189. self.SetSizer(sizer_30)
  1190. self.Layout()
  1191. # end wxGlade
  1192. def OnRef(self, event): # wxGlade: MyDialogNDTMapping.<event_handler>
  1193. print "Event handler 'OnRef' not implemented!"
  1194. event.Skip()
  1195. def OnRadio(self, event): # wxGlade: MyDialogNDTMapping.<event_handler>
  1196. print "Event handler 'OnRadio' not implemented!"
  1197. event.Skip()
  1198. def OnPcdOutput(self, event): # wxGlade: MyDialogNDTMapping.<event_handler>
  1199. print "Event handler 'OnPcdOutput' not implemented!"
  1200. event.Skip()
  1201. def OnOk(self, event): # wxGlade: MyDialogNDTMapping.<event_handler>
  1202. print "Event handler 'OnOk' not implemented!"
  1203. event.Skip()
  1204. # end of class MyDialogNDTMapping
  1205. class MyDialogDPM(wx.Dialog):
  1206. def __init__(self, *args, **kwds):
  1207. # begin wxGlade: MyDialogDPM.__init__
  1208. kwds["style"] = wx.DEFAULT_DIALOG_STYLE
  1209. wx.Dialog.__init__(self, *args, **kwds)
  1210. self.panel_v = wx.ScrolledWindow(self, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
  1211. self.button_1 = wx.Button(self, wx.ID_ANY, _("Detection Start"))
  1212. self.hyperlink_car = wx.HyperlinkCtrl(self, wx.ID_ANY, _("car_param_tuning"), "")
  1213. self.hyperlink_pedestrian = wx.HyperlinkCtrl(self, wx.ID_ANY, _("pedestrian_param_tuning"), "")
  1214. self.__set_properties()
  1215. self.__do_layout()
  1216. self.Bind(wx.EVT_BUTTON, self.OnOk, self.button_1)
  1217. self.Bind(wx.EVT_HYPERLINK, self.OnLink, self.hyperlink_car)
  1218. self.Bind(wx.EVT_HYPERLINK, self.OnLink, self.hyperlink_pedestrian)
  1219. # end wxGlade
  1220. def __set_properties(self):
  1221. # begin wxGlade: MyDialogDPM.__set_properties
  1222. self.SetTitle(_("dialog_6"))
  1223. self.SetSize((470, 350))
  1224. self.panel_v.SetScrollRate(10, 10)
  1225. # end wxGlade
  1226. def __do_layout(self):
  1227. # begin wxGlade: MyDialogDPM.__do_layout
  1228. sizer_30 = wx.BoxSizer(wx.VERTICAL)
  1229. sizer_31 = wx.BoxSizer(wx.HORIZONTAL)
  1230. sizer_28 = wx.BoxSizer(wx.VERTICAL)
  1231. self.sizer_v = wx.BoxSizer(wx.VERTICAL)
  1232. self.panel_v.SetSizer(self.sizer_v)
  1233. sizer_30.Add(self.panel_v, 1, wx.EXPAND, 0)
  1234. sizer_31.Add(self.button_1, 1, wx.ALL | wx.EXPAND, 4)
  1235. sizer_28.Add(self.hyperlink_car, 0, wx.ALL, 4)
  1236. sizer_28.Add(self.hyperlink_pedestrian, 0, wx.ALL, 4)
  1237. sizer_31.Add(sizer_28, 1, wx.EXPAND, 0)
  1238. sizer_30.Add(sizer_31, 0, wx.EXPAND, 0)
  1239. self.SetSizer(sizer_30)
  1240. self.Layout()
  1241. # end wxGlade
  1242. def OnOk(self, event): # wxGlade: MyDialogDPM.<event_handler>
  1243. print "Event handler 'OnOk' not implemented!"
  1244. event.Skip()
  1245. def OnLink(self, event): # wxGlade: MyDialogDPM.<event_handler>
  1246. print "Event handler 'OnLink' not implemented!"
  1247. event.Skip()
  1248. # end of class MyDialogDPM
  1249. class MyDialogCarPedestrian(wx.Dialog):
  1250. def __init__(self, *args, **kwds):
  1251. # begin wxGlade: MyDialogCarPedestrian.__init__
  1252. kwds["style"] = wx.DEFAULT_DIALOG_STYLE
  1253. wx.Dialog.__init__(self, *args, **kwds)
  1254. self.hyperlink_car = wx.HyperlinkCtrl(self, wx.ID_ANY, _("parameter tuning for car"), "")
  1255. self.hyperlink_pedestrian = wx.HyperlinkCtrl(self, wx.ID_ANY, _("parameter tuning for pedestrian"), "")
  1256. self.__set_properties()
  1257. self.__do_layout()
  1258. self.Bind(wx.EVT_HYPERLINK, self.OnLink, self.hyperlink_car)
  1259. self.Bind(wx.EVT_HYPERLINK, self.OnLink, self.hyperlink_pedestrian)
  1260. # end wxGlade
  1261. def __set_properties(self):
  1262. # begin wxGlade: MyDialogCarPedestrian.__set_properties
  1263. self.SetTitle(_("dialog_7"))
  1264. # end wxGlade
  1265. def __do_layout(self):
  1266. # begin wxGlade: MyDialogCarPedestrian.__do_layout
  1267. sizer_28 = wx.BoxSizer(wx.VERTICAL)
  1268. sizer_28.Add(self.hyperlink_car, 0, wx.ALL, 4)
  1269. sizer_28.Add(self.hyperlink_pedestrian, 0, wx.ALL, 4)
  1270. self.SetSizer(sizer_28)
  1271. sizer_28.Fit(self)
  1272. self.Layout()
  1273. # end wxGlade
  1274. def OnLink(self, event): # wxGlade: MyDialogCarPedestrian.<event_handler>
  1275. print "Event handler 'OnLink' not implemented!"
  1276. event.Skip()
  1277. # end of class MyDialogCarPedestrian